[linux-audio-user] Re: [Alsa-user] alsa /dev/sequencer oss compatability

Takashi Iwai tiwai at suse.de
Thu Jan 16 12:07:01 EST 2003


At Thu, 16 Jan 2003 08:20:47 -0800,
Craig Maloney wrote:
> 
> Hi all.  I have an on motherboard es1371 (which appears to be working 
> fine, although I'm not using it for audio).  Can't seem to get the midi 
> working.
> 
> Here's the skinny... relevant output of lsmod:
> 
> ----------------------------------------------
> snd-seq-midi            3136   0  (autoclean) (unused)
> snd-seq-oss            22080   0  (autoclean)
> snd-seq-midi-event      2792   0  (autoclean) [snd-seq-midi snd-seq-oss]
> snd-seq                32812   2  (autoclean) [snd-seq-midi snd-seq-oss 
> snd-seq-midi-event]
> snd-card-ens1371        9408   0
> snd-pcm                46176   0  [snd-card-ens1371]
> snd-timer               9056   0  [snd-seq snd-pcm]
> snd-rawmidi            11456   0  [snd-seq-midi snd-card-ens1371]
> snd-seq-device          3744   0  [snd-seq-midi snd-seq-oss snd-seq 
> snd-rawmidi]
> snd-ac97-codec         22848   0  [snd-card-ens1371]
> snd                    23336   2  [snd-seq-midi snd-seq-oss 
> snd-seq-midi-event snd-seq snd-card-ens1371 snd-pcm snd-timer 
> snd-rawmidi snd-seq-device snd-ac97-codec]
> soundcore               3556   4  [snd]
> -----------------------------------------------
> 
> $ ls -la /dev/sequencer
> crw-rw----    1 root     audio     14,   1 Mar 14  2002 /dev/sequencer
> ------------------------------------------------
> 
> $ ls -la /proc/asound/dev
> total 0
> dr-xr-xr-x    2 root     root            0 Jan 13 21:57 .
> dr-xr-xr-x    5 root     root            0 Jan 13 21:57 ..
> crw-rw----    1 root     audio    116,   0 Jan 13 22:21 controlC0
> crw-rw----    1 root     audio    116,   8 Jan 13 22:21 midiC0D0
> crw-rw----    1 root     audio    116,  24 Jan 13 22:21 pcmC0D0c
> crw-rw----    1 root     audio    116,  16 Jan 13 22:21 pcmC0D0p
> crw-rw----    1 root     audio    116,  17 Jan 13 22:21 pcmC0D1p
> crw-rw----    1 root     audio    116,   1 Jan 13 22:21 seq
> crw-rw----    1 root     audio    116,  33 Jan 13 22:21 timer
> -----------------------------------------------------------
> 
> presumably snd-seq-oss is the /dev/sequencer compatability layer (which 
> I loaded explicitly). Neither playmidi nor rosegarden can seem to open 
> /dev/sequencer. playmidi error:
> -------------------------------------------------
> playmidi: No playback device found
> ------------------------------------------------
> 
> Do I misunderstand the setup?  I am presuming that when I load 
> snd-seq-oss, that it redirects /dev/sequencer to and from the alsa 
> sequencer and the alsa sequencer is presumably hooked up to alsa 
> raw-midi which presumably points to the joystick port on the es1371.  Is 
> this right (I'm not so sure -- count the occurences of the word 
> "presumably in the preceding ;) )?  If so, does anyone have any idea why 
> it's not working?

playmidi accesses to synth devices on OSS sequencer as default, which
ens137x doesn't have.

for accessing to external MIDI devices, use -e option.
the device number can be specified via -D option, too.


Takashi



More information about the Linux-audio-user mailing list