Fernando Pablo Lopez-Lezcano wrote: > The MIDI interface I'm using is a Midisport 2x2 (same results with a 1x1). > > It works fine with alsa cvs of 2002-08-20, has problems with alsa cvs of > 2002-10-28.
The driver has been changed to use rawmidi ports. > ALSA: > cat /proc/asound/devices shows only one raw midi interface. This is on > a two port device (but Muse lets me select either port). On the older > alsa two devices show up on the listing. For multiport interfaces, the additional ports are available as subdevices of the rawmidi device, i.e. hw:1,0,0 and hw:1,0,1. (This is the same behaviour as with other multiport interfaces, i.e. snd-mtpav and snd-serial-u16550.) > input does not seem to work at all. I'm using the Muse MIDI sequencer, > with the older alsa version it works fine (input), with the newer alsa > version it does not record midi input at all. Output works fine on both > alsa versions. It worked when I tested it with midiloop and seq. Try using a sequencer port instead of a rawmidi port. > The input byte counters in /proc/asound/card1/midi0 do not increment. These counters increment only when somebody is reading from the port. Try looking at them while executing "cat /dev/snd/midiCxD0". > OSS emulation (raw midi interface): > OSS programs using the raw midi interface emulation (I'm using pd) can't > see both midi ports in the oss emulation world. They only see the first > port. The OSS emulation doesn't support specifying a subdevice number. If a rawmidi device is opened without a subdevice number, ALSA opens the first available subdevice, so it would be possible to access both ports by opening /dev/midix twice. (It should be possible to map both /dev/midix and /dev/amidix to the same device with the midi_map and amidi_map options of the snd-rawmidi module.) HTH Clemens ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel