Lines Matching +full:fan +full:- +full:driving +full:- +full:mode
9 - Borislav Deianov <borislav@users.sf.net>
10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br>
12 http://ibm-acpi.sf.net/
19 This driver used to be named ibm-acpi until kernel 2.6.21 and release
20 0.13-20070314. It used to be in the drivers/acpi tree, but it was
21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel
25 The driver is named "thinkpad-acpi". In some places, like module
29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too
33 ------
38 - Fn key combinations
39 - Bluetooth enable and disable
40 - video output switching, expansion control
41 - ThinkLight on and off
42 - CMOS/UCMS control
43 - LED control
44 - ACPI sounds
45 - temperature sensors
46 - Experimental: embedded controller register dump
47 - LCD brightness control
48 - Volume control
49 - Fan control and monitoring: fan speed, fan enable/disable
50 - WAN enable and disable
51 - UWB enable and disable
52 - LCD Shadow (PrivacyGuard) enable and disable
53 - Lap mode sensor
54 - Setting keyboard language
55 - WWAN Antenna type
56 - Auxmac
59 site, http://ibm-acpi.sf.net/. I appreciate any success or failure
63 - ThinkPad model name
64 - a copy of your ACPI tables, using the "acpidump" utility
65 - a copy of the output of dmidecode, with serial numbers
67 - which driver features work and which don't
68 - the observed behavior of non-working features
74 ------------
78 It is located on the menu path: "Device Drivers" -> "X86 Platform
79 Specific Device Drivers" -> "ThinkPad ACPI Laptop Extras".
83 --------
86 used to access the features it provides. One is a legacy procfs-based
88 is a new sysfs-based interface which is not complete yet.
107 thinkpad-acpi's implementation of sysfs interfaces.
109 Also, any bugs in the thinkpad-acpi sysfs driver code or in the
110 thinkpad-acpi's implementation of the sysfs interfaces will be fixed for
112 non-compatible ways. As these interfaces mature both in the kernel and
113 in thinkpad-acpi, such changes should become quite rare.
115 Applications interfacing to the thinkpad-acpi sysfs interfaces must
120 The version of thinkpad-acpi's sysfs interface is exported by the driver
130 Sysfs device attributes for the sensors and fan are on the
138 --------------
148 -----------------------
152 Version of the thinkpad-acpi sysfs interface, as an unsigned long
156 - major revision
158 - minor revision
160 - bugfix revision
167 Changes to the thinkpad-acpi sysfs interface are only considered
168 non-experimental when they are submitted to Linux mainline, at which
170 may be updated. If you are using any thinkpad-acpi features not yet
175 Changes that are backwards-compatible by nature (e.g. the addition of
184 --------
192 system. Enabling the hotkey functionality of thinkpad-acpi signals the
213 thinkpad-acpi would prefer to handle it, if the firmware would be so
240 echo 0xffffffff > /proc/acpi/ibm/hotkey -- enable all hot keys
241 echo 0 > /proc/acpi/ibm/hotkey -- disable all possible hot keys
242 ... any other 8-hex-digit mask ...
243 echo reset > /proc/acpi/ibm/hotkey -- restore the recommended mask
248 echo enable > /proc/acpi/ibm/hotkey -- does nothing
249 echo disable > /proc/acpi/ibm/hotkey -- returns an error
252 maintain maximum bug-to-bug compatibility, it does not report any masks,
267 Returns the hot keys mask when thinkpad-acpi was loaded.
276 0: returns -EPERM
302 poll the NVRAM for. This is auto-detected by the driver
311 Warning: when in NVRAM mode, the volume up/down/mute
315 interface. When in ACPI event mode, volume up/down/mute
318 version -- not just with firmware models -- as well as
345 will read 0 if the ThinkPad is in normal mode, and
346 1 if the ThinkPad is in tablet mode.
354 undock. Set to zero for normal wake-ups or wake-ups
392 backwards-compatible way. The MSB shall always be 0x41 for this input
396 been changed in a non-backwards compatible way.
399 backwards-compatible change for this input device.
401 Thinkpad-acpi Hot Key event map (version 0x4101):
407 0x1001 0x00 FN+F1 -
417 off the ThinkLight as side-effect
421 semantics, i.e. sleep-to-RAM).
433 and W-WAN card if left in control
437 radios (Bluetooth+W-WAN+WLAN),
440 0x1006 0x05 FN+F6 -
451 0x1009 0x08 FN+F9 -
455 0x100B 0x0A FN+F11 -
467 0x100D 0x0C FN+BACKSPACE -
468 0x100E 0x0D FN+INSERT -
469 0x100F 0x0E FN+DELETE -
487 0x1013 0x12 FN+PGDOWN -
509 0x131f ... FN+F8 Platform Mode change.
530 In addition to the EV_KEY events, thinkpad-acpi may also issue EV_SW
539 ------------------------------
550 0x5009 Tablet swivel: switched to tablet mode
551 0x500A Tablet swivel: switched to normal mode
570 0x4010 Docked into hotplug port replicator (non-ACPI dock)
571 0x4011 Undocked from hotplug port replicator (non-ACPI dock)
581 0x60C0 X1 Yoga 2016, Tablet mode status changed
617 ---------
629 so it is kept across reboots and power-off.
643 disabled through the "bluetooth_enable" thinkpad-acpi device
648 - 0: disables Bluetooth / Bluetooth is disabled
649 - 1: enables Bluetooth / Bluetooth is enabled.
656 Documentation/driver-api/rfkill.rst for details.
659 Video output control -- /proc/acpi/ibm/video
660 --------------------------------------------
662 This feature allows control over the devices used for video output -
692 (it simulates the behavior of Fn-F7).
696 mode with less than full resolution is used. Note that the current
701 Fn-F7 from working. This also disables the video output switching
703 Fn-F7. Video switching on the console should still work.
709 ------------------
729 documentation, in Documentation/leds/leds-class.rst. The ThinkLight LED name
733 cannot be read or if it is unknown, thinkpad-acpi will report it as "off".
738 -----------------
758 - 0 - Related to "Volume down" key press
759 - 1 - Related to "Volume up" key press
760 - 2 - Related to "Mute on" key press
761 - 3 - Related to "Access IBM" key press
762 - 4 - Related to "LCD brightness up" key press
763 - 5 - Related to "LCD brightness down" key press
764 - 11 - Related to "toggle screen expansion" key press/function
765 - 12 - Related to "ThinkLight on"
766 - 13 - Related to "ThinkLight off"
767 - 14 - Related to "ThinkLight" key press (toggle ThinkLight)
769 The cmos command interface is prone to firmware split-brain problems, as
775 -----------
791 Unrestricted access to all LEDs requires that thinkpad-acpi be
797 visible to userspace. They are used by the snd-hda-intel audio driver.
812 - 0 - power
813 - 1 - battery (orange)
814 - 2 - battery (green)
815 - 3 - UltraBase/dock
816 - 4 - UltraBay
817 - 5 - UltraBase battery slot
818 - 6 - (unknown)
819 - 7 - standby
820 - 8 - dock status 1
821 - 9 - dock status 2
822 - 10, 11 - (unknown)
823 - 12 - thinkvantage
824 - 13, 14, 15 - (unknown)
832 documentation, in Documentation/leds/leds-class.rst.
842 indicators cannot be read due to an error, thinkpad-acpi will report it as
850 ThinkPad indicator LED should blink in hardware accelerated mode, use the
858 a report to ibm-acpi-devel@lists.sourceforge.net is appreciated.
861 ACPI sounds -- /proc/acpi/ibm/beep
862 ----------------------------------
868 The commands are non-negative integer numbers::
876 - 0 - stop a sound in progress (but use 17 to stop 16)
877 - 2 - two beeps, pause, third beep ("low battery")
878 - 3 - single beep
879 - 4 - high, followed by low-pitched beep ("unable")
880 - 5 - single beep
881 - 6 - very high, followed by high-pitched beep ("AC/DC")
882 - 7 - high-pitched beep
883 - 9 - three short beeps
884 - 10 - very long beep
885 - 12 - low-pitched beep
886 - 15 - three high-pitched beeps repeating constantly, stop with 0
887 - 16 - one medium-pitched beep repeating constantly, stop with 17
888 - 17 - stop 16
892 -------------------
906 42 42 45 41 36 -128 33 -128
911 48 48 36 52 38 -128 31 -128 48 52 48 -128 -128 -128 -128 -128
914 system-board model (and thus, on ThinkPad model).
921 - 1: CPU
922 - 2: (depends on model)
923 - 3: (depends on model)
924 - 4: GPU
925 - 5: Main battery: main sensor
926 - 6: Bay battery: main sensor
927 - 7: Main battery: secondary sensor
928 - 8: Bay battery: secondary sensor
929 - 9-15: (depends on model)
933 - 2: Mini-PCI
934 - 3: Internal HDD
939 - 2: System board, left side (near PCMCIA slot), reported as HDAPS temp
940 - 3: PCMCIA slot
941 - 9: MCH (northbridge) to DRAM Bus
942 - 10: Clock-generator, mini-pci card and ICH (southbridge), under Mini-PCI
944 - 11: Power regulator, underside of system board, below F2 key
949 - 1: CPU
950 - 2: Main Battery: main sensor
951 - 3: Power Converter
952 - 4: Bay Battery: main sensor
953 - 5: MCH (northbridge)
954 - 6: PCMCIA/ambient
955 - 7: Main Battery: secondary sensor
956 - 8: Bay Battery: secondary sensor
962 Readings from sensors that are not available return -128.
972 thinkpad-acpi thermal sensors are reported through the hwmon
977 -----------------------------------------------
984 Use it to determine the register holding the fan
987 - make sure the battery is fully charged
988 - make sure the fan is running
989 - use above mentioned tool to read out the EC
991 Often fan and temperature values vary between
996 embedded controller registers - e.g. make sure nothing else changes
1004 ----------------------
1026 EC mode, brightness_mode=2 selects UCMS mode, brightness_mode=3 selects EC
1027 mode with NVRAM backing (so that brightness changes are remembered across
1038 ThinkPad-specific interface. The driver will disable its native
1042 If you want to use the thinkpad-acpi backlight brightness control
1085 power management mode, where 0 is "display on", and 1 to 3
1087 because thinkpad-acpi cannot really turn the backlight
1095 Whatever you do, do NOT ever call thinkpad-acpi backlight-level change
1096 interface and the ACPI-based backlight level change interface
1104 --------------------------------------
1110 NOTE: by default, the volume control interface operates in read-only
1111 mode, as it is supposed to be used for on-screen-display purposes.
1112 The read/write mode can be enabled through the use of the
1118 the desktop environment to just provide on-screen-display feedback.
1126 ThinkPads have a built-in amplifier and muting circuit that drives the
1143 This is a very superior design when compared to the cheap software-only
1144 mute-toggle solution found on normal consumer laptops: you can be
1148 The IBM ThinkPads, and the earlier Lenovo ThinkPads have variable-gain
1149 amplifiers driving the speakers and headphone output, and the firmware
1159 normal key presses to the operating system (thinkpad-acpi is not
1163 The ThinkPad-ACPI volume control
1184 whether your thinkpad has volume control or mute-only control:
1189 please report this to ibm-acpi-devel@lists.sourceforge.net, so that we
1194 selects EC mode, and volume_mode=3 selects EC mode with NVRAM backing
1199 ibm-acpi-devel@lists.sourceforge.net.
1205 Fan control and monitoring: fan speed, fan enable/disable
1206 ---------------------------------------------------------
1208 procfs: /proc/acpi/ibm/fan
1215 fan control operations are disabled by default for
1217 must be given to thinkpad-acpi.
1219 This feature attempts to show the current fan speed, control mode and
1220 other fan data that might be available. The speed is read directly
1225 Some Lenovo ThinkPads support a secondary fan. This fan cannot be
1226 controlled separately, it shares the main fan control.
1228 Fan levels
1232 stops the fan. The higher the level, the higher the fan speed, although
1233 adjacent levels often map to the same fan speed. 7 is the highest
1234 level, where the fan reaches the maximum recommended speed.
1236 Level "auto" means the EC changes the fan level according to some
1239 There is also a "full-speed" level, also known as "disengaged" level.
1240 In this level, the EC disables the speed-locked closed-loop fan control,
1241 and drives the fan as fast as it can go, which might exceed hardware
1244 The fan usually ramps up or down slowly from one speed to another, and
1245 it is normal for the EC to take several seconds to react to fan
1246 commands. The full-speed level may take up to two minutes to ramp up to
1248 while the EC is transitioning to the full-speed level.
1250 WARNING WARNING WARNING: do not leave the fan disabled unless you are
1254 An enabled fan in level "auto" may stop spinning if the EC decides the
1256 normal, and the EC will spin the fan up if the various thermal readings
1260 Specifically, the fan is turned on when either the CPU temperature
1262 fan is turned off when the CPU temperature drops to 49 degrees and the
1266 The ThinkPad's ACPI DSDT code will reprogram the fan on its own when
1267 certain conditions are met. It will override any fan programming done
1268 through thinkpad-acpi.
1270 The thinkpad-acpi kernel driver can be programmed to revert the fan
1272 fan commands: "enable", "disable", "level" or "watchdog", or if there
1274 set to 1, manual mode) within a configurable amount of time of up to
1275 120 seconds. This functionality is called fan safety watchdog.
1277 Note that the watchdog timer stops after it enables the fan. It will be
1279 above mentioned fan commands is received. The fan watchdog is,
1280 therefore, not suitable to protect against fan mode changes made through
1281 means other than the "enable", "disable", and "level" procfs fan
1282 commands, or the hwmon fan control sysfs interface.
1287 The fan may be enabled or disabled with the following commands::
1289 echo enable >/proc/acpi/ibm/fan
1290 echo disable >/proc/acpi/ibm/fan
1292 Placing a fan on level 0 is the same as disabling it. Enabling a fan
1295 The fan level can be controlled with the command::
1297 echo 'level <level>' > /proc/acpi/ibm/fan
1300 "full-speed" (without the quotes). Not all ThinkPads support the "auto"
1301 and "full-speed" levels. The driver accepts "disengaged" as an alias for
1302 "full-speed", and reports it as "disengaged" for backwards
1305 On the X31 and X40 (and ONLY on those models), the fan speed can be
1306 controlled to a certain degree. Once the fan is running, it can be
1309 echo 'speed <speed>' > /proc/acpi/ibm/fan
1311 The sustainable range of fan speeds on the X40 appears to be from about
1313 effect or the fan speed eventually settles somewhere in that range. The
1314 fan cannot be stopped or started with this command. This functionality
1319 echo 'watchdog <interval in seconds>' > /proc/acpi/ibm/fan
1327 part, and the exception is the fan safety watchdog.
1331 is out-of-bounds, and EPERM if it is forbidden. They may also return
1338 - 0: PWM offline (fan is set to full-speed mode)
1339 - 1: Manual PWM control (use pwm1 to set fan level)
1340 - 2: Hardware PWM control (EC "auto" mode)
1341 - 3: reserved (Software PWM control, not implemented yet)
1345 mode is unsupported, it will return -EINVAL.
1348 Fan level, scaled from the firmware values of 0-7 to the hwmon
1349 scale of 0-255. 0 means fan stopped, 255 means highest normal
1352 This attribute only commands the fan if pmw1_enable is set to 1
1356 Fan tachometer reading, in RPM. May go stale on certain
1357 ThinkPads while the EC transitions the PWM to offline mode,
1362 Fan tachometer reading, in RPM, for the secondary fan.
1363 Available only on some ThinkPads. If the secondary fan is
1367 Fan safety watchdog timer interval, in seconds. Minimum is
1370 To stop the fan: set pwm1 to zero, and pwm1_enable to 1.
1372 To start the fan in a safe mode: set pwm1_enable to 2. If that fails
1378 ---
1386 This feature shows the presence and current state of the built-in
1390 so it is kept across reboots and power-off.
1398 If the W-WAN card is installed, the following commands can be used::
1406 If the W-WAN card is installed, it can be enabled /
1407 disabled through the "wwan_enable" thinkpad-acpi device
1411 - 0: disables WWAN card / WWAN card is disabled
1412 - 1: enables WWAN card / WWAN card is enabled.
1419 Documentation/driver-api/rfkill.rst for details.
1423 ------------------
1445 -------------------
1453 they differ between desk and lap mode.
1455 The property is read-only. If the platform doesn't have support the sysfs
1459 -----------------
1475 Documentation/driver-api/rfkill.rst for details.
1479 -------------------------
1496 fr(French), fr-ch(French(Switzerland)), hu(Hungarian), it(Italy), jp (Japan),
1501 -----------------
1514 - type a
1515 - type b
1517 The property is read-only. If the platform doesn't have support the sysfs
1521 ------
1525 Some newer Thinkpads have a feature called MAC Address Pass-through. This
1528 network. This property enables user-space to easily determine the MAC address
1537 This property is read-only.
1540 -----------------
1548 - 0 = Home mode
1549 - 1 = Web-browser mode
1550 - 2 = Web-conference mode
1551 - 3 = Function mode
1552 - 4 = Layflat mode
1554 For more details about which buttons will appear depending on the mode, please
1559 ----------------------
1573 Documentation/ABI/testing/sysfs-class-power.
1576 ------------------------------------
1584 Commands can also be specified when loading the thinkpad-acpi module,
1591 -------------------------
1611 0x0010 Fan control
1625 -----------------------
1627 If thinkpad-acpi refuses to detect your ThinkPad, you can try to specify
1629 not, please contact ibm-acpi-devel@lists.sourceforge.net with a report.
1647 and the hwmon class for libsensors4 (lm-sensors 3)
1651 0x020100: Marker for thinkpad-acpi with hot key NVRAM polling
1656 0x020101: Marker for thinkpad-acpi with hot key NVRAM polling
1680 0x020700: Support for mute-only mixers.
1681 Volume control in read-only mode by default.
1684 0x030000: Thermal and fan sysfs attributes were moved to the hwmon