
2011/5/16 Daniel Mack zonque@gmail.com
2011/5/15 Daniel Mack zonque@gmail.com:
2011/5/14 Frédéric Jaume frederic.jaume@gmail.com:
Hi!
Here's the "lsusb -v" for the Korg Pandora PX5D, attached. Hope this
helps.
The MIDI part of the descriptors is clearly marked as vendor specific, so there is nothing the driver can do about this, except for adding a quirk.
Assuming the MIDI interface is class compliant, the following patch should help. Can you give it a try?
For the Pandora PX5D, we also have to use the USB_DEVICE_VENDOR_SPEC macro, so the class compliant audio interfaces are not ignored by adding the quirk.
Daniel
A winner.
[ 115.420064] usb 4-1: new high speed USB device using ehci_hcd and address 3 [ 115.553783] usb 4-1: config 1 interface 3 altsetting 0 bulk endpoint 0x7 has invalid maxpacket 8 [ 115.553789] usb 4-1: config 1 interface 3 altsetting 0 bulk endpoint 0x87 has invalid maxpacket 8 [ 115.554896] usb 4-1: New USB device found, idVendor=0763, idProduct=2080 [ 115.554898] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 115.554901] usb 4-1: Product: Fast Track Ultra [ 115.554903] usb 4-1: Manufacturer: M-Audio nevyn@cetacea:~/linux$ amidi -l Dir Device Name IO hw:1,0,0 Fast Track Ultra MIDI 1
Huzzah! Please commit. your 8 character diff ;) oh. and you probably should change the 8R at the same time given it's essentially the same hardware with different analog bits. (8 pre's instead of 4)
diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index 196c753..6d7b357 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h @@ -1926,7 +1926,7 @@ YAMAHA_DEVICE(0x7010, "UB99"), } }, { - USB_DEVICE(0x0763, 0x2080), + USB_DEVICE_VENDOR_SPEC(0x0763, 0x2080), .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { /* .vendor_name = "M-Audio", */ /* .product_name = "Fast Track Ultra", */ @@ -1993,7 +1993,7 @@ YAMAHA_DEVICE(0x7010, "UB99"), } }, { - USB_DEVICE(0x0763, 0x2081), + USB_DEVICE_VENDOR_SPEC(0x0763, 0x2081), .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { /* .vendor_name = "M-Audio", */ /* .product_name = "Fast Track Ultra 8R", */
Grant