Skip to contentSkip to conversation

USB MIDI support for ALSA

ANNOUNCE Clemens Ladisch 4 participants 5 messages May 13, 2002 – May 14, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

I've written a daemon which connects the ALSA sequencer with the usbdevfs device file of a USB MIDI device. You can get it at
<http://www.informatik.uni-halle.de/~ladischc/usbmidid.html>.

It requires a kernel with USB and usbdevfs support (obviously), and with hotplugging support and hotplugging scripts installed correctly.

It should work with most USB MIDI devices, but currently it has been tested with Roland SC-8820 only. I don't have the slightest idea whether the code for parsing the device descriptors of fully compliant devices works at all. :-) So, please tell me if it works for you.

Clemens

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]

#1 lore raw

At Mon, 13 May 2002 21:21:56 +0200,

Quoted 9 lines · Clemens Ladisch

Hi,

I've written a daemon which connects the ALSA sequencer with the usbdevfs device file of a USB MIDI device. You can get it at
<http://www.informatik.uni-halle.de/~ladischc/usbmidid.html>.

It requires a kernel with USB and usbdevfs support (obviously), and with hotplugging support and hotplugging scripts installed correctly.

great!

it's a very clean solution. definitely the right way for usb midi, rather than writing a driver module for each.

Takashi

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]

#2 lore raw

hi,

Quoted 5 lines · Takashi Iwai hat gesagt: // Takashi Iwai wrote:
Quoted 3 lines

I've written a daemon which connects the ALSA sequencer with the usbdevfs device file of a USB MIDI device. You can get it at
<http://www.informatik.uni-halle.de/~ladischc/usbmidid.html>.

it's a very clean solution. definitely the right way for usb midi, rather than writing a driver module for each.

Would a daemon to connect alsa to usb devices be the way for USB-audio as well?

ciao,

Signature · 7 lines
 Frank Barknecht                                  _ _______footils__


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [email protected]
#3 lore raw
In reply to Takashi Iwai
Quoted 11 lines
Quoted 6 lines

I've written a daemon which connects the ALSA sequencer with the usbdevfs device file of a USB MIDI device. You can get it at
<http://www.informatik.uni-halle.de/~ladischc/usbmidid.html>.

It requires a kernel with USB and usbdevfs support (obviously), and with hotplugging support and hotplugging scripts installed correctly.

great!

it's a very clean solution. definitely the right way for usb midi, rather than writing a driver module for each.

it is? isn't the right way to redirect into USB-aware code within alsa-lib? going through a daemon seems totally wrong to me ...

--p

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]

#4 lore raw

At Tue, 14 May 2002 09:08:29 -0400,

Quoted 8 lines · Paul Davis
Quoted 8 lines
Quoted 7 lines

I've written a daemon which connects the ALSA sequencer with the usbdevfs device file of a USB MIDI device. You can get it at
<http://www.informatik.uni-halle.de/~ladischc/usbmidid.html>.

It requires a kernel with USB and usbdevfs support (obviously), and with hotplugging support and hotplugging scripts installed correctly.

Quoted 7 lines
Quoted 4 lines

great!

it's a very clean solution. definitely the right way for usb midi, rather than writing a driver module for each.

it is? isn't the right way to redirect into USB-aware code within alsa-lib? going through a daemon seems totally wrong to me ...

i agree that the library-plugin would be fine and effective, but it's only if a single application shares the device. then the device end-point is directly bound to the application.

however, when two applications access to the device (or when arbitrary connection is allowed), then the situation would be complicated. there must be an end-point mixer before the device output. i think the daemon is the easiest way to be implemented on behalf of kernel driver.

Takashi

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]