Re: Mute mutes speaker, but Unmute does not unmute speaker channel (XFCE4)

2017-01-10 Thread Paul Dufresne
Just thinking that maybe I should look in:
/etc/acpi/events
Maybe add my script there on unmute event.



Re: Mute mutes speaker, but Unmute does not unmute speaker channel (XFCE4)

2017-01-10 Thread Paul Dufresne
I will have access to the laptop only later to test these new thing I found:
https://wiki.manjaro.org/index.php?title=Volume_Stuck_on_Mute_%28XFCE_Desktop%29

From:
https://ubuntuforums.org/showthread.php?t=1796713
I may add a key in XFCE bindings looking like:
amixer -c 0 set Speaker playback 100% unmute
although the original poster was using Master not Speaker.

Might try something from:
http://unix.stackexchange.com/questions/124651/muting-and-unmuting-sound-with-mutebutton
http://unix.stackexchange.com/questions/186269/alsa-mixer-unmute-problem-on-thinkpad-laptop

For Lubuntu:
http://askubuntu.com/questions/544754/lubuntu-14-04-unmute-sound-from-keyboard-not-work/757113#757113



Re: Mute mutes speaker, but Unmute does not unmute speaker channel (XFCE4)

2017-01-09 Thread Jude DaShiell
Perhaps you've heard of the freedesktop project?  The only thing that's 
above alsa is pulseaudio.  I had a situation with pulseaudio and 
alsamixer recently I got resolved through some hacking it may be 
instructive to describe here.  I had moved my computer from one room to 
another and for whatever reason the speaker output arbitrarily got moved 
back to the 3.5MM jack rather than a usb port and the usb port had my 
best speakers playing on it.  Adjusting pulseaudio did nothing to 
correct the speaker output.  I had to adjust alsamixer and pulseaudio to 
fix the issue.


On Tue, 10 Jan 2017, Stefan Monnier wrote:


Date: Tue, 10 Jan 2017 00:55:40
From: Stefan Monnier <monn...@iro.umontreal.ca>
To: debian-user@lists.debian.org
Subject: Re: Mute mutes speaker,
    but Unmute does not unmute speaker channel (XFCE4)
Resent-Date: Tue, 10 Jan 2017 05:56:09 + (UTC)
Resent-From: debian-user@lists.debian.org


Once a speaker is unmuted it may help to check the volume levels on all
sound devices.  I suspect when mute speaker is done, all volume levels also
get set to 0, and sink for that speaker has its default value erased.


You mean, we can/should use alsamixer and friends to fix the mess by hand?
Yes, that's what I do, but I'd really like to better understand who
makes this mess, why, and how I can tell it to stop doing that.

I.e. when I press that mute/unmute button, what is the path followed by
this event through the various layers of event handling, and along this
path, where (in which tool) is it decided which channel to mute or to
unmute (or to change the volume level), based on what configuration
data, and which tool does actually perform this action (in case it's
not the same as the tool which made the decision)?  I suspect there
might also be several tools making and applying those decisions and that
might be part of the problem (at least that has been the case for the
LCD brightness management which has historically been handled at all
kinds of places with various successes at avoiding conflicts between
them).


   Stefan



On Mon, 9 Jan 2017, Stefan Monnier wrote:



Date: Mon, 9 Jan 2017 22:42:39
From: Stefan Monnier <monn...@iro.umontreal.ca>
To: debian-user@lists.debian.org
Subject: Re: Mute mutes speaker,
but Unmute does not unmute speaker channel (XFCE4)
Resent-Date: Tue, 10 Jan 2017 03:43:32 + (UTC)
Resent-From: debian-user@lists.debian.org


But somehow would like to fix the unmute, not unmuting speaker channel
and don't know where to look.


If/when you do find out, please report here: I've had similar problems
on my laptops but could never figure out how those things are expected
to work nor how to change their behavior.


Stefan








--



Re: Mute mutes speaker, but Unmute does not unmute speaker channel (XFCE4)

2017-01-09 Thread Stefan Monnier
> Once a speaker is unmuted it may help to check the volume levels on all
> sound devices.  I suspect when mute speaker is done, all volume levels also
> get set to 0, and sink for that speaker has its default value erased.

You mean, we can/should use alsamixer and friends to fix the mess by hand?
Yes, that's what I do, but I'd really like to better understand who
makes this mess, why, and how I can tell it to stop doing that.

I.e. when I press that mute/unmute button, what is the path followed by
this event through the various layers of event handling, and along this
path, where (in which tool) is it decided which channel to mute or to
unmute (or to change the volume level), based on what configuration
data, and which tool does actually perform this action (in case it's
not the same as the tool which made the decision)?  I suspect there
might also be several tools making and applying those decisions and that
might be part of the problem (at least that has been the case for the
LCD brightness management which has historically been handled at all
kinds of places with various successes at avoiding conflicts between
them).


Stefan


> On Mon, 9 Jan 2017, Stefan Monnier wrote:

>> Date: Mon, 9 Jan 2017 22:42:39
>> From: Stefan Monnier <monn...@iro.umontreal.ca>
>> To: debian-user@lists.debian.org
>> Subject: Re: Mute mutes speaker,
>> but Unmute does not unmute speaker channel (XFCE4)
>> Resent-Date: Tue, 10 Jan 2017 03:43:32 + (UTC)
>> Resent-From: debian-user@lists.debian.org
>> 
>>> But somehow would like to fix the unmute, not unmuting speaker channel
>>> and don't know where to look.
>> 
>> If/when you do find out, please report here: I've had similar problems
>> on my laptops but could never figure out how those things are expected
>> to work nor how to change their behavior.
>> 
>> 
>> Stefan
>> 
>> 




Re: Mute mutes speaker, but Unmute does not unmute speaker channel (XFCE4)

2017-01-09 Thread Jude DaShiell
Once a speaker is unmuted it may help to check the volume levels on all 
sound devices.  I suspect when mute speaker is done, all volume levels 
also get set to 0, and sink for that speaker has its default value 
erased.


On Mon, 9 Jan 2017, Stefan Monnier wrote:


Date: Mon, 9 Jan 2017 22:42:39
From: Stefan Monnier <monn...@iro.umontreal.ca>
To: debian-user@lists.debian.org
Subject: Re: Mute mutes speaker,
    but Unmute does not unmute speaker channel (XFCE4)
Resent-Date: Tue, 10 Jan 2017 03:43:32 + (UTC)
Resent-From: debian-user@lists.debian.org


But somehow would like to fix the unmute, not unmuting speaker channel
and don't know where to look.


If/when you do find out, please report here: I've had similar problems
on my laptops but could never figure out how those things are expected
to work nor how to change their behavior.


   Stefan




--



Re: Mute mutes speaker, but Unmute does not unmute speaker channel (XFCE4)

2017-01-09 Thread Stefan Monnier
> But somehow would like to fix the unmute, not unmuting speaker channel
> and don't know where to look.

If/when you do find out, please report here: I've had similar problems
on my laptops but could never figure out how those things are expected
to work nor how to change their behavior.


Stefan