Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Pedro Lopez-Cabanillas <plcl@telefonica.net>
Cc: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: rawmidi problems
Date: Mon, 08 Jul 2002 12:40:26 +0200	[thread overview]
Message-ID: <s5h65zqv6xx.wl@alsa2.suse.de> (raw)
In-Reply-To: <200207051930.42945.plcl@telefonica.net>

At Fri, 5 Jul 2002 19:30:42 +0200,
Pedro Lopez-Cabanillas wrote:
> 
> Another question: I have a snd-ens1371 and two snd-usb-midi: a Roland/Edirol 
> UM-2 and a Midiman Midisport 2x2. These are my modules.conf settings:
> 
> alias char-major-116 snd
> alias char-major-14 soundcore
> options snd snd_major=116 snd_cards_limit=3
> alias snd-card-0 snd-ens1371
> 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
> # ------------- USB MIDI ------------
> alias snd-card-1 snd-usb-midi
> alias sound-slot-1 snd-card-1
> alias sound-service-1-1 snd-seq-oss
> alias sound-service-1-8 snd-seq-oss
> alias snd-card-2 snd-usb-midi
> alias sound-slot-2 snd-card-2
> alias sound-service-2-1 snd-seq-oss
> alias sound-service-2-8 snd-seq-oss
> 
> with /dev/midi00 ouput goes to ens-1371, /dev/midi01 goes to the first usb 
> midi device, and /dev/midi02 goes to the second, but both usb devices have 2 
> inputs ans 2 outputs. Can I get all my five midi ports work with oss midi 
> emulation?

do you really need to use oss midi devices?
as long as you only reading/writing midi byte streams (i.e. no
ioctls), you can use simply alsa rawmidi devices, /dev/snd/midiCxDx,
instead of /dev/midiXX.


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Oh, it's good to be a geek.
http://thinkgeek.com/sf

  reply	other threads:[~2002-07-08 10:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-05 15:53 rawmidi problems Pedro Lopez-Cabanillas
2002-07-05 16:33 ` Maarten de Boer
2002-07-05 16:57   ` Pedro Lopez-Cabanillas
2002-07-05 16:37 ` Takashi Iwai
2002-07-05 17:30   ` Pedro Lopez-Cabanillas
2002-07-08 10:40     ` Takashi Iwai [this message]
2002-07-08 15:41       ` Pedro Lopez-Cabanillas
2002-07-08 15:50         ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5h65zqv6xx.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=plcl@telefonica.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox