PowerTools icon indicating copy to clipboard operation
PowerTools copied to clipboard

Non-standard Steam Deck OS setups are incompatible

Open NGnius opened this issue 2 years ago • 1 comments

Please confirm

  • [X] I have searched existing issues and found no duplicate
  • [X] I will fill this out to the best of my ability

Extra details

  • [ ] I am using a custom pt_oc.json file
  • [ ] I am using a custom limits_cache.json file
  • [ ] I have submitted a log through the PowerTools UI

Expected Behaviour

PowerTools functionality is not affected by kernel changes such as different sysfs paths for the same hardware.

Actual Behaviour

Paths are hardcoded and functionality fails to work if the APU's GPU is not card0, the battery controller is not hwmon5, or the battery is not BAT1.

Steps To Reproduce

  1. Install an alternate OS on Steam Deck which has support for Steam Deck hardware
  2. Weep

Anything else?

Related to https://github.com/ublue-os/bazzite/issues/60

Version

any

Platform

SteamDeck

OS

Not listed

NGnius avatar Jul 20 '23 12:07 NGnius

A better way to interact with sysfs things is currently in development here as sysfs-nav. Hoping to work on it this weekend as I travel to/from LTX.

NGnius avatar Jul 24 '23 22:07 NGnius