LGW wrote:Well, I would have noticed that, since both devices loaded "seperatly" (like, only via OR echoaudio), both have a mixer device. It does not matter in what order I load the modules, either I get a mixer device for via OR the echoaudio (the first one has a mixer, the second one not).
I have: Event Gina20, using the snd-echoaudio alsa driver written by Giuliano Pochini (works fine on its own) some via onboard thingy, using the snd-via82xx driver (works fine on its own)
Even with only the two alsa cards I have the problem that, if I try to
load both cards' modules, I get all the pcm-devices:
/dev/snd:
pcmC0D0c, pcmC0D0p, pcmC1D0c, ....
for both cards - but only one mixer device is available!
/dev/snd/controlC0
I guess card 0 is the VIA AC'97 controller, and card 1 is the Gina. (?) Apparently, the snd-echoaudio driver doesn't provide any mixer controls.
It's possibly an error in the echoaudio driver, it's in a relativly early state. But I don't know how the alsa system handles mixer stuff, so I can't have a look in the sources myself. It goes further: when I load only the via module with option index=1 (like, pretend to be the first device) with no other sound drivers loaded, I end up with this:
/dev/snd:
controlC0, pcmC1D0c, pcmC1D0p
as you see, the control device is startet as C0, but the pcm devices as C1 (which should mean "card 1", I presume).
Maybe something is wrong with that? dmesg and messages are not really helpfull here :(
That would be great!To make anything more complicated, I also have an Hauppauge WinTV, which has an audio mixer/direct record device supported by a kernel module (btaudio), which registers /dev/dsp, /dev/dsp1 and /dev/mixer.
But forget that TV card.
I won't. :-) I'm planning to port the btaudio driver to ALSA.
That's the first problem. The second is that I need to control volume
via the oss emulation, and if the btaudio module is loaded, the
snd-mixer-oss module complains (via dmesg) that it cannot lock the mixer
resource 0:0 (which is no doubt true because there sits the mixer of the
hauppauge card!)
You are not supposed to use OSS and ALSA drivers at the same time. (You can use them alternatively as long as you remove all "other" drivers with rmmod before loading.)
Well, I think I'm not supposed to, but... *g* I need to...
I hope you can get the driver port running fast, would be really a great thing!
thx, Lars
HTH Clemens
------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user
