Author Topic: Able to mute sound but not unmute sound  (Read 3786 times)

Kyle

  • Guest
Able to mute sound but not unmute sound
« on: October 08, 2016, 03:42:33 PM »
Hello everyone! I am new to WattOS, except for when I played around with R9 for a little. Anyways... I am having issues unmuting my sound, I am able to mute though. I am attempting to mute/unmute via the button on my Dell laptop. Any ideas on how to fix this?

billwho

  • Full Member
  • ***
  • Posts: 34
    • View Profile
Re: Able to mute sound but not unmute sound
« Reply #1 on: October 08, 2016, 09:23:12 PM »
If you use the volume control in the tray, checking and unchecking the mute box should work.
Then use the mute button to see what else is muted and NOT unmuted.

If you do not have a volume control in the tray, right click on the tray and select Panel Settings > Panel Applets > +Add > Volume Control.

Otherwise...
If you would like a keyboard shortcut,
I create a shell script with the needed commands,
then assign the shortcut to the script in openbox.

Often the mute button will turn off more than the Master.
You will need a script to unmute;
for example PCM, Headphone, Speaker, 'Master Mono' ...

First open terminal and type: alsamixer

The alsamixer will graphically show the audio card and chip used and which controls are available.

Which card and chip does your computer use?

To find the names of the controls, in terminal type: amixer

On my Dell d420 the mute button works, for your Dell you need more controls.

The following is a list for controlling mute for several audio chips.

Code: [Select]
# .......1.........2.........3.........4.........5.........6....
# card:HDA Intel chip:SigmaTel STAC9200 # Dell d420
amixer -q set Master toggle

# .......1.........2.........3.........4.........5.........6....
# card:Intel ICH8 chip:Realtek ALC268 # Toshiba dv3000
amixer -q set Master toggle

# .......1.........2.........3.........4.........5.........6....

# card:PulseAudio chip:PulseAudio # eeepc 701 debian 8.6
amixer -q set Master toggle
amixer -q set Capture 0

# .......1.........2.........3.........4.........5.........6....

# card:HDA Intel chip:Realtek ALC662 rev1 # eeepc 701 ubuntu
amixer get Master | grep -o off \
&& (
amixer -q set Master unmute
amixer -q set Headphone unmute
amixer -q set Headphone 100%
amixer -q set Speaker unmute
amixer -q set Speaker 100%
amixer -q set PCM 100%
) || (
amixer -q set Master mute
amixer -q set Beep mute
amixer -q set Beep 0
amixer -q set 'Auto-Mute Mode' Disabled
amixer -q set 'Loopback Mixing' Disabled
)
amixer -q set Capture 0

# .......1.........2.........3.........4.........5.........6....

# card:Intel ICH6 chip:Analog Devices AD1981B # HP nc6220
amixer get Master | grep -o off \
&& (
amixer -q set Master unmute
amixer -q set 'Master Mono' unmute
amixer -q set 'Master Mono' 100%
amixer -q set 'Headphone Jack Sense' unmute
amixer -q set PCM unmute
) || (
amixer -q set Master mute
)

# .......1.........2.........3.........4.........5.........6....

# card:Intel ICH5 chip:Realtek ALC650F # Shuttle
amixer get Master | grep -o off \
&& (
amixer -q set Master unmute
amixer -q set 'Master Mono' unmute
amixer -q set 'Master Mono' 100%
amixer -q set PCM unmute
amixer -q set PCM 100%
amixer -q set Surround unmute
amixer -q set Surround 100%
amixer -q set Center unmute
amixer -q set Center 100%
amixer -q set LFE unmute
amixer -q set LFE 100%
amixer -q set Beep 1
) || (
amixer -q set Master mute
amixer -q set Beep mute
amixer -q set Beep 0
)

# .......1.........2.........3.........4.........5.........6....

# card:HDA Intel MID chip:Realtek ALC259 # Toshiba Satellite L675-129
amixer get Master | grep -o off \
&& (
amixer -q set Master unmute
amixer -q set Headphone unmute
amixer -q set Headphone 100%
amixer -q set Speaker unmute
amixer -q set Speaker 100%
amixer -q set PCM 100%
amixer -q set 'Auto-Mute Mode' Disabled
amixer -q set 'Loopback Mixing' Disabled
) || (
amixer -q set Master mute
amixer -q set Beep mute
amixer -q set Capture 0
)

# .......1.........2.........3.........4.........5.........6....

Kyle

  • Guest
Re: Able to mute sound but not unmute sound
« Reply #2 on: October 08, 2016, 10:37:10 PM »
If you use the volume control in the tray, checking and unchecking the mute box should work.
Then use the mute button to see what else is muted and NOT unmuted.

If you do not have a volume control in the tray, right click on the tray and select Panel Settings > Panel Applets > +Add > Volume Control.

Otherwise...
If you would like a keyboard shortcut,
I create a shell script with the needed commands,
then assign the shortcut to the script in openbox.

Often the mute button will turn off more than the Master.
You will need a script to unmute;
for example PCM, Headphone, Speaker, 'Master Mono' ...

First open terminal and type: alsamixer

