You are not logged in.

#1 2020-04-20 15:41:37

ETNyx
Member
From: Czech republic
Registered: 2010-06-08
Posts: 29

USB sound device block USB keyboard

Hello,

i have got USB sound card (Asus Xonar), but when is used, it starts blocking keyboard, after adding USB device dmesg recognise it as:

[   46.175715] usb 1-1.3: new full-speed USB device number 5 using xhci_hcd
[   46.272520] usb 1-1.3: New USB device found, idVendor=0b05, idProduct=17a0, bcdDevice= 1.00
[   46.272524] usb 1-1.3: New USB device strings: Mfr=3, Product=1, SerialNumber=0
[   46.272527] usb 1-1.3: Product: USB Advanced Audio Device
[   46.272528] usb 1-1.3: Manufacturer: C-Media Electronics Inc.
[   46.279256] input: C-Media Electronics Inc. USB Advanced Audio Device as /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-1/1-1.3/1-1.3:1.3/0003:0B05:17A0.0007/input/input22
[   46.334776] hid-generic 0003:0B05:17A0.0007: input,hidraw6: USB HID v1.00 Device [C-Media Electronics Inc. USB Advanced Audio Device] on usb-0000:02:00.0-1.3/input3
[   46.379088] mc: Linux media interface: v0.10
[   46.502249] usbcore: registered new interface driver snd-usb-audio

I can't finde many topics about this problem, but some old suggest to change xorg.conf so I did like this

Section "InputClass"
        Identifier "USB SOUND CARD"
        MatchUSBID "0b05:17a0"
        Option "Ignore" "on"
EndSection

After restart gnome in Xorg mode it looks had some effect

Apr 20 17:09:23 etnyx-work kernel: usb 1-1.3: new full-speed USB device number 5 using xhci_hcd
Apr 20 17:09:23 etnyx-work kernel: usb 1-1.3: New USB device found, idVendor=0b05, idProduct=17a0, bcdDevice= 1.00
Apr 20 17:09:23 etnyx-work kernel: usb 1-1.3: New USB device strings: Mfr=3, Product=1, SerialNumber=0
Apr 20 17:09:23 etnyx-work kernel: usb 1-1.3: Product: USB Advanced Audio Device
Apr 20 17:09:23 etnyx-work kernel: usb 1-1.3: Manufacturer: C-Media Electronics Inc.
Apr 20 17:09:23 etnyx-work kernel: input: C-Media Electronics Inc. USB Advanced Audio Device as /devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-1/1-1.3/1-1.3:1.3/0003:0B05:17A0.0007/input/input22
Apr 20 17:09:23 etnyx-work kernel: hid-generic 0003:0B05:17A0.0007: input,hidraw6: USB HID v1.00 Device [C-Media Electronics Inc. USB Advanced Audio Device] on usb-0000:02:00.0-1.3/input3
Apr 20 17:09:23 etnyx-work mtp-probe[1460]: checking bus 1, device 5: "/sys/devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-1/1-1.3"
Apr 20 17:09:23 etnyx-work mtp-probe[1460]: bus: 1, device: 5 was not an MTP device
Apr 20 17:09:23 etnyx-work kernel: mc: Linux media interface: v0.10
Apr 20 17:09:23 etnyx-work /usr/lib/gdm-x-session[874]: (II) config/udev: Adding input device C-Media Electronics Inc. USB Advanced Audio Device (/dev/input/event21)
Apr 20 17:09:23 etnyx-work /usr/lib/gdm-x-session[874]: (**) C-Media Electronics Inc. USB Advanced Audio Device: Ignoring device from InputClass "USB SOUND CARD"
Apr 20 17:09:23 etnyx-work kernel: usbcore: registered new interface driver snd-usb-audio
Apr 20 17:09:23 etnyx-work mtp-probe[1473]: checking bus 1, device 5: "/sys/devices/pci0000:00/0000:00:04.0/0000:02:00.0/usb1/1-1/1-1.3"
Apr 20 17:09:23 etnyx-work mtp-probe[1473]: bus: 1, device: 5 was not an MTP device
Apr 20 17:09:23 etnyx-work systemd[858]: Reached target Sound Card.
Apr 20 17:09:23 etnyx-work systemd-udevd[1464]: controlC2: Process '/usr/bin/alsactl restore 2' failed with exit code 99.
Apr 20 17:09:24 etnyx-work rtkit-daemon[620]: Supervising 3 threads of 1 processes of 1 users.
Apr 20 17:09:24 etnyx-work rtkit-daemon[620]: Successfully made thread 1475 of process 931 owned by '1000' RT at priority 5.
Apr 20 17:09:24 etnyx-work rtkit-daemon[620]: Supervising 4 threads of 1 processes of 1 users.
Apr 20 17:09:24 etnyx-work rtkit-daemon[620]: Supervising 4 threads of 1 processes of 1 users.
Apr 20 17:09:24 etnyx-work rtkit-daemon[620]: Successfully made thread 1476 of process 931 owned by '1000' RT at priority 5.
Apr 20 17:09:24 etnyx-work rtkit-daemon[620]: Supervising 5 threads of 1 processes of 1 users.
Apr 20 17:09:24 etnyx-work gsd-media-keys[1109]: Unable to get default source

But it does not work, just like in wayland USB sound card steal/block keyboard after system play some sound (eg bell in terminal) and few seconds after keyboard works again.

This problem is not isolated on this device alone, also got USB headphones Platronics HD1 500, they also block keyboard at least hedaphones have some keys, sound card does not :-D)

Not sure how to continune from this point any suggestion?

Offline

Board footer

Powered by FluxBB