diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-26 16:44:46 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-26 16:44:46 -0400 |
| commit | 78d425677217b655ed36c492a070b5002832fc73 (patch) | |
| tree | a178a3bf773027f3a70ecec1ad6f9d35074e4263 /Documentation/ABI/testing | |
| parent | 36a8032d77649430f5ef11fbf0df2bb026be0b04 (diff) | |
| parent | 358d6a2c3ecae2b22c7d7e61f9d5672557446dfb (diff) | |
Merge tag 'platform-drivers-x86-v4.1-1' of git://git.infradead.org/users/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
...
Diffstat (limited to 'Documentation/ABI/testing')
| -rw-r--r-- | Documentation/ABI/testing/sysfs-driver-toshiba_acpi | 93 | ||||
| -rw-r--r-- | Documentation/ABI/testing/sysfs-platform-dell-laptop | 69 |
2 files changed, 149 insertions, 13 deletions
diff --git a/Documentation/ABI/testing/sysfs-driver-toshiba_acpi b/Documentation/ABI/testing/sysfs-driver-toshiba_acpi index ca9c71a531c5..eed922ef42e5 100644 --- a/Documentation/ABI/testing/sysfs-driver-toshiba_acpi +++ b/Documentation/ABI/testing/sysfs-driver-toshiba_acpi | |||
| @@ -8,9 +8,11 @@ Description: This file controls the keyboard backlight operation mode, valid | |||
| 8 | * 0x2 -> AUTO (also called TIMER) | 8 | * 0x2 -> AUTO (also called TIMER) |
| 9 | * 0x8 -> ON | 9 | * 0x8 -> ON |
| 10 | * 0x10 -> OFF | 10 | * 0x10 -> OFF |
| 11 | Note that the kernel 3.16 onwards this file accepts all listed | 11 | Note that from kernel 3.16 onwards this file accepts all listed |
| 12 | parameters, kernel 3.15 only accepts the first two (FN-Z and | 12 | parameters, kernel 3.15 only accepts the first two (FN-Z and |
| 13 | AUTO). | 13 | AUTO). |
| 14 | Also note that toggling this value on type 1 devices, requires | ||
| 15 | a reboot for changes to take effect. | ||
| 14 | Users: KToshiba | 16 | Users: KToshiba |
| 15 | 17 | ||
| 16 | What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/kbd_backlight_timeout | 18 | What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/kbd_backlight_timeout |
| @@ -67,15 +69,72 @@ Description: This file shows the current keyboard backlight type, | |||
| 67 | * 2 -> Type 2, supporting modes TIMER, ON and OFF | 69 | * 2 -> Type 2, supporting modes TIMER, ON and OFF |
| 68 | Users: KToshiba | 70 | Users: KToshiba |
| 69 | 71 | ||
| 72 | What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/usb_sleep_charge | ||
| 73 | Date: January 23, 2015 | ||
| 74 | KernelVersion: 4.0 | ||
| 75 | Contact: Azael Avalos <coproscefalo@gmail.com> | ||
| 76 | Description: This file controls the USB Sleep & Charge charging mode, which | ||
| 77 | can be: | ||
| 78 | * 0 -> Disabled (0x00) | ||
| 79 | * 1 -> Alternate (0x09) | ||
| 80 | * 2 -> Auto (0x21) | ||
| 81 | * 3 -> Typical (0x11) | ||
| 82 | Note that from kernel 4.1 onwards this file accepts all listed | ||
| 83 | values, kernel 4.0 only supports the first three. | ||
| 84 | Note that this feature only works when connected to power, if | ||
| 85 | you want to use it under battery, see the entry named | ||
| 86 | "sleep_functions_on_battery" | ||
| 87 | Users: KToshiba | ||
| 88 | |||
| 89 | What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/sleep_functions_on_battery | ||
| 90 | Date: January 23, 2015 | ||
| 91 | KernelVersion: 4.0 | ||
| 92 | Contact: Azael Avalos <coproscefalo@gmail.com> | ||
| 93 | Description: This file controls the USB Sleep Functions under battery, and | ||
| 94 | set the level at which point they will be disabled, accepted | ||
| 95 | values can be: | ||
| 96 | * 0 -> Disabled | ||
| 97 | * 1-100 -> Battery level to disable sleep functions | ||
| 98 | Currently it prints two values, the first one indicates if the | ||
| 99 | feature is enabled or disabled, while the second one shows the | ||
| 100 | current battery level set. | ||
| 101 | Note that when the value is set to disabled, the sleep function | ||
| 102 | will only work when connected to power. | ||
| 103 | Users: KToshiba | ||
| 104 | |||
| 105 | What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/usb_rapid_charge | ||
| 106 | Date: January 23, 2015 | ||
| 107 | KernelVersion: 4.0 | ||
| 108 | Contact: Azael Avalos <coproscefalo@gmail.com> | ||
| 109 | Description: This file controls the USB Rapid Charge state, which can be: | ||
| 110 | * 0 -> Disabled | ||
| 111 | * 1 -> Enabled | ||
| 112 | Note that toggling this value requires a reboot for changes to | ||
| 113 | take effect. | ||
| 114 | Users: KToshiba | ||
| 115 | |||
| 116 | What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/usb_sleep_music | ||
| 117 | Date: January 23, 2015 | ||
| 118 | KernelVersion: 4.0 | ||
| 119 | Contact: Azael Avalos <coproscefalo@gmail.com> | ||
| 120 | Description: This file controls the Sleep & Music state, which values can be: | ||
| 121 | * 0 -> Disabled | ||
| 122 | * 1 -> Enabled | ||
| 123 | Note that this feature only works when connected to power, if | ||
| 124 | you want to use it under battery, see the entry named | ||
| 125 | "sleep_functions_on_battery" | ||
| 126 | Users: KToshiba | ||
| 127 | |||
| 70 | What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/version | 128 | What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/version |
| 71 | Date: February, 2015 | 129 | Date: February 12, 2015 |
| 72 | KernelVersion: 3.20 | 130 | KernelVersion: 4.0 |
| 73 | Contact: Azael Avalos <coproscefalo@gmail.com> | 131 | Contact: Azael Avalos <coproscefalo@gmail.com> |
| 74 | Description: This file shows the current version of the driver | 132 | Description: This file shows the current version of the driver |
| 133 | Users: KToshiba | ||
| 75 | 134 | ||
| 76 | What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/fan | 135 | What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/fan |
| 77 | Date: February, 2015 | 136 | Date: February 12, 2015 |
| 78 | KernelVersion: 3.20 | 137 | KernelVersion: 4.0 |
| 79 | Contact: Azael Avalos <coproscefalo@gmail.com> | 138 | Contact: Azael Avalos <coproscefalo@gmail.com> |
| 80 | Description: This file controls the state of the internal fan, valid | 139 | Description: This file controls the state of the internal fan, valid |
| 81 | values are: | 140 | values are: |
| @@ -83,8 +142,8 @@ Description: This file controls the state of the internal fan, valid | |||
| 83 | * 1 -> ON | 142 | * 1 -> ON |
| 84 | 143 | ||
| 85 | What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/kbd_function_keys | 144 | What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/kbd_function_keys |
| 86 | Date: February, 2015 | 145 | Date: February 12, 2015 |
| 87 | KernelVersion: 3.20 | 146 | KernelVersion: 4.0 |
| 88 | Contact: Azael Avalos <coproscefalo@gmail.com> | 147 | Contact: Azael Avalos <coproscefalo@gmail.com> |
| 89 | Description: This file controls the Special Functions (hotkeys) operation | 148 | Description: This file controls the Special Functions (hotkeys) operation |
| 90 | mode, valid values are: | 149 | mode, valid values are: |
| @@ -94,21 +153,29 @@ Description: This file controls the Special Functions (hotkeys) operation | |||
| 94 | and the hotkeys are accessed via FN-F{1-12}. | 153 | and the hotkeys are accessed via FN-F{1-12}. |
| 95 | In the "Special Functions" mode, the F{1-12} keys trigger the | 154 | In the "Special Functions" mode, the F{1-12} keys trigger the |
| 96 | hotkey and the F{1-12} keys are accessed via FN-F{1-12}. | 155 | hotkey and the F{1-12} keys are accessed via FN-F{1-12}. |
| 156 | Note that toggling this value requires a reboot for changes to | ||
| 157 | take effect. | ||
| 158 | Users: KToshiba | ||
| 97 | 159 | ||
| 98 | What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/panel_power_on | 160 | What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/panel_power_on |
| 99 | Date: February, 2015 | 161 | Date: February 12, 2015 |
| 100 | KernelVersion: 3.20 | 162 | KernelVersion: 4.0 |
| 101 | Contact: Azael Avalos <coproscefalo@gmail.com> | 163 | Contact: Azael Avalos <coproscefalo@gmail.com> |
| 102 | Description: This file controls whether the laptop should turn ON whenever | 164 | Description: This file controls whether the laptop should turn ON whenever |
| 103 | the LID is opened, valid values are: | 165 | the LID is opened, valid values are: |
| 104 | * 0 -> Disabled | 166 | * 0 -> Disabled |
| 105 | * 1 -> Enabled | 167 | * 1 -> Enabled |
| 168 | Note that toggling this value requires a reboot for changes to | ||
| 169 | take effect. | ||
| 170 | Users: KToshiba | ||
| 106 | 171 | ||
| 107 | What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/usb_three | 172 | What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS{1900,620{0,7,8}}:00/usb_three |
| 108 | Date: February, 2015 | 173 | Date: February 12, 2015 |
| 109 | KernelVersion: 3.20 | 174 | KernelVersion: 4.0 |
| 110 | Contact: Azael Avalos <coproscefalo@gmail.com> | 175 | Contact: Azael Avalos <coproscefalo@gmail.com> |
| 111 | Description: This file controls whether the USB 3 functionality, valid | 176 | Description: This file controls the USB 3 functionality, valid values are: |
| 112 | values are: | ||
| 113 | * 0 -> Disabled (Acts as a regular USB 2) | 177 | * 0 -> Disabled (Acts as a regular USB 2) |
| 114 | * 1 -> Enabled (Full USB 3 functionality) | 178 | * 1 -> Enabled (Full USB 3 functionality) |
| 179 | Note that toggling this value requires a reboot for changes to | ||
| 180 | take effect. | ||
| 181 | Users: KToshiba | ||
diff --git a/Documentation/ABI/testing/sysfs-platform-dell-laptop b/Documentation/ABI/testing/sysfs-platform-dell-laptop new file mode 100644 index 000000000000..8c6a0b8e1131 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-platform-dell-laptop | |||
| @@ -0,0 +1,69 @@ | |||
| 1 | What: /sys/class/leds/dell::kbd_backlight/als_enabled | ||
| 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/als_setting | ||
| 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 specifiy the on/off threshold value, | ||
| 19 | as reported by the ambient light sensor. | ||
| 20 | |||
| 21 | What: /sys/class/leds/dell::kbd_backlight/start_triggers | ||
| 22 | Date: December 2014 | ||
| 23 | KernelVersion: 3.19 | ||
| 24 | Contact: Gabriele Mazzotta <gabriele.mzt@gmail.com>, | ||
| 25 | Pali Rohár <pali.rohar@gmail.com> | ||
| 26 | Description: | ||
| 27 | This file allows to control the input triggers that | ||
| 28 | turn on the keyboard backlight illumination that is | ||
| 29 | disabled because of inactivity. | ||
| 30 | Read the file to see the triggers available. The ones | ||
| 31 | enabled are preceded by '+', those disabled by '-'. | ||
| 32 | |||
| 33 | To enable a trigger, write its name preceded by '+' to | ||
| 34 | this file. To disable a trigger, write its name preceded | ||
| 35 | by '-' instead. | ||
| 36 | |||
| 37 | For example, to enable the keyboard as trigger run: | ||
| 38 | echo +keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers | ||
| 39 | To disable it: | ||
| 40 | echo -keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers | ||
| 41 | |||
| 42 | Note that not all the available triggers can be configured. | ||
| 43 | |||
| 44 | What: /sys/class/leds/dell::kbd_backlight/stop_timeout | ||
| 45 | Date: December 2014 | ||
| 46 | KernelVersion: 3.19 | ||
| 47 | Contact: Gabriele Mazzotta <gabriele.mzt@gmail.com>, | ||
| 48 | Pali Rohár <pali.rohar@gmail.com> | ||
| 49 | Description: | ||
| 50 | This file allows to specify the interval after which the | ||
| 51 | keyboard illumination is disabled because of inactivity. | ||
| 52 | The timeouts are expressed in seconds, minutes, hours and | ||
| 53 | days, for which the symbols are 's', 'm', 'h' and 'd' | ||
| 54 | respectively. | ||
| 55 | |||
| 56 | To configure the timeout, write to this file a value along | ||
| 57 | with any the above units. If no unit is specified, the value | ||
| 58 | is assumed to be expressed in seconds. | ||
| 59 | |||
| 60 | For example, to set the timeout to 10 minutes run: | ||
| 61 | echo 10m > /sys/class/leds/dell::kbd_backlight/stop_timeout | ||
| 62 | |||
| 63 | Note that when this file is read, the returned value might be | ||
| 64 | expressed in a different unit than the one used when the timeout | ||
| 65 | was set. | ||
| 66 | |||
| 67 | Also note that only some timeouts are supported and that | ||
| 68 | some systems might fall back to a specific timeout in case | ||
| 69 | an invalid timeout is written to this file. | ||
