David Kastrup <dak(a)gnu.org> writes:
Another data point: I can use the PC Bamster by first
removing the
snd_usb_audio module, then switching on the PC Bamster (which then stays
on), then reloading the usb_snd_audio module.
So the essential thing seems to be that the snd_usb_audio module must
not be loaded when switching the PC Bamster on, or it will get turned
off again. Loading it afterwards is fine (and of course required to
actually work with the device).
Here is the corresponding dmesg output:
[10909.673158] usb 5-2: new full-speed USB device number 2 using uhci_hcd
[10909.821193] usb 5-2: config 1 has an invalid interface number: 3 but max is 2
[10909.821199] usb 5-2: config 1 has no interface number 2
[10909.830151] usb 5-2: New USB device found, idVendor=10d6, idProduct=1100
[10909.830156] usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[10909.830160] usb 5-2: Product: USB Audio
[10909.830164] usb 5-2: Manufacturer: ACTIONS
[10909.897725] hidraw: raw HID events driver (C) Jiri Kosina
[10911.102180] usb 5-2: 1:1: cannot get freq at ep 0x2
[10911.114146] usb 5-2: 3:0: cannot get min/max values for control 2 (id 3)
[10911.114498] usbcore: registered new interface driver snd-usb-audio
[10911.122121] usbhid 5-2:1.3: can't add hid device: -71
[10911.122138] usbhid: probe of 5-2:1.3 failed with error -71
[10911.124369] usbcore: registered new interface driver usbhid
[10911.124370] usbhid: USB HID core driver
[10911.162160] usb 5-2: 3:0: cannot get min/max values for control 2 (id 3)
[10911.172138] usb 5-2: 3:0: cannot get min/max values for control 2 (id 3)
[10911.192141] usb 5-2: 3:0: cannot get min/max values for control 2 (id 3)
[10911.202138] usb 5-2: 3:0: cannot get min/max values for control 2 (id 3)
[10911.207085] usb 5-2: USB disconnect, device number 2
And bam, the thing switched itself off again.
So:
sudo modprobe -r snd-usb-audio
[10924.329105] usbcore: deregistering interface driver snd-usb-audio
Now switching the thing on again:
[10927.969127] usb 5-2: new full-speed USB device number 3 using uhci_hcd
[10928.114284] usb 5-2: config 1 has an invalid interface number: 3 but max is 2
[10928.114290] usb 5-2: config 1 has no interface number 2
[10928.123286] usb 5-2: New USB device found, idVendor=10d6, idProduct=1100
[10928.123293] usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[10928.123299] usb 5-2: Product: USB Audio
[10928.123304] usb 5-2: Manufacturer: ACTIONS
[10928.195484] input: ACTIONS USB Audio as
/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.3/0003:10D6:1100.0001/input/input12
[10928.248278] hid-generic 0003:10D6:1100.0001: input,hidraw0: USB HID v2.01 Device
[ACTIONS USB Audio] on usb-0000:00:1d.0-2/input3
[10933.216316] usb 5-2: 1:1: cannot get freq at ep 0x2
It's still on without problem. So
sudo modprobe snd-usb-audio
[10938.345556] usbcore: registered new interface driver snd-usb-audio
and it's still on.
And
cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfe020000 irq 31
1 [Audio ]: USB-Audio - USB Audio
ACTIONS USB Audio at usb-0000:00:1d.0-2, full speed
And I can actually use it (it's hw:Audio ).
So what can I do to get this fixed upstream in a manner where I don't
need to temporarily remove the usb-snd-audio device for plugging the PC
Bamster in?
--
David Kastrup