Josh Green wrote:
> On Tue, 2003-01-07 at 07:08, Clemens Ladisch wrote:
> > Josh Green wrote:
> > > I'm having some troubles getting my Edirol PCR-50 keyboard working
> >
> > Please post the contents of /proc/bus/usb/devices.
>
> I:  If#= 0 Alt= 1 #EPs= 2 Cls=ff(vend.) Sub=03 Prot=00 Driver=(none)
> E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=82(I) Atr=03(Int.) MxPS=  64 Ivl=1ms

This device uses different endpoint numbers for input and output, but my
code for handling Roland devices doesn't expect this (although most other
devices do this, too).

Please try the following patch:

--- alsa-kernel/usb/usbmidi.c   19 Dec 2002 12:15:23 -0000      1.16
+++ alsa-kernel/usb/usbmidi.c   9 Jan 2003 08:12:36 -0000
@@ -857,6 +857,12 @@
                epd = get_endpoint(hostif, 0);
                endpoint->epnum = epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK;
        }
+       if (umidi->chip->dev->descriptor.idVendor == 0x0582 &&
+           umidi->chip->dev->descriptor.idProduct == 0x0033) {
+               endpoint[1].epnum = 2;
+               endpoint[1].in_cables = endpoint[0].in_cables;
+               endpoint[0].in_cables = 0;
+       }
        return 0;
 }


But this is only a quick & dirty hack; I'll have to rewrite the detection
code.

And please post the output of "lsusb -v". The "Sub=03" may indicate that
there are some class-specific descriptors which would remove the need for
a specific quirk.


HTH
Clemens



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to