diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/thinkpad-acpi.txt | 61 |
1 files changed, 35 insertions, 26 deletions
diff --git a/Documentation/thinkpad-acpi.txt b/Documentation/thinkpad-acpi.txt index ec499265deca..a743bfa62b95 100644 --- a/Documentation/thinkpad-acpi.txt +++ b/Documentation/thinkpad-acpi.txt | |||
@@ -923,19 +923,26 @@ sysfs backlight device "thinkpad_screen" | |||
923 | This feature allows software control of the LCD brightness on ThinkPad | 923 | This feature allows software control of the LCD brightness on ThinkPad |
924 | models which don't have a hardware brightness slider. | 924 | models which don't have a hardware brightness slider. |
925 | 925 | ||
926 | It has some limitations: the LCD backlight cannot be actually turned on or off | 926 | It has some limitations: the LCD backlight cannot be actually turned on or |
927 | by this interface, and in many ThinkPad models, the "dim while on battery" | 927 | off by this interface, and in many ThinkPad models, the "dim while on |
928 | functionality will be enabled by the BIOS when this interface is used, and | 928 | battery" functionality will be enabled by the BIOS when this interface is |
929 | cannot be controlled. | 929 | used, and cannot be controlled. |
930 | 930 | ||
931 | The backlight control has eight levels, ranging from 0 to 7. Some of the | 931 | On IBM (and some of the earlier Lenovo) ThinkPads, the backlight control |
932 | levels may not be distinct. | 932 | has eight brightness levels, ranging from 0 to 7. Some of the levels |
933 | 933 | may not be distinct. Later Lenovo models that implement the ACPI | |
934 | There are two interfaces to the firmware for brightness control, EC and CMOS. | 934 | display backlight brightness control methods have 16 levels, ranging |
935 | To select which one should be used, use the brightness_mode module parameter: | 935 | from 0 to 15. |
936 | brightness_mode=1 selects EC mode, brightness_mode=2 selects CMOS mode, | 936 | |
937 | brightness_mode=3 selects both EC and CMOS. The driver tries to autodetect | 937 | There are two interfaces to the firmware for direct brightness control, |
938 | which interface to use. | 938 | EC and CMOS. To select which one should be used, use the |
939 | brightness_mode module parameter: brightness_mode=1 selects EC mode, | ||
940 | brightness_mode=2 selects CMOS mode, brightness_mode=3 selects both EC | ||
941 | and CMOS. The driver tries to autodetect which interface to use. | ||
942 | |||
943 | When display backlight brightness controls are available through the | ||
944 | standard ACPI interface, it is best to use it instead of this direct | ||
945 | ThinkPad-specific interface. | ||
939 | 946 | ||
940 | Procfs notes: | 947 | Procfs notes: |
941 | 948 | ||
@@ -947,11 +954,11 @@ Procfs notes: | |||
947 | 954 | ||
948 | Sysfs notes: | 955 | Sysfs notes: |
949 | 956 | ||
950 | The interface is implemented through the backlight sysfs class, which is poorly | 957 | The interface is implemented through the backlight sysfs class, which is |
951 | documented at this time. | 958 | poorly documented at this time. |
952 | 959 | ||
953 | Locate the thinkpad_screen device under /sys/class/backlight, and inside it | 960 | Locate the thinkpad_screen device under /sys/class/backlight, and inside |
954 | there will be the following attributes: | 961 | it there will be the following attributes: |
955 | 962 | ||
956 | max_brightness: | 963 | max_brightness: |
957 | Reads the maximum brightness the hardware can be set to. | 964 | Reads the maximum brightness the hardware can be set to. |
@@ -961,17 +968,19 @@ there will be the following attributes: | |||
961 | Reads what brightness the screen is set to at this instant. | 968 | Reads what brightness the screen is set to at this instant. |
962 | 969 | ||
963 | brightness: | 970 | brightness: |
964 | Writes request the driver to change brightness to the given | 971 | Writes request the driver to change brightness to the |
965 | value. Reads will tell you what brightness the driver is trying | 972 | given value. Reads will tell you what brightness the |
966 | to set the display to when "power" is set to zero and the display | 973 | driver is trying to set the display to when "power" is set |
967 | has not been dimmed by a kernel power management event. | 974 | to zero and the display has not been dimmed by a kernel |
975 | power management event. | ||
968 | 976 | ||
969 | power: | 977 | power: |
970 | power management mode, where 0 is "display on", and 1 to 3 will | 978 | power management mode, where 0 is "display on", and 1 to 3 |
971 | dim the display backlight to brightness level 0 because | 979 | will dim the display backlight to brightness level 0 |
972 | thinkpad-acpi cannot really turn the backlight off. Kernel | 980 | because thinkpad-acpi cannot really turn the backlight |
973 | power management events can temporarily increase the current | 981 | off. Kernel power management events can temporarily |
974 | power management level, i.e. they can dim the display. | 982 | increase the current power management level, i.e. they can |
983 | dim the display. | ||
975 | 984 | ||
976 | 985 | ||
977 | Volume control -- /proc/acpi/ibm/volume | 986 | Volume control -- /proc/acpi/ibm/volume |