[alsa-devel] How to add a new MIDI device to the usbaudio driver

Daniel Mack zonque at gmail.com
Tue Aug 23 10:43:52 CEST 2011


On Tue, Aug 23, 2011 at 9:35 AM, Kristian Amlie <kristian at amlie.name> wrote:
> On 08/22/11 13:49, Daniel Mack wrote:
>> It doesn't seem to be using a standard MIDI interface, but there's a
>> chance that it accepts raw MIDI byte streams. Can you check the patch
>> below?
>
> With that patch, the device shows up, but aseqdump does not report any
> MIDI events after connecting to it.
>
> The Windows drivers are called "USB Serial Converter" and "USB Serial
> Port", so maybe it's all wrapped in a different protocol. Does that name
> ring a bell?

That's possible, and it should be easy to support these type of
devices in ALSA. However, some logic is neccessary to configure the
hardware to its correct baud rate and hardware protocol. The easiest
way to determine the setup sequence is certainly to sniff the Windows
driver communication with some tool like usbsnoop. Can you give that a
try?


Daniel


More information about the Alsa-devel mailing list