On Wed, 28 Nov 2001, Jaroslav Kysela wrote:

> 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--
> > > >
> > > > 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.

Sorry for the delay.

Yes, the switch was on, here is the ALSA related part of
/etc/modules.conf:

--cut--

# ISA PnP support (don't use IRQs 9,10,11,12,13)
options isapnp isapnp_reserve_irq=3,4,5,6,7,9

# ALSA native device support
alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=1
alias snd-card-0 snd-card-interwave
options snd-card-interwave snd_index=0 snd_id="GusPnP" snd_midi=1

# OSS/Free setup
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

--cut--

BTW, what does the "don't use IRQs 9,10,11,12,13" comment mean?
Currently, Interwave uses IRQ 11.

Is there someway I can get more debugging info?


janne


_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to