Skip to content

Commit 385336e

Browse files
committed
Merge tag 'platform-drivers-x86-v3.19-1' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86
Pull x86 platform driver update from Darren Hart: - thinkpad-acpi: Switch to software mute, cleanups - acerhdf: Bang-bang thermal governor, new models, cleanups - dell-laptop: New keyboard backlight support and documentation - toshiba_acpi: Keyboard backlight updates, hotkey handling - dell-wmi: Keypress filtering, WMI event processing - eeepc-laptop: Multiple cleanups, improved error handling, documentation - hp_wireless: Inform the user if hp_wireless_input_setup()/add() fails - misc: Code cleanups, quirks, various new IDs * tag 'platform-drivers-x86-v3.19-1' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86: (33 commits) platform/x86/acerhdf: Still depends on THERMAL Documentation: Add entry for dell-laptop sysfs interface acpi: Remove _OSI(Linux) for ThinkPads thinkpad-acpi: Try to use full software mute control acerhdf: minor clean up acerhdf: added critical trip point acerhdf: Use bang-bang thermal governor acerhdf: Adding support for new models acerhdf: Adding support for "manual mode" dell-smo8800: Add more ACPI ids and change description of driver platform: x86: dell-laptop: Add support for keyboard backlight toshiba_acpi: Add keyboard backlight mode change event toshiba_acpi: Change notify funtion to handle more events toshiba_acpi: Move hotkey enabling code to its own function dell-wmi: Don't report keypresses on keybord illumination change dell-wmi: Don't report keypresses for radio state changes hp_wireless: Inform the user if hp_wireless_input_setup()/add() fails toshiba-acpi: Add missing ID (TOS6207) Sony-laptop: Deletion of an unnecessary check before the function call "pci_dev_put" platform: x86: Deletion of checks before backlight_device_unregister() ...
2 parents ebcffcd + 200db64 commit 385336e

22 files changed

Lines changed: 1767 additions & 401 deletions
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
What: /sys/class/leds/dell::kbd_backlight/als_setting
2+
Date: December 2014
3+
KernelVersion: 3.19
4+
Contact: Gabriele Mazzotta <gabriele.mzt@gmail.com>,
5+
Pali Rohár <pali.rohar@gmail.com>
6+
Description:
7+
This file allows to control the automatic keyboard
8+
illumination mode on some systems that have an ambient
9+
light sensor. Write 1 to this file to enable the auto
10+
mode, 0 to disable it.
11+
12+
What: /sys/class/leds/dell::kbd_backlight/start_triggers
13+
Date: December 2014
14+
KernelVersion: 3.19
15+
Contact: Gabriele Mazzotta <gabriele.mzt@gmail.com>,
16+
Pali Rohár <pali.rohar@gmail.com>
17+
Description:
18+
This file allows to control the input triggers that
19+
turn on the keyboard backlight illumination that is
20+
disabled because of inactivity.
21+
Read the file to see the triggers available. The ones
22+
enabled are preceded by '+', those disabled by '-'.
23+
24+
To enable a trigger, write its name preceded by '+' to
25+
this file. To disable a trigger, write its name preceded
26+
by '-' instead.
27+
28+
For example, to enable the keyboard as trigger run:
29+
echo +keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers
30+
To disable it:
31+
echo -keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers
32+
33+
Note that not all the available triggers can be configured.
34+
35+
What: /sys/class/leds/dell::kbd_backlight/stop_timeout
36+
Date: December 2014
37+
KernelVersion: 3.19
38+
Contact: Gabriele Mazzotta <gabriele.mzt@gmail.com>,
39+
Pali Rohár <pali.rohar@gmail.com>
40+
Description:
41+
This file allows to specify the interval after which the
42+
keyboard illumination is disabled because of inactivity.
43+
The timeouts are expressed in seconds, minutes, hours and
44+
days, for which the symbols are 's', 'm', 'h' and 'd'
45+
respectively.
46+
47+
To configure the timeout, write to this file a value along
48+
with any the above units. If no unit is specified, the value
49+
is assumed to be expressed in seconds.
50+
51+
For example, to set the timeout to 10 minutes run:
52+
echo 10m > /sys/class/leds/dell::kbd_backlight/stop_timeout
53+
54+
Note that when this file is read, the returned value might be
55+
expressed in a different unit than the one used when the timeout
56+
was set.
57+
58+
Also note that only some timeouts are supported and that
59+
some systems might fall back to a specific timeout in case
60+
an invalid timeout is written to this file.

‎drivers/acpi/blacklist.c‎

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -304,60 +304,6 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = {
304304
* Linux ignores it, except for the machines enumerated below.
305305
*/
306306

307-
/*
308-
* Lenovo has a mix of systems OSI(Linux) situations
309-
* and thus we can not wildcard the vendor.
310-
*
311-
* _OSI(Linux) helps sound
312-
* DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad R61"),
313-
* DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T61"),
314-
* T400, T500
315-
* _OSI(Linux) has Linux specific hooks
316-
* DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X61"),
317-
* _OSI(Linux) is a NOP:
318-
* DMI_MATCH(DMI_PRODUCT_VERSION, "3000 N100"),
319-
* DMI_MATCH(DMI_PRODUCT_VERSION, "LENOVO3000 V100"),
320-
*/
321-
{
322-
.callback = dmi_enable_osi_linux,
323-
.ident = "Lenovo ThinkPad R61",
324-
.matches = {
325-
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
326-
DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad R61"),
327-
},
328-
},
329-
{
330-
.callback = dmi_enable_osi_linux,
331-
.ident = "Lenovo ThinkPad T61",
332-
.matches = {
333-
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
334-
DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T61"),
335-
},
336-
},
337-
{
338-
.callback = dmi_enable_osi_linux,
339-
.ident = "Lenovo ThinkPad X61",
340-
.matches = {
341-
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
342-
DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X61"),
343-
},
344-
},
345-
{
346-
.callback = dmi_enable_osi_linux,
347-
.ident = "Lenovo ThinkPad T400",
348-
.matches = {
349-
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
350-
DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T400"),
351-
},
352-
},
353-
{
354-
.callback = dmi_enable_osi_linux,
355-
.ident = "Lenovo ThinkPad T500",
356-
.matches = {
357-
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
358-
DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T500"),
359-
},
360-
},
361307
/*
362308
* Without this this EEEpc exports a non working WMI interface, with
363309
* this it exports a working "good old" eeepc_laptop interface, fixing

‎drivers/platform/x86/Kconfig‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ config ACER_WMI
3838

3939
config ACERHDF
4040
tristate "Acer Aspire One temperature and fan driver"
41-
depends on THERMAL && ACPI
41+
depends on ACPI && THERMAL
42+
select THERMAL_GOV_BANG_BANG
4243
---help---
4344
This is a driver for Acer Aspire One netbooks. It allows to access
4445
the temperature sensor and to control the fan.
@@ -128,10 +129,10 @@ config DELL_WMI_AIO
128129
be called dell-wmi-aio.
129130

130131
config DELL_SMO8800
131-
tristate "Dell Latitude freefall driver (ACPI SMO8800/SMO8810)"
132+
tristate "Dell Latitude freefall driver (ACPI SMO88XX)"
132133
depends on ACPI
133134
---help---
134-
Say Y here if you want to support SMO8800/SMO8810 freefall device
135+
Say Y here if you want to support SMO88XX freefall devices
135136
on Dell Latitude laptops.
136137

137138
To compile this driver as a module, choose M here: the module will

0 commit comments

Comments
 (0)