On Sat, Jul 9, 2011 at 6:49 PM, Nicolai Krakowiak <nicolai.krakowiak@xxxxxxxxx> wrote: > On Sat, Jul 9, 2011 at 2:25 AM, Daniel Mack <zonque@xxxxxxxxx> wrote: >> Can you apply the attached patch and send us a the kernel log messages again? > > After power cycling the device after boot: > > [ 191.372814] 10:1:1 : invalid UAC_FORMAT_TYPE desc (protocol 32, bLength 10) > [ 191.372935] 10:2:1 : invalid UAC_FORMAT_TYPE desc (protocol 32, bLength 10) > [ 191.372940] 10:2:2 : invalid UAC_FORMAT_TYPE desc (protocol 32, bLength 10) > [ 191.373059] Ignoring UAC2_EXTENSION_UNIT > [ 191.373071] snd-usb-audio: probe of 1-8:1.0 failed with error -5 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"? Also, did you try this device under Mac OS X? Does it work there without installing a thrid-party driver? > For fun, I tried VirtualBox, and got these additional messages: > > [ 391.981360] usb 1-8: reset high speed USB device number 10 using ehci_hcd > [ 395.091124] usb 1-8: usbfs: usb_submit_urb returned -27 > [ 395.091130] usb 1-8: usbfs: usb_submit_urb returned -27 > (last line repeated dozens of times). That error might result in broken or unsupported ISOC transfer handling in VirtualBox. I would recommend not using this environment for testing. > 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? Daniel ------------------------------------------------------------------------------ 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