-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'platform-drivers-x86-v4.1-1' of git://git.infradead.org/us…
…ers/dvhart/linux-platform-drivers-x86 Pull x86 platform driver updates from Darren Hart: "This series includes significant updates to the toshiba_acpi driver and the reintroduction of the dell-laptop keyboard backlight additions I had to revert previously. Also included are various fixes for typos, warnings, correctness, and minor bugs. Specifics: dell-laptop: - add support for keyboard backlight. toshiba_acpi: - adaptive keyboard, hotkey, USB sleep and charge, and backlight updates. Update sysfs documentation. toshiba_bluetooth: - fix enabling/disabling loop on recent devices apple-gmux: - lock iGP IO to protect from vgaarb changes other: - Fix typos, clear gcc warnings, clarify pr_* messages, correct return types, update MAINTAINERS" * tag 'platform-drivers-x86-v4.1-1' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86: (25 commits) toshiba_acpi: Do not register vendor backlight when acpi_video bl is available MAINTAINERS: Add me on list of Dell laptop drivers platform: x86: dell-laptop: Add support for keyboard backlight Documentation/ABI: Update sysfs-driver-toshiba_acpi entry toshiba_acpi: Fix pr_* messages from USB Sleep Functions toshiba_acpi: Update and fix USB Sleep and Charge modes wmi: Use bool function return values of true/false not 1/0 toshiba_bluetooth: Fix enabling/disabling loop on recent devices toshiba_bluetooth: Clean up *_add function and disable BT device at removal toshiba_bluetooth: Add three new functions to the driver toshiba_acpi: Fix the enabling of the Special Functions toshiba_acpi: Use the Hotkey Event Type function for keymap choosing toshiba_acpi: Add Hotkey Event Type function and definitions x86/wmi: delete unused wmi_data_lock mutex causing gcc warning apple-gmux: lock iGP IO to protect from vgaarb changes MAINTAINERS: Add missing Toshiba devices and add myself as maintainer toshiba_acpi: Update events in toshiba_acpi_notify intel-oaktrail: Fix trivial typo in comment thinkpad_acpi: off by one in adaptive_keyboard_hotkey_notify_hotkey() thinkpad_acpi: signedness bugs getting current_mode ...
- Loading branch information
Showing
12 changed files
with
1,838 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
What: /sys/class/leds/dell::kbd_backlight/als_enabled | ||
Date: December 2014 | ||
KernelVersion: 3.19 | ||
Contact: Gabriele Mazzotta <gabriele.mzt@gmail.com>, | ||
Pali Rohár <pali.rohar@gmail.com> | ||
Description: | ||
This file allows to control the automatic keyboard | ||
illumination mode on some systems that have an ambient | ||
light sensor. Write 1 to this file to enable the auto | ||
mode, 0 to disable it. | ||
|
||
What: /sys/class/leds/dell::kbd_backlight/als_setting | ||
Date: December 2014 | ||
KernelVersion: 3.19 | ||
Contact: Gabriele Mazzotta <gabriele.mzt@gmail.com>, | ||
Pali Rohár <pali.rohar@gmail.com> | ||
Description: | ||
This file allows to specifiy the on/off threshold value, | ||
as reported by the ambient light sensor. | ||
|
||
What: /sys/class/leds/dell::kbd_backlight/start_triggers | ||
Date: December 2014 | ||
KernelVersion: 3.19 | ||
Contact: Gabriele Mazzotta <gabriele.mzt@gmail.com>, | ||
Pali Rohár <pali.rohar@gmail.com> | ||
Description: | ||
This file allows to control the input triggers that | ||
turn on the keyboard backlight illumination that is | ||
disabled because of inactivity. | ||
Read the file to see the triggers available. The ones | ||
enabled are preceded by '+', those disabled by '-'. | ||
|
||
To enable a trigger, write its name preceded by '+' to | ||
this file. To disable a trigger, write its name preceded | ||
by '-' instead. | ||
|
||
For example, to enable the keyboard as trigger run: | ||
echo +keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers | ||
To disable it: | ||
echo -keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers | ||
|
||
Note that not all the available triggers can be configured. | ||
|
||
What: /sys/class/leds/dell::kbd_backlight/stop_timeout | ||
Date: December 2014 | ||
KernelVersion: 3.19 | ||
Contact: Gabriele Mazzotta <gabriele.mzt@gmail.com>, | ||
Pali Rohár <pali.rohar@gmail.com> | ||
Description: | ||
This file allows to specify the interval after which the | ||
keyboard illumination is disabled because of inactivity. | ||
The timeouts are expressed in seconds, minutes, hours and | ||
days, for which the symbols are 's', 'm', 'h' and 'd' | ||
respectively. | ||
|
||
To configure the timeout, write to this file a value along | ||
with any the above units. If no unit is specified, the value | ||
is assumed to be expressed in seconds. | ||
|
||
For example, to set the timeout to 10 minutes run: | ||
echo 10m > /sys/class/leds/dell::kbd_backlight/stop_timeout | ||
|
||
Note that when this file is read, the returned value might be | ||
expressed in a different unit than the one used when the timeout | ||
was set. | ||
|
||
Also note that only some timeouts are supported and that | ||
some systems might fall back to a specific timeout in case | ||
an invalid timeout is written to this file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.