You are not logged in.

#1 2008-09-14 13:03:12

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Alsa problem: PCM channel cannot be muted

I have a strange problem. I decided to reinstall archlinux and notice that i can't mute PCM channel. In my previous installation i had that option.

snd_hda_intel         357048  4 
snd_seq_oss            31872  0 
snd_seq_midi_event      8192  1 snd_seq_oss
snd_seq                49968  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          8332  2 snd_seq_oss,snd_seq
snd_hwdep               8964  1 snd_hda_intel
snd_pcm_oss            40192  0 
snd_pcm                69636  3 snd_hda_intel,snd_pcm_oss
snd_timer              21384  3 snd_seq,snd_pcm
snd_page_alloc          9608  2 snd_hda_intel,snd_pcm
snd_mixer_oss          16512  1 snd_pcm_oss
snd                    50724  15 snd_hda_intel,snd_seq_oss,snd_seq,snd_seq_device,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               8032  1 snd
$ amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 118 [93%] [-6.75dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 240 [94%] [-3.00dB]
  Front Right: Playback 240 [94%] [-3.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 115 [91%] [-9.00dB] [on]
  Front Right: Playback 115 [91%] [-9.00dB] [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Analog Loopback',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Digital Input Source',0
  Capabilities: enum
  Items: 'Analog Inputs' 'Digital Mic 1'
  Item0: 'Analog Inputs'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Mic'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Mic'
  Item0: 'Mic'
Simple mixer control 'Mux',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 4
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Mux',1
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 4
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
$ pacman -Q | grep alsa
alsa-lib 1.0.17a-1
alsa-oss 1.0.15-1
alsa-utils 1.0.17-1

screenshotterminalfg2.th.png

Anyone had that strage problem?


Give what you have. To someone, it may be better than you dare to think.

Offline

#2 2008-09-14 13:33:37

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Alsa problem: PCM channel cannot be muted

Same here on my sister's machine, which has an intel-hd onboard soundchip. Did an installation half a week ago. No idea, why that is!

Offline

#3 2009-05-13 14:53:13

darose
Member
Registered: 2004-04-13
Posts: 158

Re: Alsa problem: PCM channel cannot be muted

Yup, same here.  I filed an alsa bug about this (https://bugtrack.alsa-project.org/alsa- … hp?id=4507) and someone reported back as follows:

The "PCM Playback Volume" of snd-hda-intel is just a softvol control and there is no mute switch for this softvol control

Dunno ....

Offline

#4 2009-05-13 15:37:17

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: Alsa problem: PCM channel cannot be muted

Fix for my netbook is to mute the iSpeaker channel. In your case I would mute the master channel. I don't know if it is possible to mute PCM with alsa on certain cards.

Offline

#5 2009-06-20 12:36:43

Leffe
Member
Registered: 2006-05-30
Posts: 47

Re: Alsa problem: PCM channel cannot be muted

I found out a way of adding a mute switch to controls.

pcm.Audigy {
    type hw
    card 0
}

pcm.!default {
    type softvol
    slave.pcm "Audigy"
    control {
        name "PCM"
        card 0
    }
    resolution 2
}

I don't know if this is "correct," but I could add the capability for both my Master and PCM channels (not at the same time though).

Offline

#6 2009-06-20 14:06:09

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: Alsa problem: PCM channel cannot be muted

The same behaviour is confirmed in my machines also. The level can be reduced to 0 as equivalent to mute, making the level to 0 no sound either from speaker or head phone jack and hence it is left as such.

another way is to use amixer command (amixer set PCM 0 mute).

Last edited by kgas (2009-06-20 14:13:02)

Offline

Board footer

Powered by FluxBB