Lines Matching +full:current +full:- +full:speed

1 .. SPDX-License-Identifier: GPL-2.0-or-later
5 Kernel driver dell-smm-hwmon
8 :Copyright: |copy| 2002-2005 Massimo Dal Zotto <dz@debian.org>
12 -----------
18 automatically adjust fan speed (please notice that it currently uses
24 -------------------
35 fan[1-3]_input RO Fan speed in RPM.
36 fan[1-3]_label RO Fan label.
37 fan[1-3]_min RO Minimal Fan speed in RPM
38 fan[1-3]_max RO Maximal Fan speed in RPM
39 fan[1-3]_target RO Expected Fan speed in RPM
40 pwm[1-3] RW Control the fan PWM duty-cycle.
44 temp[1-10]_input RO Temperature reading in milli-degrees
46 temp[1-10]_label RO Temperature sensor label.
53 ------------------------------------
55 On some laptops the BIOS automatically sets fan speed every few
56 seconds. Therefore the fan speed set by mean of this driver is quickly
74 ``drivers/hwmon/dell-smm-hwmon.c`` in the kernel tree: as a first
75 attempt you can try to add your machine and use an already-known code
77 is present and works (i.e., you can manually control the fan speed),
80 :ref:`Documentation/process/submitting-patches.rst <submittingpatches>`
93 ---------------------------
96 ``type`` set to ``dell-smm-fan[1-3]``. This allows for easy fan control
100 -----------------
126 Factor to multiply fan speed with. (default:
130 Maximum configurable fan speed. (default:
134 --------------------------
151 | | | | | | | | | +------- 10. buttons status
152 | | | | | | | | +--------- 9. AC status
153 | | | | | | | +-------------- 8. fan0 RPM
154 | | | | | | +------------------- 7. fan1 RPM
155 | | | | | +--------------------- 6. fan0 status
156 | | | | +----------------------- 5. fan1 status
157 | | | +-------------------------- 4. temp0 reading (Celsius)
158 … | | +---------------------------------- 3. Dell service tag (later known as 'serial number')
159 | +-------------------------------------- 2. BIOS version
160 +------------------------------------------ 1. /proc/i8k format version
162 A negative value, for example -22, indicates that the BIOS doesn't
171 available -1 is printed instead.
180 -------------
182 .. warning:: The SMM interface was reverse-engineered by trial-and-error
187 This interface is normally used by Dell's 32-bit diagnostic program or
211 - setting the lower sixteen bits of ``eax`` to ``0xffff``
212 - not modifying ``eax`` at all
213 - setting the carry flag
216 -----------------
223 - 9th bit in ``eax`` indicates Volume up
224 - 10th bit in ``eax`` indicates Volume down
225 - both bits indicate Volume mute
227 ``0xa069`` Get power status Returns current power status after SMM:
229 - 1st bit in ``eax`` indicates Battery connected
230 - 3th bit in ``eax`` indicates AC connected
232 ``0x00a3`` Get fan state Returns current fan state after SMM:
234 - 1st byte in ``eax`` holds the current
235 fan state (0 - 2 or 3)
237 ``0x01a3`` Set fan state Sets the fan speed:
239 - 1st byte in ``ebx`` holds the fan number
240 - 2nd byte in ``ebx`` holds the desired
241 fan state (0 - 2 or 3)
243 ``0x02a3`` Get fan speed Returns the current fan speed in RPM:
245 - 1st byte in ``ebx`` holds the fan number
246 - 1st word in ``eax`` holds the current
247 fan speed in RPM (after SMM)
251 - 1st byte in ``ebx`` holds the fan number
252 - 1st byte in ``eax`` holds the
255 - 5th bit indicates docking fan
256 - 1 indicates Processor fan
257 - 2 indicates Motherboard fan
258 - 3 indicates Video fan
259 - 4 indicates Power supply fan
260 - 5 indicates Chipset fan
261 - 6 indicates other fan type
263 ``0x04a3`` Get nominal fan speed Returns the nominal RPM in each fan state:
265 - 1st byte in ``ebx`` holds the fan number
266 - 2nd byte in ``ebx`` holds the fan state
267 in question (0 - 2 or 3)
268 - 1st word in ``eax`` holds the nominal
269 fan speed in RPM (after SMM)
271 ``0x05a3`` Get fan speed tolerance Returns the speed tolerance for each fan state:
273 - 1st byte in ``ebx`` holds the fan number
274 - 2nd byte in ``ebx`` holds the fan state
275 in question (0 - 2 or 3)
276 - 1st byte in ``eax`` returns the speed
281 - 1st byte in ``ebx`` holds the sensor number
282 - 1st byte in ``eax`` holds the measured
287 - 1st byte in ``ebx`` holds the sensor number
288 - 1st byte in ``eax`` holds the
291 - 1 indicates CPU sensor
292 - 2 indicates GPU sensor
293 - 3 indicates SODIMM sensor
294 - 4 indicates other sensor type
295 - 5 indicates Ambient sensor
296 - 6 indicates other sensor type
301 - ``eax`` holds 1145651527
303 - ``edx`` holds 1145392204
310 disabling (``0x30a3`` or ``0x34a3``) automatic fan speed control.
322 -------------
339 Fan-related SMM calls take too long (about 500ms). Inspiron 7720
352 -----------