Debian Codegraph @

Documentation/hwmon/macsmc-hwmon.rst

raw
1 .. SPDX-License-Identifier: GPL-2.0-only
2
3 Kernel driver macsmc-hwmon
4 ==========================
5
6 Supported hardware
7
8 * Apple Silicon Macs (M1 and up)
9
10 Author: James Calligeros <[email protected]>
11
12 Description
13 -----------
14
15 macsmc-hwmon exposes the Apple System Management controller's
16 temperature, voltage, current and power sensors, as well as
17 fan speed and control capabilities, via hwmon.
18
19 Because each Apple Silicon Mac exposes a different set of sensors
20 (e.g. the MacBooks expose battery telemetry that is not present on
21 the desktop Macs), sensors present on any given machine are described
22 via Devicetree. The driver picks these up and registers them with
23 hwmon when probed.
24
25 Manual fan speed is supported via the fan_control module parameter. This
26 is disabled by default and marked as unsafe, as it cannot be proven that
27 the system will fail safe if overheating due to manual fan control being
28 used.
29
30 sysfs interface
31 ---------------
32
33 currX_input
34 Ammeter value
35
36 currX_label
37 Ammeter label
38
39 fanX_input
40 Current fan speed
41
42 fanX_label
43 Fan label
44
45 fanX_min
46 Minimum possible fan speed
47
48 fanX_max
49 Maximum possible fan speed
50
51 fanX_target
52 Current fan setpoint
53
54 inX_input
55 Voltmeter value
56
57 inX_label
58 Voltmeter label
59
60 powerX_input
61 Power meter value
62
63 powerX_label
64 Power meter label
65
66 tempX_input
67 Temperature sensor value
68
69 tempX_label
70 Temperature sensor label
71