Brilliant, this worked perfectly.
Thanks a lot.
On Wed, 19 Feb 2003 08:40:28 +0100 (MET) Clemens Ladisch <[EMAIL PROTECTED]> wrote:
carlos ramirez wrote:
> Recompiling from the rc7 sources didn't fix it --
> perhaps the cvs sources then?
Yes, it has been fixed after rc7. You could get the current CVS version,
or apply the following patch:
Index: usbmidi.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/usb/usbmidi.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- usbmidi.c 13 Jan 2003 09:50:26 -0000 1.18
+++ usbmidi.c 3 Feb 2003 09:58:14 -0000 1.19
@@ -821,7 +821,7 @@
ms_ep->bDescriptorType != USB_DT_CS_ENDPOINT ||
ms_ep->bDescriptorSubtype != MS_GENERAL)
continue;
- if ((ep->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK) == USB_DIR_OUT) {
+ if ((ep->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT) {
if (endpoints[epidx].out_ep) {
if (++epidx >= MIDI_MAX_ENDPOINTS) {
printk(KERN_WARNING "snd-usb-midi: too many
endpoints\n");
HTH
Clemens
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user