Re: [ibm-acpi-devel] [PATCH v3] thinkpad-acpi: Improve hardware volume controls

2011-05-14 Thread Henrique de Moraes Holschuh
On Sat, 14 May 2011, Andrew Lutomirski wrote: > I think that on Windows on everything older than X220, pressing mute > unconditionally mutes the sound, so it's a nice way to tell the system > "don't make noise, regardless of what current settings are." Yay, so the thinkpads have been un-dumbeddown

Re: [ibm-acpi-devel] [PATCH v3] thinkpad-acpi: Improve hardware volume controls

2011-05-14 Thread Andrew Lutomirski
On Sat, May 14, 2011 at 11:47 AM, Matthew Garrett wrote: > On Sat, May 14, 2011 at 11:34:25AM -0400, Andy Lutomirski wrote: > >> It turns out that we can ask ACPI for one of three behaviors >> directly.  They are "latch" (the default), "none" (no automatic >> control), and "toggle" (mute unmutes w

Re: [ibm-acpi-devel] [PATCH v3] thinkpad-acpi: Improve hardware volume controls

2011-05-14 Thread Matthew Garrett
On Sat, May 14, 2011 at 11:34:25AM -0400, Andy Lutomirski wrote: > It turns out that we can ask ACPI for one of three behaviors > directly. They are "latch" (the default), "none" (no automatic > control), and "toggle" (mute unmutes when muted). So we let the > user control the mode through sysfs

[ibm-acpi-devel] [PATCH v3] thinkpad-acpi: Improve hardware volume controls

2011-05-14 Thread Andy Lutomirski
ThinkPads have hardware volume controls and three buttons to control them. (These are separate from the standard mixer.) By default, the buttons are: - Mute: Mutes the hardware volume control and generates KEY_MUTE. - Up: Unmutes, generates KEY_VOLUMEUP, and increases volume if applicable.