Ivica Bukvic wrote: > I've got a small problem with my Midisport 2x2 MIDI interface. While it worked > ok before, now for some odd reason I cannot get it to open for MIDI output > (from the computer). I've checked the /var/log/messages and this is what I > got: > [...] > It says that the device was opened with 4 input and 0 output ports. Why is > this the case? It's a bug in ALSA 0.9.0rc7. 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