On Wed, 28 Nov 2001, janne halttunen wrote: > On Wed, 28 Nov 2001, Jaroslav Kysela wrote: > > > On Wed, 28 Nov 2001, janne halttunen wrote: > > > > > Hello, > > > > > > I have compiled ALSA driver and lib for my GUS Pnp. > > > > > > --cut-- > > > $ cat /proc/asound/devices > > > 0: [0- 0]: ctl > > > 8: [0- 0]: raw midi > > > 17: [0- 1]: digital audio playback > > > 16: [0- 0]: digital audio playback > > > 24: [0- 0]: digital audio capture > > > 33: : timer > > > --cut-- > > > > > > from /etc/modules.conf: > > > --cut-- > > > alias snd-card-0 snd-card-interwave > > > options snd-card-interwave snd_index=0 snd_id="GusPnP" snd_midi=1 > > > --cut-- > > > > > > When I try to run the rawmidi test in lib, I get: > > > > > > --cut-- > > > $ ./rawmidi -v -i 0 0 > > > Using: > > > Input: device 0 > > > Output: NONE > > > ALSA lib rawmidi.c:176:(snd_rawmidi_open_noupdate) Unknown RawMidi 0 > > > > Use -i hw:0,0 ... > > Thanks. Now I get: > > $ ./rawmidi -v -o hw:0,0 > Using: > Input: NONE > Output: device hw:0,0 > Writing note on / note off > Closing > > ..but I get no midi-action on my keyboard. (MIDI receive is on) > > $ ./rawmidi -v -i hw:0,0 > Using: > Input: device hw:0,0 > Output: NONE > Read midi in > Press ctrl-c to stop > > ..hangs, had to do ctrl-Z and kill it.
Note that you need to enable rawmidi for GUS PnP by the module option. Check the alsa-driver INSTALL file and look for snd_midi option. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> SuSE Linux http://www.suse.com ALSA Project http://www.alsa-project.org _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user