Re: nvram polling for hardware mixer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 15 Jun 2007, Matthew Garrett wrote:
> On Fri, Jun 15, 2007 at 10:44:26AM -0300, Henrique de Moraes Holschuh wrote:
> > On Fri, 15 Jun 2007, Matthew Garrett wrote:
> > > This problem already has to be dealt with in brightness control, so I'd 
> > > just send the keys. FWIW, it turns out that slaving the volume keys to 
> > > the master volume actually works surprisingly well - it's not "correct", 
> > > but it's pretty close to the expected behaviour for the user. Sending 
> > 
> > I am not sure I follow.  You want the internal mixer to be adjusted (the
> > hardware does it no matter what) and ALSO the AC97 mixer to be adjusted?
> 
> No, I think the buttons should generate KEY_VOLUMEUP, KEY_VOLUMEDOWN and 
> KEY_MUTE. Hal can then be given an fdi file that tells it that the 
> Thinkpad mixer works independently of userspace (like we already do for 
> brightness) and userspace can draw little graphics showing the current 
> mixer volume.

Ok. I will leave them at KEY_RESERVED, but operational.  If HAL remaps them,
it will get the key presses, and it should know what to do with them.

Note that I still intend to push for a ALSA hardware mixer interface to
control the built-in mixer.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux