[Alsa-user] Re: Support for Akai MPD16 for linux...
Brought to you by:
perex
|
From: Stephen C. <smc...@ya...> - 2006-05-20 18:01:30
|
I realized what I provided previously as info about the received packets for
the Akai MPD16 was misleading, as it was, unbeknownst to me, contaminated
by a lot of stuff coming in from my Yamaha Motif (apparently a chatty little
beastie.) Heres some better dmesg output with the Yamaha turned off:
received packet: [ 21 fe ]
received packet: [ 21 fe ]
received packet: [ 21 fe ]
received packet: [ 21 fe ]
received packet: [ 21 fe ]
received packet: [ 21 fe ]
received packet: [ 21 fe ]
received packet: [ 21 fe ]
received packet: [ 21 fe ]
received packet: [ 21 fe ]
received packet: [ 23 90 24 7f 23 90 24 00 ] <--- this is where I hit one of the pads.
received packet: [ 21 fe ]
received packet: [ 21 fe ]
Trying to chase down the udev stuff, I find snd_rawmidi_new() is where
I think the /sys/class/sound/midiC1D0 things that udev is using are coming
from, but this appears to be called only by snd_usbmidi_midi(), which sppears
to be called . . . well, nowhere.
[root@zuul linux-2.6.16.11]# find . -name '*.[ch]' -print | xargs grep snd_usbmidi_midi
./drivers/usb/class/usb-midi.c:int snd_usbmidi_midi(cs46xx_t *chip, int device, snd_rawmidi_t
**rrawmidi)
./drivers/usb/class/usb-midi.c:EXPORT_SYMBOL(snd_usbmidi_midi);
./sound/usb/usbmidi.c:static void snd_usbmidi_midiman_input(struct snd_usb_midi_in_endpoint* ep,
./sound/usb/usbmidi.c:static struct usb_protocol_ops snd_usbmidi_midiman_ops = {
./sound/usb/usbmidi.c: .input = snd_usbmidi_midiman_input,
./sound/usb/usbmidi.c: umidi->usb_protocol_ops = &snd_usbmidi_midiman_ops;
[root@zuul linux-2.6.16.11]#
Hmmm, maybe there is a preprocessor macro making life difficult for me in there
somewhere. Would it be better to ask on the kernel mailing list about this
udev stuff?
Thanks,
-- steve
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|