The alsamixer will graphically show the audio card and chip used and which controls are available.

Which card and chip does your computer use?

To find the names of the controls, in terminal type: amixer

On my Dell d420 the mute button works, for your Dell you need more controls.

The following is a list for controlling mute for several audio chips.

Code: [Select]
# .......1.........2.........3.........4.........5.........6....
# card:HDA Intel chip:SigmaTel STAC9200 # Dell d420
amixer -q set Master toggle

# .......1.........2.........3.........4.........5.........6....
# card:Intel ICH8 chip:Realtek ALC268 # Toshiba dv3000
amixer -q set Master toggle

# .......1.........2.........3.........4.........5.........6....

# card:PulseAudio chip:PulseAudio # eeepc 701 debian 8.6
amixer -q set Master toggle
amixer -q set Capture 0

# .......1.........2.........3.........4.........5.........6....

# card:HDA Intel chip:Realtek ALC662 rev1 # eeepc 701 ubuntu
amixer get Master | grep -o off \
&& (
amixer -q set Master unmute
amixer -q set Headphone unmute
amixer -q set Headphone 100%
amixer -q set Speaker unmute
amixer -q set Speaker 100%
amixer -q set PCM 100%
) || (
amixer -q set Master mute
amixer -q set Beep mute
amixer -q set Beep 0
amixer -q set 'Auto-Mute Mode' Disabled
amixer -q set 'Loopback Mixing' Disabled
)
amixer -q set Capture 0

# .......1.........2.........3.........4.........5.........6....

# card:Intel ICH6 chip:Analog Devices AD1981B # HP nc6220
amixer get Master | grep -o off \
&& (
amixer -q set Master unmute
amixer -q set 'Master Mono' unmute
amixer -q set 'Master Mono' 100%
amixer -q set 'Headphone Jack Sense' unmute
amixer -q set PCM unmute
) || (
amixer -q set Master mute
)

# .......1.........2.........3.........4.........5.........6....

# card:Intel ICH5 chip:Realtek ALC650F # Shuttle
amixer get Master | grep -o off \
&& (
amixer -q set Master unmute
amixer -q set 'Master Mono' unmute
amixer -q set 'Master Mono' 100%
amixer -q set PCM unmute
amixer -q set PCM 100%
amixer -q set Surround unmute
amixer -q set Surround 100%
amixer -q set Center unmute
amixer -q set Center 100%
amixer -q set LFE unmute
amixer -q set LFE 100%
amixer -q set Beep 1
) || (
amixer -q set Master mute
amixer -q set Beep mute
amixer -q set Beep 0
)

# .......1.........2.........3.........4.........5.........6....

# card:HDA Intel MID chip:Realtek ALC259 # Toshiba Satellite L675-129
amixer get Master | grep -o off \
&& (
amixer -q set Master unmute
amixer -q set Headphone unmute
amixer -q set Headphone 100%
amixer -q set Speaker unmute
amixer -q set Speaker 100%
amixer -q set PCM 100%
amixer -q set 'Auto-Mute Mode' Disabled
amixer -q set 'Loopback Mixing' Disabled
) || (
amixer -q set Master mute
amixer -q set Beep mute
amixer -q set Capture 0
)

# .......1.........2.........3.........4.........5.........6....

This is my sound card.

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
   Subsystem: Dell 82801I (ICH9 Family) HD Audio Controller
   Flags: bus master, fast devsel, latency 0, IRQ 32
   Memory at f6adc000 (64-bit, non-prefetchable) [size=16K]
   Capabilities: <access denied>
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03) (prog-if 00 [Normal decode])

billwho

  • Full Member
  • ***
  • Posts: 34
    • View Profile
Re: Able to mute sound but not unmute sound
« Reply #3 on: October 09, 2016, 04:35:28 AM »
Quote
If you use the volume control in the tray, checking and unchecking the mute box should work.
Then use the mute button to see what else is muted and NOT unmuted.

If you do not have a volume control in the tray, right click on the tray and select Panel Settings > Panel Applets > +Add > Volume Control.

First... does using the Volume Control in the tray work?

bob

  • Full Member
  • ***
  • Posts: 39
    • View Profile
Re: Able to mute sound but not unmute sound
« Reply #4 on: October 14, 2016, 02:44:53 PM »
This is ANOTHER KNOWN issue with R10-Microwatt. I can mute the sound just fine, when I click the volume icon in i3's status so it's not muted > pavucontrol shows that it's still muted and the i3status shows it's not muted.
Just a bug, no biggie.

jelena

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Able to mute sound but not unmute sound
« Reply #5 on: November 06, 2016, 05:54:32 PM »
I am having this trouble also in Microwatt-R10
When I mute the sound in the i3bar by rightclicking, after unmuting it it stays muted. I had to manually run
Code: [Select]
$ amixer set Master unmutedand
Code: [Select]
$ amixer set Speaker unmuted to actually unmute it (I used amixer to detect it is muted)

I am having trouble unmuting the microphone though...
Is it ok to ask where you configure the i3bar? I couldn't find it in .config...and I would like to disable the volume control by mouse (the click and mouse wheel)