Commit 3d85167
[FROM-ML] platform/x86: asus-armoury: expose requires_fan_curve via sysfs
Expose the per-model requires_fan_curve flag as a read-only sysfs
attribute so userspace tools (asusctl, rogcc) can discover whether
the system requires an active custom fan curve for PPT changes to
take effect, and warn the user before issuing such writes.
The attribute appears at:
/sys/class/firmware-attributes/asus-armoury/attributes/requires_fan_curve
Document the attribute in
Documentation/ABI/testing/sysfs-class-firmware-attributes.
Signed-off-by: Ahmed Yaseen <yaseen@ghoul.dev>1 parent 5bfffe3 commit 3d85167
2 files changed
Lines changed: 40 additions & 0 deletions
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
130 | 137 | | |
131 | 138 | | |
132 | 139 | | |
| |||
914 | 921 | | |
915 | 922 | | |
916 | 923 | | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
917 | 930 | | |
918 | 931 | | |
919 | 932 | | |
| |||
987 | 1000 | | |
988 | 1001 | | |
989 | 1002 | | |
| 1003 | + | |
990 | 1004 | | |
991 | 1005 | | |
992 | 1006 | | |
| |||
1161 | 1175 | | |
1162 | 1176 | | |
1163 | 1177 | | |
| 1178 | + | |
1164 | 1179 | | |
1165 | 1180 | | |
1166 | 1181 | | |
| |||
0 commit comments