[Pkg-alsa-devel] Bug#845090: Bug#845090: /usr/bin/alsamixer: alsamixer -c0 starts pulseaudio

Juha Jäykkä juhaj at iki.fi
Sun Nov 20 18:15:54 UTC 2016


> alsamixer doesn't fire up any puls daemon. Please check whether
> puls is running before starting alsamixer.

It should not, but it certainly does:

juhaj at meissa 18:07:16 ~> ps -flyu juhaj|grep pulseau
S juhaj     9740  9724  0  99  19  2204  3488 -      18:07 pts/4    00:00:00 
grep pulseau
Today is 20.11.2016, I am running on tty 4 and currently controlling 0 jobs
juhaj at meissa 18:07:31 ~> alsamixer -c0
/usr/bin/pulseaudio: line 3: /var/log/mpd/mpd.runs.pulseaudio.at: Permission 
denied
W: [pulseaudio.real] main.c: /proc/self/exe does not point to /usr/bin/
pulseaudio, cannot self execute. Are you playing games?
Today is 20.11.2016, I am running on tty 4 and currently controlling 0 jobs
juhaj at meissa 18:07:39 ~> ps -flyu juhaj|grep pulseau
S juhaj     9746     1  7  69 -11 10840 166267 -     18:07 ?        00:00:00 /
usr/bin/pulseaudio.real --start --log-target=syslog
S juhaj     9752  9746  0  80   0  5336 30992 -      18:07 ?        00:00:00 /
usr/lib/pulseaudio/pulse/gconf-helper
S juhaj     9756  9724  0  99  19  2160  3488 -      18:07 pts/4    00:00:00 
grep pulseau
Today is 20.11.2016, I am running on tty 4 and currently controlling 0 jobs
juhaj at meissa 18:07:40 ~> 

I do not think this behaviour is correct. The user juhaj is pristine, and 
default.pa comes from the deb, except I've added

load-module module-alsa-sink device=dmix:CARD=AudioPCI,DEV=1

just before 

.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev 
support)
load-module module-detect
.endif

> BTW: do you have more then one soundcard installed? If not just run
> alsamixer without any option.

Your guess is correct. A total of three soundcards, although only two are 
relevant here: the third one is a webcam which only has a microphone, no 
speakers.

Now that you mention it, while alsamixer -c1 and alsamixer -c2 also start 
pulseaudio, only alsamixer -c0 causes any volumes to change.

Which makes me wonder perhaps 

load-module module-alsa-sink device=dmix:CARD=AudioPCI,DEV=1

has something to do with the changing of the mute setting. Having said that, I 
don't really mind if pulseaudio gets started as long as it does not screw up 
the mixer settings in the process: I can always configure other software to 
use alsa explicitly if I need to.

So I still think the problem is that pulseaudio gets started in the first 
place.

Cheers,
Juha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-alsa-devel/attachments/20161120/eb302b60/attachment.sig>


More information about the Pkg-alsa-devel mailing list