Hello!
On Wed, 12 Dec 2001, Takashi Iwai wrote:
> Well, virmidi and seq-dummy are different.
> seq-dummy client pass-through from input to output ports, just like
> stated in the original question above.
> OTOH, virmidi receives midi byte stream and encode it as event packets
> or vice versa.
virmidi is actually the thing I was looking for, since I need a device pd
can connect to. Frank's solution is what I was looking for, but there is a
problem.
I set up the whole set of aliases for modules as Frank had suggested, but
when I do 'modprobe sound-slot-1' the system responds with:
/lib/modules/2.4.7/misc/snd-card-virmidi.o: init_module: No such device
The answer is the same for 'modprobe snd-card-virmidi' with any
combination of module parameters (snd_index, snd_enable, snd_id and
snd_midi_devs).
strace didn't help in clarifying the situation. Well, I got digging into
the module source, but it just goes deeper and deeper into functions I
don't have a clue about.
modinfo snd-card-virmidi.o says something silly:
filename: /lib/modules/2.4.7/misc/snd-card-virmidi.o
description: "Dummy soundcard for virtual rawmidi devices"
author: "Takashi Iwai <[EMAIL PROTECTED]>"
license: <none>
parm: snd_index int array (min = 1, max = 8), description "Index
value for virmidi soundcard."
parm: snd_id string array (min = 1, max = 8), description "ID
string for virmidi soundcard."
parm: snd_enable int array (min = 1, max = 8), description "Enable
this soundcard."
parm: snd_midi_devs int array (min = 1, max = 8), description "MIDI
devices # (1-8)"
--
But strings /lib/modules/2.4.7/misc/snd-card-virmidi.o return:
[..snip..]
kernel_version=2.4.7
author=Takashi Iwai <[EMAIL PROTECTED]>
description=Dummy soundcard for virtual rawmidi devices
parm_snd_index=1-8i
parm_desc_snd_index=Index value for virmidi soundcard.
parm_snd_id=1-8s
parm_desc_snd_id=ID string for virmidi soundcard.
parm_snd_enable=1-8i
parm_desc_snd_enable=Enable this soundcard.parm_snd_midi_devs=1-8i
parm_desc_snd_midi_devs=MIDI devices # (1-8)
info_classes={sound}
info_devices={{ALSA,Virtual rawmididevice}}
info_parm_snd_index=enable:(snd_enable),allows:{{0,7}},unique,skill:required,dialog:list
info_parm_snd_id=enable:(snd_enable),unique
info_parm_snd_enable=allows:{{0,Disabled},{1,Enabled}},default:0,dialog:check
info_parm_snd_midi_devs=enable:(snd_enable),allows:{{1,8}}
--
Maybe this explains something.
alsa-driver-0.9.0beta10
linux 2.4.7
debian/woody
Miha...
- Miha Tomšič --- C. na postajo 55 -- SI-1351 Brezovica pri Lj. --- SLOVENIA -
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel