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
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
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
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
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
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
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
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:
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
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
10 matches
Mail list logo