Re: [ibm-acpi-devel] [GIT PATCH] thinkpad-acpi second set of changes for 2.6.33

2009-12-15 Thread Len Brown
applied to acpi-test thanks, Len Brown, Intel Open Source Technology Center -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streaml

[ibm-acpi-devel] [PATCH 4/8] thinkpad-acpi: support MUTE-only ThinkPads

2009-12-15 Thread Henrique de Moraes Holschuh
Lenovo removed the extra mixer since the T61 and thereabouts. Newer Lenovo models only have the mute gate function, and leave the volume control to the HDA mixer. Until a way to automatically query the firmware about its audio control capabilities is discovered (there might not be any), use a whit

[ibm-acpi-devel] [PATCH 3/8] thinkpad-acpi: volume subdriver rewrite

2009-12-15 Thread Henrique de Moraes Holschuh
I don't trust the coupled EC writes and SMI calls the current volume control code does very much, although it is exactly what the IBM DSDTs seem to do (they never do more than a single step though). Change the driver to stop issuing SMIs, and just drive the EC directly to the desired level (DSDTs

[ibm-acpi-devel] [PATCH 5/8] thinkpad-acpi: disable volume control

2009-12-15 Thread Henrique de Moraes Holschuh
Disable volume control by default. It can be enabled at module load time by a module parameter (volume_control=1). The audio control mixer that thinkpad-acpi interacts with is fully functional without any drivers, and operated by hotkeys. The idea behind the console audio control is that the hum

[ibm-acpi-devel] [PATCH 7/8] thinkpad-acpi: convert to seq_file

2009-12-15 Thread Henrique de Moraes Holschuh
From: Alexey Dobriyan Signed-off-by: Alexey Dobriyan Signed-off-by: Henrique de Moraes Holschuh --- drivers/platform/x86/thinkpad_acpi.c | 285 -- 1 files changed, 132 insertions(+), 153 deletions(-) diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers

[ibm-acpi-devel] [PATCH 6/8] thinkpad-acpi: basic ALSA mixer support (v2)

2009-12-15 Thread Henrique de Moraes Holschuh
Add the basic ALSA mixer functionality. The mixer is event-driven, and will work fine on IBM ThinkPads. I expect Lenovo ThinkPads will cause some trouble with the event interface. Heavily based on work by Lorne Applebaum and ideas from Matthew Garrett . Signed-off-by: Henrique de Moraes Holsch

[ibm-acpi-devel] [PATCH 2/8] thinkpad-acpi: log initial state of rfkill switches

2009-12-15 Thread Henrique de Moraes Holschuh
We already log the initial state of the hardware rfkill switch (WLSW), might as well log the state of the softswitches as well. Signed-off-by: Henrique de Moraes Holschuh Cc: Josip Rodin --- drivers/platform/x86/thinkpad_acpi.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) d

[ibm-acpi-devel] [PATCH 1/8] thinkpad-acpi: sync input device EV_SW initial state

2009-12-15 Thread Henrique de Moraes Holschuh
Before we register the input device, sync the input layer EV_SW state through a call to input_report_switch(), to avoid issuing a gratuitous event for the initial state of these switches. This fixes some annoyances caused by the interaction with rfkill and EV_SW SW_RFKILL_ALL events. Reported-by:

[ibm-acpi-devel] [GIT PATCH] thinkpad-acpi second set of changes for 2.6.33

2009-12-15 Thread Henrique de Moraes Holschuh
Len, This is the second set of changes to thinkpad-acpi, for the merge window. Patch 1 has been reworked as per Dmitry's comments. The other patches are new. Please apply to acpi-test. Thank you! Shortlog: Alexey Dobriyan (1): thinkpad-acpi: convert to seq_file Henrique de Moraes Hols

[ibm-acpi-devel] [PATCH 8/8] thinkpad-acpi: bump version to 0.24

2009-12-15 Thread Henrique de Moraes Holschuh
Signed-off-by: Henrique de Moraes Holschuh --- Documentation/laptops/thinkpad-acpi.txt |4 ++-- drivers/platform/x86/thinkpad_acpi.c|2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/laptops/thinkpad-acpi.txt b/Documentation/laptops/thinkpad-acpi.txt