Hello all.
I've got 2 cards on my system: one is a SB 16PCI, ens1371-based; the other
an on-board AC97 VIA686B chip.
1�) I installed alsa-0.90rc6. The first card worked all right in oss
emulation mode, but the other didn't work. It is recognized, and I can set
it up using alsamixer, but amixer tells me that it's off:
# amixer -c 1
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 31 [100%] [off]
Front Right: Playback 31 [100%] [off]
Simple mixer control 'Master Mono',0
etc...
If I tried to turn it on, it fails:
# alsactl power 1 on
alsactl: set_power:1228: snd_ctl_set_power_state error: Protocol not available
2�) After asking in comp.os.linux.harware, I was told to create a
~/.asoundrc file. I did so; after that, the 2nd card worked, but not the
first! The snd-ens1371 module is not loaded automatically anymore (I must
modprobe it manually) and the sound is played by the VIA686, without
changing the config of xmms.
If I start xmms without inserting ens-1371, I get this:
$ xmms&
failed: audio.c:145 (alsa_setup_mixer)
Then I insert snd-ens1371 manually, and
$ alsactl restore 1
alsactl: set_controls:980: snd_ctl_open error: No such file or directory
$ alsactl restore 0
then xmms& works! Well, works, kind of, because the program starts but I
can't here any sound, even after setting the master and pcm volume to max
with 'alsamixer -c 1'.
Here are the config files:
$ cat /etc/modules.conf
# ALSA part
alias char-major-116 snd
alias snd-card-0 snd-ens1371
alias snd-card-1 snd-via82xx
# module options should go here
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
#alias sound-slot-1 snd-card-1
# card #1
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
$ cat ~/.asoundrc
pcm.ens1371
{
type hw
card 0
device 0
}
ctl.ens1371
{
type hw
card 0
}
pcm.via82xx
{
type hw
card 1
device 0
}
ctl.via82xx
{
type hw
card 1
}
Thanks for any help, I'm getting lost!!
--
Fabrice DELENTE
E-mail : [EMAIL PROTECTED]
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user