Lines Matching +full:rpm +full:- +full:proc

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 -----------
19 the deprecated ``/proc/i8k`` interface).
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 ------------------------------------
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
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 -----------------
113 as root when using the legacy ``/proc/i8k``
122 Report AC status in ``/proc/i8k``. (default: 0,
133 Legacy ``/proc`` interface
134 --------------------------
142 simply reading the ``/proc/i8k`` file. For example::
144 $ cat /proc/i8k
147 The fields read from ``/proc/i8k`` are::
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
166 For performance reasons the ``/proc/i8k`` doesn't report by default
168 not really needed. If you want to see the ac status in ``/proc/i8k``
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
210 - setting the lower sixteen bits of ``eax`` to ``0xffff``
211 - not modifying ``eax`` at all
212 - setting the carry flag (legacy SMM interface only)
215 --------------------
222 -----------------
230 Description("RunDellDiag"), guid("{F1DDEE52-063C-4784-A11E-8A06684B9B01}")]
248 -----------------
255 - 9th bit in ``eax`` indicates Volume up
256 - 10th bit in ``eax`` indicates Volume down
257 - both bits indicate Volume mute
261 - 1st bit in ``eax`` indicates Battery connected
262 - 3th bit in ``eax`` indicates AC connected
266 - 1st byte in ``eax`` holds the current
267 fan state (0 - 2 or 3)
271 - 1st byte in ``ebx`` holds the fan number
272 - 2nd byte in ``ebx`` holds the desired
273 fan state (0 - 2 or 3)
275 ``0x02a3`` Get fan speed Returns the current fan speed in RPM:
277 - 1st byte in ``ebx`` holds the fan number
278 - 1st word in ``eax`` holds the current
279 fan speed in RPM (after SMM)
283 - 1st byte in ``ebx`` holds the fan number
284 - 1st byte in ``eax`` holds the
287 - 5th bit indicates docking fan
288 - 1 indicates Processor fan
289 - 2 indicates Motherboard fan
290 - 3 indicates Video fan
291 - 4 indicates Power supply fan
292 - 5 indicates Chipset fan
293 - 6 indicates other fan type
295 ``0x04a3`` Get nominal fan speed Returns the nominal RPM in each fan state:
297 - 1st byte in ``ebx`` holds the fan number
298 - 2nd byte in ``ebx`` holds the fan state
299 in question (0 - 2 or 3)
300 - 1st word in ``eax`` holds the nominal
301 fan speed in RPM (after SMM)
305 - 1st byte in ``ebx`` holds the fan number
306 - 2nd byte in ``ebx`` holds the fan state
307 in question (0 - 2 or 3)
308 - 1st byte in ``eax`` returns the speed
313 - 1st byte in ``ebx`` holds the sensor number
314 - 1st byte in ``eax`` holds the measured
319 - 1st byte in ``ebx`` holds the sensor number
320 - 1st byte in ``eax`` holds the
323 - 1 indicates CPU sensor
324 - 2 indicates GPU sensor
325 - 3 indicates SODIMM sensor
326 - 4 indicates other sensor type
327 - 5 indicates Ambient sensor
328 - 6 indicates other sensor type
333 - ``eax`` holds 1145651527
335 - ``edx`` holds 1145392204
350 but in case of the "magic" state, the nominal RPM reported for this state is a
354 -------------
373 Fan-related SMM calls take too long (about 500ms). Inspiron 7720
386 -----------