El Mié 14 Ago 2002 14:57, Michael Martin escribió:
> Does anyone know what the situation is with ALSA and usb midi in?

I'm using successfully two USB-MIDI devices: a Roland/Edirol UM-2 and a 
Midiman Midisport 2x2 with ALSA. I have seen some reports about many other 
USB MIDI devices working, including Evolution's keyboards.

> I'm having trouble setting this up. I compiled and installed successfully
> (I think) the midid (usb midi daemon from http://
> www.informatik.uni-halle.de/~ladischc/usbmidid.html), plugged a USB MIDI
> Compatible input device, followed instructions and the system log reported
> that I could not find the correct driver.

The daemon loading system is based in linux-hotplug. I had seen that if a 
device has an AudioControl interface and a MIDIStreaming one, certain hotplug 
versions only report the AudioControl interface to the loader. You can try a 
dirty workaround for  this, changing the first line of 
/etc/hotplug/usb.usermap from:
snd-usbmidi  0x0180 0 0 0 0 0 0 0 0x01 0x03 0 0
to:
snd-usbmidi  0x0180 0 0 0 0 0 0 0 0x01 0x01 0 0

Note that if you have also some USB digital audio devices in your system, this 
will try to load (erroneusly) the ALSA USB-MIDI daemon for these devices, as 
the AudioControl interface is a common interface subclass for both device 
types.

Another reversed problem with hotplug may be that some kernel USB-audio  
modules can claim (erroneusly again) the MIDI divices. In this case, you can 
include the offending driver name in /etc/hotplug/blacklist and load the ALSA 
kernel drivers with kmod and /etc/modules.conf 

> According to the URL above, usb midi has been integrated into the ALSA
> kernel, should I therefore download the latest ALSA, compile and install?
> If so, which version?

The USB-MIDI daemon (user space driver) is deprecated now, and doesn't provide 
a rawmidi interface, only the sequencer client. You can try the kernel driver 
version instead. It is in the current CVS. See:
http://www.alsa-project.org/download.php3

After you (hopefully) success with this stuff, a report about your working 
devices will be appreciated (CC: alsa-devel list), in order to include them 
in the alsa-matrix: http://www.alsa-project.org/alsa-doc/

Regards,
Pedro



-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to