diff options
Diffstat (limited to 'Documentation/laptops/thinkpad-acpi.txt')
| -rw-r--r-- | Documentation/laptops/thinkpad-acpi.txt | 47 |
1 files changed, 37 insertions, 10 deletions
diff --git a/Documentation/laptops/thinkpad-acpi.txt b/Documentation/laptops/thinkpad-acpi.txt index 78e354b42f67..f2296ecedb89 100644 --- a/Documentation/laptops/thinkpad-acpi.txt +++ b/Documentation/laptops/thinkpad-acpi.txt | |||
| @@ -920,7 +920,7 @@ The available commands are: | |||
| 920 | echo '<LED number> off' >/proc/acpi/ibm/led | 920 | echo '<LED number> off' >/proc/acpi/ibm/led |
| 921 | echo '<LED number> blink' >/proc/acpi/ibm/led | 921 | echo '<LED number> blink' >/proc/acpi/ibm/led |
| 922 | 922 | ||
| 923 | The <LED number> range is 0 to 7. The set of LEDs that can be | 923 | The <LED number> range is 0 to 15. The set of LEDs that can be |
| 924 | controlled varies from model to model. Here is the common ThinkPad | 924 | controlled varies from model to model. Here is the common ThinkPad |
| 925 | mapping: | 925 | mapping: |
| 926 | 926 | ||
| @@ -932,6 +932,11 @@ mapping: | |||
| 932 | 5 - UltraBase battery slot | 932 | 5 - UltraBase battery slot |
| 933 | 6 - (unknown) | 933 | 6 - (unknown) |
| 934 | 7 - standby | 934 | 7 - standby |
| 935 | 8 - dock status 1 | ||
| 936 | 9 - dock status 2 | ||
| 937 | 10, 11 - (unknown) | ||
| 938 | 12 - thinkvantage | ||
| 939 | 13, 14, 15 - (unknown) | ||
| 935 | 940 | ||
| 936 | All of the above can be turned on and off and can be made to blink. | 941 | All of the above can be turned on and off and can be made to blink. |
| 937 | 942 | ||
| @@ -940,10 +945,12 @@ sysfs notes: | |||
| 940 | The ThinkPad LED sysfs interface is described in detail by the LED class | 945 | The ThinkPad LED sysfs interface is described in detail by the LED class |
| 941 | documentation, in Documentation/leds-class.txt. | 946 | documentation, in Documentation/leds-class.txt. |
| 942 | 947 | ||
| 943 | The leds are named (in LED ID order, from 0 to 7): | 948 | The LEDs are named (in LED ID order, from 0 to 12): |
| 944 | "tpacpi::power", "tpacpi:orange:batt", "tpacpi:green:batt", | 949 | "tpacpi::power", "tpacpi:orange:batt", "tpacpi:green:batt", |
| 945 | "tpacpi::dock_active", "tpacpi::bay_active", "tpacpi::dock_batt", | 950 | "tpacpi::dock_active", "tpacpi::bay_active", "tpacpi::dock_batt", |
| 946 | "tpacpi::unknown_led", "tpacpi::standby". | 951 | "tpacpi::unknown_led", "tpacpi::standby", "tpacpi::dock_status1", |
| 952 | "tpacpi::dock_status2", "tpacpi::unknown_led2", "tpacpi::unknown_led3", | ||
| 953 | "tpacpi::thinkvantage". | ||
| 947 | 954 | ||
| 948 | Due to limitations in the sysfs LED class, if the status of the LED | 955 | Due to limitations in the sysfs LED class, if the status of the LED |
| 949 | indicators cannot be read due to an error, thinkpad-acpi will report it as | 956 | indicators cannot be read due to an error, thinkpad-acpi will report it as |
| @@ -958,6 +965,12 @@ ThinkPad indicator LED should blink in hardware accelerated mode, use the | |||
| 958 | "timer" trigger, and leave the delay_on and delay_off parameters set to | 965 | "timer" trigger, and leave the delay_on and delay_off parameters set to |
| 959 | zero (to request hardware acceleration autodetection). | 966 | zero (to request hardware acceleration autodetection). |
| 960 | 967 | ||
| 968 | LEDs that are known not to exist in a given ThinkPad model are not | ||
| 969 | made available through the sysfs interface. If you have a dock and you | ||
| 970 | notice there are LEDs listed for your ThinkPad that do not exist (and | ||
| 971 | are not in the dock), or if you notice that there are missing LEDs, | ||
| 972 | a report to ibm-acpi-devel@lists.sourceforge.net is appreciated. | ||
| 973 | |||
| 961 | 974 | ||
| 962 | ACPI sounds -- /proc/acpi/ibm/beep | 975 | ACPI sounds -- /proc/acpi/ibm/beep |
| 963 | ---------------------------------- | 976 | ---------------------------------- |
| @@ -1156,17 +1169,19 @@ may not be distinct. Later Lenovo models that implement the ACPI | |||
| 1156 | display backlight brightness control methods have 16 levels, ranging | 1169 | display backlight brightness control methods have 16 levels, ranging |
| 1157 | from 0 to 15. | 1170 | from 0 to 15. |
| 1158 | 1171 | ||
| 1159 | There are two interfaces to the firmware for direct brightness control, | 1172 | For IBM ThinkPads, there are two interfaces to the firmware for direct |
| 1160 | EC and UCMS (or CMOS). To select which one should be used, use the | 1173 | brightness control, EC and UCMS (or CMOS). To select which one should be |
| 1161 | brightness_mode module parameter: brightness_mode=1 selects EC mode, | 1174 | used, use the brightness_mode module parameter: brightness_mode=1 selects |
| 1162 | brightness_mode=2 selects UCMS mode, brightness_mode=3 selects EC | 1175 | EC mode, brightness_mode=2 selects UCMS mode, brightness_mode=3 selects EC |
| 1163 | mode with NVRAM backing (so that brightness changes are remembered | 1176 | mode with NVRAM backing (so that brightness changes are remembered across |
| 1164 | across shutdown/reboot). | 1177 | shutdown/reboot). |
| 1165 | 1178 | ||
| 1166 | The driver tries to select which interface to use from a table of | 1179 | The driver tries to select which interface to use from a table of |
| 1167 | defaults for each ThinkPad model. If it makes a wrong choice, please | 1180 | defaults for each ThinkPad model. If it makes a wrong choice, please |
| 1168 | report this as a bug, so that we can fix it. | 1181 | report this as a bug, so that we can fix it. |
| 1169 | 1182 | ||
| 1183 | Lenovo ThinkPads only support brightness_mode=2 (UCMS). | ||
| 1184 | |||
| 1170 | When display backlight brightness controls are available through the | 1185 | When display backlight brightness controls are available through the |
| 1171 | standard ACPI interface, it is best to use it instead of this direct | 1186 | standard ACPI interface, it is best to use it instead of this direct |
| 1172 | ThinkPad-specific interface. The driver will disable its native | 1187 | ThinkPad-specific interface. The driver will disable its native |
| @@ -1254,7 +1269,7 @@ Fan control and monitoring: fan speed, fan enable/disable | |||
| 1254 | 1269 | ||
| 1255 | procfs: /proc/acpi/ibm/fan | 1270 | procfs: /proc/acpi/ibm/fan |
| 1256 | sysfs device attributes: (hwmon "thinkpad") fan1_input, pwm1, | 1271 | sysfs device attributes: (hwmon "thinkpad") fan1_input, pwm1, |
| 1257 | pwm1_enable | 1272 | pwm1_enable, fan2_input |
| 1258 | sysfs hwmon driver attributes: fan_watchdog | 1273 | sysfs hwmon driver attributes: fan_watchdog |
| 1259 | 1274 | ||
| 1260 | NOTE NOTE NOTE: fan control operations are disabled by default for | 1275 | NOTE NOTE NOTE: fan control operations are disabled by default for |
| @@ -1267,6 +1282,9 @@ from the hardware registers of the embedded controller. This is known | |||
| 1267 | to work on later R, T, X and Z series ThinkPads but may show a bogus | 1282 | to work on later R, T, X and Z series ThinkPads but may show a bogus |
| 1268 | value on other models. | 1283 | value on other models. |
| 1269 | 1284 | ||
| 1285 | Some Lenovo ThinkPads support a secondary fan. This fan cannot be | ||
| 1286 | controlled separately, it shares the main fan control. | ||
| 1287 | |||
| 1270 | Fan levels: | 1288 | Fan levels: |
| 1271 | 1289 | ||
| 1272 | Most ThinkPad fans work in "levels" at the firmware interface. Level 0 | 1290 | Most ThinkPad fans work in "levels" at the firmware interface. Level 0 |
| @@ -1397,6 +1415,11 @@ hwmon device attribute fan1_input: | |||
| 1397 | which can take up to two minutes. May return rubbish on older | 1415 | which can take up to two minutes. May return rubbish on older |
| 1398 | ThinkPads. | 1416 | ThinkPads. |
| 1399 | 1417 | ||
| 1418 | hwmon device attribute fan2_input: | ||
| 1419 | Fan tachometer reading, in RPM, for the secondary fan. | ||
| 1420 | Available only on some ThinkPads. If the secondary fan is | ||
| 1421 | not installed, will always read 0. | ||
| 1422 | |||
| 1400 | hwmon driver attribute fan_watchdog: | 1423 | hwmon driver attribute fan_watchdog: |
| 1401 | Fan safety watchdog timer interval, in seconds. Minimum is | 1424 | Fan safety watchdog timer interval, in seconds. Minimum is |
| 1402 | 1 second, maximum is 120 seconds. 0 disables the watchdog. | 1425 | 1 second, maximum is 120 seconds. 0 disables the watchdog. |
| @@ -1555,3 +1578,7 @@ Sysfs interface changelog: | |||
| 1555 | 0x020300: hotkey enable/disable support removed, attributes | 1578 | 0x020300: hotkey enable/disable support removed, attributes |
| 1556 | hotkey_bios_enabled and hotkey_enable deprecated and | 1579 | hotkey_bios_enabled and hotkey_enable deprecated and |
| 1557 | marked for removal. | 1580 | marked for removal. |
| 1581 | |||
| 1582 | 0x020400: Marker for 16 LEDs support. Also, LEDs that are known | ||
| 1583 | to not exist in a given model are not registered with | ||
| 1584 | the LED sysfs class anymore. | ||
