On Mon, Jul 11, 2011 at 3:22 AM, Daniel Mack <zonque@xxxxxxxxx> wrote: > Ok, that is also what your lsusb dump shows - the FORMAT_TYPE > descriptor has a length of 10, even though a FORMAT_TYPE_I descriptor > must be 6 bytes longs, according to the UAC specification. I can't see > a reason why it is 10 bytes longs, and the 4 pending bytes don't make > sense to me. > > So we could just simply ignore this fact. Can you try what happens > when you change the check in endpoint.c (around line 355, where the > patch also changed things) so that it reads "fmt->bLength < 6" instead > of "fmt->bLength != 6"? Done. Still no luck, unfortunately. I rebuilt with debugging turned on and got: [ 255.460041] ALSA sound/usb/endpoint.c:434: 3:1:1: add audio endpoint 0x1 [ 255.917117] ALSA sound/usb/endpoint.c:434: 3:2:1: add audio endpoint 0x82 [ 256.374064] ALSA sound/usb/endpoint.c:434: 3:2:2: add audio endpoint 0x82 [ 256.830798] ALSA sound/usb/mixer.c:1907: Ignoring UAC2_EXTENSION_UNIT [ 256.830829] snd-usb-audio: probe of 1-8:1.0 failed with error -5 [ 256.831024] ALSA sound/usb/card.c:152: 3:3:1: skipping, already claimed [ 256.831136] ALSA sound/usb/midi.c:1687: MIDIStreaming version 01.00 [ 256.831138] ALSA sound/usb/midi.c:1722: EP 02: 1 jack(s) [ 256.831141] ALSA sound/usb/midi.c:1737: EP 83: 1 jack(s) [ 256.831151] ALSA sound/usb/midi.c:1657: created 1 output and 1 input ports I got as far as sound/usb/card.c:514 calling snd_usb_create_mixer(). It looks like it is hitting the default clause in check_input_term() and returning -ENODEV. Another missing case UAC2_EXTENSION_UNIT_V2? > Also, did you try this device under Mac OS X? Does it work there > without installing a thrid-party driver? I just tried it. I hear headphone audio and microphone input, but I cannot change either of the levels in System Preferences. dmesg yields: WARNING: AppleUSBAudio has detected that a connected USB audio device is sending too much audio data. WARNING: This USB audio device may not function properly. Please notify the device manufacturer. >> On tearing down of VirtualBox: >> >> [ 631.550024] usb 1-8: reset high speed USB device number 10 using ehci_hcd >> [ 631.701902] 10:1:1 : invalid UAC_FORMAT_TYPE desc (protocol 32, bLength 10) >> [ 631.702099] 10:1:1 : invalid UAC_FORMAT_TYPE desc (protocol 32, bLength 10) >> [ 631.702181] 10:2:1 : bogus bTerminalLink 22 >> [ 631.702184] 10:2:2 : bogus bTerminalLink 22 > > Do you also see these messages on your native Linux or under VirtualBox only? The messages were seen in native Linux (host OS) after the vm shuts down. I don't think it's useful info in particular, but I don't know enough about USB audio to know that for sure. nicolai ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user