On Sun, Mar 23, 2014 at 02:27:57PM +0100, Alexandre Ratchov wrote:
> On Sun, Mar 23, 2014 at 10:50:21AM +0100, Remi Locherer wrote:
> > On Sat, Mar 22, 2014 at 04:31:22PM -0600, Theo de Raadt wrote:
> > > > > Date: Sat, 22 Mar 2014 21:49:19 +0100 (CET)
> > > > > From: remi.loche...@relo.ch
> > > > > 
> > > > >       With the snapshot from March 22 the volume keys on my ThinkPad
> > > > >       x201 do not work anymore. mixerctl still works. Before I was
> > > > >       running the snapshot from Feb 3 with which the volume keys
> > > > >       worked.
> > > > 
> > > > The volume keys still work.  What changed is that the volume keys no
> > > > longer control the hardware mixer directly anymore when you're running
> > > > X.  Instead the volume key events are passed to whatever X application
> > > > is running.  If you're running mplayer, you'll see that the volume
> > > > keys still control the volume and give you feedback on the screen.  If
> > > > you run gnome, you'll see something similar.
> > > > 
> > > > The problem you might experience is that the x201 boots up with the
> > > > hardware mixer set to a fairly low level.  And the software volume
> > > > control in most X applications won't change it so you won't be able to
> > > > go any higher by just pressing the volume keys.
> >  
> > When several X applications are running which one should get the event?
> > 
> > I cranked outputs.master to 200 and tested with smplayer and aqualung
> > both playing something. The volume keys had no audible nor visual effect.
> 
> Do volume keys work when smplayer and aqualung have the keyboard
> focus ?

No, it does not work with smplayer and aqualung. But it works with
mplayer when it has the focus.

> > > So we should take all our hardware mixers, and crank them to full
> > > volume right at boot time.
> > > 
> > > Except that would be bad.  So this indicates that the new mixer layer
> > > has a problem.
> > 
> > The old behaviour where the volume keys manipulated outputs.master was
> > more intuitive to me. 
> 
> yes but it doesn't work in all cases :(

Reply via email to