On 02.10.2012 09:27, Clemens Ladisch wrote: > Florian Hanisch wrote: >>>> usbaudio: unit 2: invalid UAC_FEATURE_UNIT descriptor >> >> AudioControl Interface Descriptor: >> bLength 10 >> bDescriptorType 36 >> bDescriptorSubtype 6 (FEATURE_UNIT) >> bUnitID 2 >> bSourceID 3 >> bmaControls( 0) 0x0000000c >> Volume Control (read/write) >> iFeature 0 > > This descriptor is perfectly OK; the driver has a bug. > The following code in parse_audio_feature_unit() in sound/usb/mixer.c > is valid only for v1 devices; please try to just remove it: > > if (hdr->bLength < 7 || !csize || hdr->bLength < 7 + csize) { > snd_printk(KERN_ERR "usbaudio: unit %u: invalid UAC_FEATURE_UNIT descriptor\n", unitid); > return -EINVAL; > } Yes, interesting this never got triggered before. The 7 should be a 6 in v2 case ... ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user