You are not logged in.
My alsamixer stopped working under normal user.
alsamixer
cannot open mixer: Invalid argumenthowever I can run it with options such as "alsamixer -c 0"
I assume it is not a normal behavior, what went wrong?
Some system config files:
cat /etc/modprobe.d/alsa.conf
options snd slots=snd_hda_intel
cat /etc/modprobe.d/sound.conf
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
cat .asoundrc
pcm.!default {
type hw
card 0
device 0
}
ctl.!default {
type hw
card 0
device 0
}
cat /proc/asound/cards
0 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xd0600000 irq 16
1 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xd0210000 irq 19
29 [ThinkPadEC ]: ThinkPad EC - ThinkPad Console Audio Control
ThinkPad Console Audio Control at EC reg 0x30, fw 6ZHT27WW-1.172000
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0btw, after messing with esd and trying to make a "sound from several apps" sound disappeared, then I rolled back to my previous setup and now I don't have sound in "wesnoth"and some audio players that do not have an option which sound card to use like "minitunes", while qmmp, audacious and other stuff plays music, so does video players. Browsers do play music.
Last edited by tasty_minerals (2011-07-25 09:35:22)
lenovo thinkpad EDGE 13'
Offline
Offline
Pulseaudio installed?
Offline
What is the output of `type alsamixer`? Also, try backing up and removing your ~/.alsarc.
type alsamixer
alsamixer is /usr/bin/alsamixer"Also, try backing up and removing your ~/.alsarc."
I don't have .alsarc, only .asoundrc, should I?
lenovo thinkpad EDGE 13'
Offline
Pulseaudio installed?
yes, "extra/pulseaudio 0.9.23-1 [0.76 MB] [installed]"
guess it came with one of my apps, cause I don't install it by default.
what I actually need, is a proper workaround on how and what to do to make sound work the way it intended. To make apps work, the way they do after fresh install)
As long as I understand I got everything configured, but why do some apps refuse to work (like my beloved wesnoth)? I assume that all apps by default read some sound config file to know which card to use, so where is this file, and which one should be altered?
lenovo thinkpad EDGE 13'
Offline
Stebalien wrote:What is the output of `type alsamixer`? Also, try backing up and removing your ~/.alsarc.
type alsamixer alsamixer is /usr/bin/alsamixer"Also, try backing up and removing your ~/.alsarc."
I don't have .alsarc, only .asoundrc, should I?
Sorry, I meant .asoundrc.
Offline
ok, I did it. Or so it seems.
gpasswd -a yourusername audio
deleted .asoundrc then created a new one with
pcm.dsp {
type plug
slave.pcm "dmix"
}
ctl.dmixer {
type hw
card 0
}So now, I can have sound in several apps simultaneously! unfortunately I "wesnoth" still refuses to use my card...
alsamixer can be run as normal user now too.
Last edited by tasty_minerals (2011-07-25 09:35:04)
lenovo thinkpad EDGE 13'
Offline