Here are the finding that make me think that the culprit isn’t the Hegel H90, but the Logitech’s mouse and keyboard combo, when used together with the USB DAC:
volumio: 2.882
hardware: PI 4 B (8GB)
DAC: Hegel H90 over USB
Keyboard and mouse: Logitech K400+
Screen: 4k television (using Touch Display plugin)
Here is what I found during long night of debugging:
volumio sees my Logitech K400+ keyboard and mouse as a audio device. Here is how I came to that conclusion.
First the lsusb -t
output
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 3, If 3, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 2: Dev 3, If 1, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 2: Dev 3, If 2, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 4: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 4: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 4: Dev 4, If 2, Class=Human Interface Device, Driver=usbhid, 12M
Then the aplay -l
output:
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 3/3
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
card 5: Audio [DigiHug USB Audio], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 5: Audio [DigiHug USB Audio], device 1: USB Audio [USB Audio #1]
Subdevices: 1/1
Subdevice #0: subdevice #0
Notice the double DigiHug lines for card 5. In reality I have only one USB Audio interface connected.
NOTE: When I remove my keyboard’s wireless receiver USB dongle, the [USB Audio #1]
disappears and everything works as expected (as the keyboard is not seen as an audio device any longer).
Tried persistent mapping as per here to work around this problem, but unfortunately no luck.
There is one more thing that caught my eye. When both my USB dac and the keyboards USB receiver are connected, the following comes up on dmesg
:
[ 10.904157] usb 1-1.4: Not enough bandwidth for new device state.
[ 10.904238] usb 1-1.4: Not enough bandwidth for altsetting 2
Now here comes the question: Are the keybord’s USB dongle and my USB DAC causing enough traffic to cause the problem, or is the root of the problem, that my keyboard is being registered as an audio device?
Thanks for the help!