Stephen Cameron wrote:
> --- Clemens Ladisch <[EMAIL PROTECTED]> wrote:
> > Please uncomment the "#define DUMP_PACKETS" in sound/usb/usbmidi.c and
> > show the packets that are logged in the system log.
> 
> Ok, here's a representative sample of what I get.
> 
> received packet: [ 0f f8 00 00 ... ]

This looks like a MIDI clock encoded in the Standard protocol.

> received packet: [ 21 fe       ]
> received packet: [ 23 90 24 7f  23 90 24 00 ]

But these are not quite standard messages.

Can the device send two-byte messages like Channel Pressure (monophonic
aftertouch) or Program Change?
Can it send SysEx's?
How does a key press on the Yamaha look like?

> > The output of "lsusb -v" might have some further clues.
> 
> Hmm, I think /proc/bus/usb is empty...

mount -t usbfs none /proc/bus/usb

> > > # 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.
> 
> They are whatever the default for Fedora core 3 is, I haven't messed
> with them.
> 
> I find this in /etc/udev/rules.d/50-udev.rules:
> 
> KERNEL="midi[CD0-9]*",   NAME="snd/%k"

This rule matches OSS devices, too.  This should probably be something
like "midiC[0-9]*D[0-9]*".


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