You are not logged in.

#1 2014-07-29 16:39:18

Andy_Crowd
Member
From: 延雪平縣 Sweden
Registered: 2013-12-28
Posts: 119

[SOLVED]Alsamixer - the "mute" option for the Master volume is missing

Hej!
After the recent update the Mute option is missing for the Master volume but I can mute sound for PCM.
My sound cards:
0 snd_cmipci
1 snd_hda_intel

Last edited by Andy_Crowd (2014-07-30 19:45:27)


Help to make Arora bug free!!
日不落 | Year 2081 | 笑傲江湖 | One more a really good book in my collection the Drystoll.

Offline

#2 2014-07-29 21:10:47

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED]Alsamixer - the "mute" option for the Master volume is missing

amixer -c 0; amixer -c 1

There is always the softvolume plugin. What have you updated recently? (pacmans log)

Edit: lost a word.

Last edited by emeres (2014-07-29 22:30:31)

Offline

#3 2014-07-29 21:11:22

midixinga
Member
Registered: 2014-01-18
Posts: 193

Re: [SOLVED]Alsamixer - the "mute" option for the Master volume is missing

Key "M" is missing ?

Offline

#4 2014-07-29 22:27:58

Andy_Crowd
Member
From: 延雪平縣 Sweden
Registered: 2013-12-28
Posts: 119

Re: [SOLVED]Alsamixer - the "mute" option for the Master volume is missing

Yes the "M" is missing.
I can use amixer -c 0 set Master 0 but not amixer -c 0 set Master toggle. It shows no errors either.
This is working without any problems: amixer -c 0 set PCM toggle


Help to make Arora bug free!!
日不落 | Year 2081 | 笑傲江湖 | One more a really good book in my collection the Drystoll.

Offline

#5 2014-07-29 22:37:23

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED]Alsamixer - the "mute" option for the Master volume is missing

Which cmi is it?

Offline

#6 2014-07-30 06:01:15

Andy_Crowd
Member
From: 延雪平縣 Sweden
Registered: 2013-12-28
Posts: 119

Re: [SOLVED]Alsamixer - the "mute" option for the Master volume is missing

Multimedia audio controller: C-Media Electronics Inc CMI8738/CMI8768 PCI Audio (rev 10)


Help to make Arora bug free!!
日不落 | Year 2081 | 笑傲江湖 | One more a really good book in my collection the Drystoll.

Offline

#7 2014-07-30 13:51:30

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED]Alsamixer - the "mute" option for the Master volume is missing

Pacmans log is //var/log/pacman.log, help out a little, what did you update? The cmipci.c in linux_source/sound/pci/ might have changed or something withing alsa packages. I checked recent changelogs on the alsa wiki, only one mentions CMI, but not your model and there is nothing about controls. What configuration do you have for alsa/modprobe/anything else audio related? (~/.asoundrc, /etc/asound.conf, /etc/modprobe.d/*alsa*)

Offline

#8 2014-07-30 14:06:46

Andy_Crowd
Member
From: 延雪平縣 Sweden
Registered: 2013-12-28
Posts: 119

Re: [SOLVED]Alsamixer - the "mute" option for the Master volume is missing

In the /etc/modprobe.d/alsa-base.conf

options snd_cmipci=0
options snd_hda_intel index=1

And nothing more


Help to make Arora bug free!!
日不落 | Year 2081 | 笑傲江湖 | One more a really good book in my collection the Drystoll.

Offline

#9 2014-07-30 14:15:34

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED]Alsamixer - the "mute" option for the Master volume is missing

Andy_Crowd wrote:

In the /etc/modprobe.d/alsa-base.conf

options snd_cmipci=0

What is that supposed to achieve? You probably meant:

options snd_cmipci index=0

Offline

#10 2014-07-30 19:11:34

Andy_Crowd
Member
From: 延雪平縣 Sweden
Registered: 2013-12-28
Posts: 119

Re: [SOLVED]Alsamixer - the "mute" option for the Master volume is missing

Those settings are the same.

Mute shows only when I am installing pulseaudio.


Help to make Arora bug free!!
日不落 | Year 2081 | 笑傲江湖 | One more a really good book in my collection the Drystoll.

Offline

#11 2014-07-30 19:21:55

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED]Alsamixer - the "mute" option for the Master volume is missing

Andy_Crowd wrote:

Those settings are the same.

Okay, can you provide documentation/reference to back that up? Should you mean, there is no difference in how you system behaves, yes, that is very likely, since the second line is correct, so the cmi would be at index 0 either way.

Andy_Crowd wrote:

Mute shows only when I am installing pulseaudio.

In alsamixer? PA runs on top of alsa, so the controls for alsamixer should stay the same. Do you mean another mixer maybe?

You still did not provide the relevant part of pacmans log and amixer output for both cards. Are you certain you used the cmi as default the whole time? Is the snd-hda-intel a hdmi sound card?

Offline

#12 2014-07-30 19:43:50

Andy_Crowd
Member
From: 延雪平縣 Sweden
Registered: 2013-12-28
Posts: 119

Re: [SOLVED]Alsamixer - the "mute" option for the Master volume is missing

Ok. The problem is solved, I have tested with a Linux Mint Live CD and got the same problem:

Master Mute (MM) is missing in the alsamixer
for C-Media CMI8768 7.1 Chanel PCI Audio

Now I must find a better one that will work with Linux without any troubles or use the pulseaudio for getting Mute for the Master volume.

Can be used for hotkey amixer set PCM toggle instead of amixer -c 0 set Master toggle, the -c 0 is not necessary to use in the command line, it is just for choosing of the sound card index, by default is -c 0 used.

Last edited by Andy_Crowd (2014-07-30 20:19:06)


Help to make Arora bug free!!
日不落 | Year 2081 | 笑傲江湖 | One more a really good book in my collection the Drystoll.

Offline

#13 2014-07-30 21:50:45

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED]Alsamixer - the "mute" option for the Master volume is missing

I recommend using card name references instead of numbers. To get those run:

$ cat /proc/asound/card*/id
SB
PCH
HDMI
# then use
amixer -c HDMI # for the index=2 card

I just tested it, you can add a mute switch by using softvol plugin with resolution set to 2:

pcm.test {	type softvol;
		slave.pcm "default";
		control {	name "Test";
				card HDMI;	}
		resolution 2;	}

Then the following will toggle the mute switch:

amixer -c HDMI sset Test toggle

Offline

Board footer

Powered by FluxBB