Guido Piazzi wrote:
  Il giorno lun, 23/08/2010 alle 11.23 +0200, Clemens
Ladisch ha scritto:
  Guido Piazzi wrote:
  I've just bought an A-800Pro. It doesn't
seem to work with Linux out of
 the box, but it works fine with USB advanced mode disabled. 
 Please show the output of "lsusb -v" for this device in advanced 
   iManufacturer           1 Roland
   iProduct                2 A-PRO 
Okay, this should work for all the "Pro" keyboards.  I'd guess the 500S
does not have as many MIDI ports ...
Try adding the following entry to sound/usb/quirks-table.h or usbquirks.h:
{
        /* has ID 0x0110 when not in Advanced Driver mode */
        USB_DEVICE_VENDOR_SPEC(0x0582, 0x010f),
        .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
                /* .vendor_name = "Roland", */
                /* .product_name = "A-PRO", */
                .ifnum = 1,
                .type = QUIRK_MIDI_FIXED_ENDPOINT,
                .data = & (const struct snd_usb_midi_endpoint_info) {
                        .out_cables = 0x0003,
                        .in_cables  = 0x0007
                }
        }
},
Regards,
Clemens