Takashi Iwai wrote: > Clemens Ladisch wrote: > > It seems the USB subsystem only loads the first id_table entry it finds > > for each interface. As a quick fix, remove the Quattro entry from > > usbquirks.h, but I'm going to write a patch to use both pcm and MIDI. > > ok, i'll remove it.
The Quattro id_table entry matches both PCM and MIDI interfaces because I removed the interface class from most entries nine days ago. I did this because my Roland SC-8820 didn't hotplug because the kernel didn't pass the interface class to the hotplug scripts because the device class isn't zero. However, devices with different interfaces do have device class zero (well, I hope they do :), so using the interface class for matching shouldn't prevent hotplugging for these devices. This patch adds interface class matching for some devices with both PCM and MIDI interfaces. Regards, Clemens Index: usbquirks.h =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/usb/usbquirks.h,v retrieving revision 1.4 diff -u -r1.4 usbquirks.h --- usbquirks.h 22 Oct 2002 16:17:55 -0000 1.4 +++ usbquirks.h 23 Oct 2002 07:11:51 -0000 @@ -72,7 +72,7 @@ } }, { - USB_DEVICE(0x0499, 0x1004), + USB_DEVICE_VENDOR_SPEC(0x0499, 0x1004), .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) { .vendor_name = "Yamaha", .product_name = "UW500", @@ -126,7 +126,7 @@ } }, { - USB_DEVICE(0x0499, 0x100a), + USB_DEVICE_VENDOR_SPEC(0x0499, 0x100a), .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) { .vendor_name = "Yamaha", .product_name = "EOS BX", @@ -464,9 +464,8 @@ .data = (void*) 9 } }, -#if 0 // FIXME { - USB_DEVICE(0x0763, 0x2001), + USB_DEVICE_VENDOR_SPEC(0x0763, 0x2001), .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) { .vendor_name = "M-Audio", .product_name = "Quattro", @@ -475,9 +474,8 @@ .data = (void*) 1 } }, -#endif // FIXME { - USB_DEVICE(0x0763, 0x2003), + USB_DEVICE_VENDOR_SPEC(0x0763, 0x2003), .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) { .vendor_name = "M-Audio", .product_name = "AudioPhile", ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel