hwmonN sensor paths can change #12
Labels
No labels
accidental feature
again!?
docs
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: NG-SD-Plugins/Fantastic#12
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As seen in https://github.com/NGnius/Fantastic/blob/main/backend-rs/src/sys.rs, the paths to the sensors are hardcoded to
.../hwmon5/...
This really isn't ideal as hwmon indices aren't fixed but dependent on module loading order and thus may change on reboot.
(For me personally
fan1_input
isn inhwmon4
so I cannot really use this Fantastic (pun intended) plugin)To fix this, the index should be queried dynamically instead of being hardcoded
From my experience, module load order is consistent on Steam Deck so this is good enough. If you're using a different kernel or a completely different system then it's going to break but then that's fine since Fantastic only supports SteamOS 3 on Steam Deck right now.