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. On systems which are unaware of this, the worst-case scenario is that pushing the buttons alters both the hardware mixer and the master volume control. This isn't ideal but it also doesn't seem to cause any problems. -- Matthew Garrett | mjg59@xxxxxxxxxxxxx ------------------------------------------------------------------------- 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