Commit 1046cac
platform/x86: thinkpad_acpi: Fix invalid fan speed on ThinkPad X120e
On ThinkPad X120e, fan speed is reported in ticks per revolution
rather than RPM.
Recalculate the fan speed value reported for ThinkPad X120e
to RPM based on a 22.5 kHz clock.
Based on the information on
https://www.thinkwiki.org/wiki/How_to_control_fan_speed,
the same problem is highly likely to be relevant to at least Edge11,
but Edge11 is not addressed in this patch.
Signed-off-by: Sybil Isabel Dorsett <sybdorsett@proton.me>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20250203163255.5525-1-sybdorsett@proton.me
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>1 parent a787ab7 commit 1046cac
1 file changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7885 | 7885 | | |
7886 | 7886 | | |
7887 | 7887 | | |
| 7888 | + | |
7888 | 7889 | | |
7889 | 7890 | | |
7890 | 7891 | | |
| |||
7940 | 7941 | | |
7941 | 7942 | | |
7942 | 7943 | | |
| 7944 | + | |
7943 | 7945 | | |
7944 | 7946 | | |
7945 | 7947 | | |
| |||
8142 | 8144 | | |
8143 | 8145 | | |
8144 | 8146 | | |
8145 | | - | |
| 8147 | + | |
8146 | 8148 | | |
| 8149 | + | |
| 8150 | + | |
| 8151 | + | |
8147 | 8152 | | |
8148 | 8153 | | |
8149 | 8154 | | |
| |||
8176 | 8181 | | |
8177 | 8182 | | |
8178 | 8183 | | |
8179 | | - | |
| 8184 | + | |
8180 | 8185 | | |
| 8186 | + | |
| 8187 | + | |
| 8188 | + | |
8181 | 8189 | | |
8182 | 8190 | | |
8183 | 8191 | | |
| |||
8788 | 8796 | | |
8789 | 8797 | | |
8790 | 8798 | | |
| 8799 | + | |
8791 | 8800 | | |
8792 | 8801 | | |
8793 | 8802 | | |
| |||
8817 | 8826 | | |
8818 | 8827 | | |
8819 | 8828 | | |
| 8829 | + | |
8820 | 8830 | | |
8821 | 8831 | | |
8822 | 8832 | | |
| |||
8887 | 8897 | | |
8888 | 8898 | | |
8889 | 8899 | | |
| 8900 | + | |
| 8901 | + | |
8890 | 8902 | | |
8891 | 8903 | | |
8892 | 8904 | | |
| |||
0 commit comments