I recently installed ALSA 0.9 having used only OSS/Free, so please bare with the newbism...
My problem is MIDI input: while raw MIDI seems to be working (I can cat bytes from /dev/snd/midiC0D0 that correspond to pressing keys on my keyboard), libasound programs don't get any MIDI input, and /dev/snd/seq appears to do nothing. I'm at a loss to what I'm doing wrong, whether it be installation or programming approach using ALSA API, but demo code such as seqdemo.c and miniFMsynth.c don't work either, even though none of these programs fail to open the sequencer device. Here is an lsmod if that helps:
Module Size Used by Tainted: P
snd-seq-midi 4288 0 (autoclean) (unused)
snd-opl3-synth 9988 0 (autoclean) (unused)
snd-seq-instr 4576 0 (autoclean) [snd-opl3-synth]
snd-seq-midi-emul 4768 0 (autoclean) [snd-opl3-synth]
snd-ainstr-fm 1508 0 (autoclean) [snd-opl3-synth]
snd-seq-oss 23584 0 (unused)
snd-seq-midi-event 3112 0 [snd-seq-midi snd-seq-oss]
snd-seq 43184 2 [snd-seq-midi snd-opl3-synth snd-seq-instr snd-seq-midi-emul snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 45636 0 (unused)
snd-mixer-oss 10844 0 [snd-pcm-oss]
snd-sb16 4956 0
snd-sb16-csp 17128 0 [snd-sb16]
snd-opl3-lib 6468 0 [snd-opl3-synth snd-sb16]
snd-hwdep 4512 0 [snd-sb16-csp snd-opl3-lib]
snd-sb16-dsp 6572 0 [snd-sb16]
snd-sb-common 8472 0 [snd-sb16 snd-sb16-csp snd-sb16-dsp]
snd-pcm 66496 0 [snd-pcm-oss snd-sb16-dsp]
snd-timer 12488 0 [snd-seq snd-opl3-lib snd-pcm]
snd-mpu401-uart 3328 0 [snd-sb16 snd-sb16-dsp]
snd-rawmidi 14656 0 [snd-seq-midi snd-mpu401-uart]
snd-seq-device 4224 0 [snd-seq-midi snd-opl3-synth snd-seq-oss snd-seq snd-opl3-lib snd-rawmidi]
snd 32556 0 [snd-seq-midi snd-opl3-synth snd-seq-instr snd-seq-midi-emul snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-sb16 snd-sb16-csp snd-opl3-lib snd-hwdep snd-sb16-dsp snd-sb-common snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3556 8 [snd]
NVdriver 1065344 10
ipt_MASQUERADE 1176 2 (autoclean)
iptable_filter 1704 0 (autoclean) (unused)
iptable_nat 13080 1 (autoclean) [ipt_MASQUERADE]
ip_conntrack 13596 1 (autoclean) [ipt_MASQUERADE iptable_nat]
ip_tables 10616 5 [ipt_MASQUERADE iptable_filter iptable_nat]
input 3360 0 (unused)
usb-ohci 17896 0 (unused)
usbcore 36064 0 [usb-ohci]
3c59x 25040 2

The devices look like this:
ls -l /dev/snd/midi* /dev/snd/seq
crw-rw---- 1 root audio 116, 8 2002-10-26 20:45 /dev/snd/midiC0D0
crw-rw---- 1 root audio 116, 1 2002-10-26 20:45 /dev/snd/seq

aconnect -i tells me there is External MIDI, too:
client 0: 'System' [type=kernel]
0 'Timer '
1 'Announce '
client 64: 'External MIDI 0' [type=kernel]
0 'MIDI 0-0 '

This is really baffling for me as a new user of ALSA, any suggestions welcome.




-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to