Stephen Cameron wrote:
> I have an Akai MPD16, it's a MIDI drum pad thingy.
> Using the regular MIDI port works with linux just fine, but
> I'd like to be able to use it using only USB, but it
> seems not to be supported, so I thought I'd try to
> add support myself.
> 
> I've had some success, despite not really knowing what I'm doing.
> Not complete success, but close enough to complete
> success that I'm very encouraged.
> 
> I added this into sound/usb/usbquirks.h:
> 
> /* Akai devices */
> {
>         USB_DEVICE_VENDOR_SPEC(0x09e8, 0x0062),
>         .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
>                 .vendor_name = "AKAI Professional M.I. Corp.",
>                 .product_name = "AKAIpro MPD16 USB/MIDI PAD CONTROL UNIT",

You don't need to set these strings if they're already present in the
USB descriptors.

And if you need to set them, please use "AKAI"/"MPD16" because you aren't
paid by AKAI's marketing department.  :-)

>                 .type = QUIRK_MIDI_RAW,
> 
> And then when I tap out things on the Akai, they
> are played on my Yamaha Motif Rack.  Well, then it
> sends something periodically (about 4 times per
> second) something which makes a small quiet sound
> on the Motif...

Your description indicates that the MPD16 doesn't actually use a raw
protocol.

Please uncomment the "#define DUMP_PACKETS" in sound/usb/usbmidi.c and
show the packets that are logged in the system log.

The output of "lsusb -v" might have some further clues.

> # ls -l /dev/snd/midi*
> crw-------  1 scameron root  14, 18 May 18 19:32 /dev/snd/midi1
> crw-------  1 scameron root  14, 34 May 18 19:32 /dev/snd/midi2

These two are OSS devices that should live in /dev.  Something's wrong
with your udev rules.


Regards,
Clemens


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to