NGnius / PowerTools

Moved to
https://git.ngni.us/NG-SD-Plugins/PowerTools
GNU General Public License v3.0
413 stars 29 forks source link

Non-standard Steam Deck OS setups are incompatible #114

Open NGnius opened 1 year ago

NGnius commented 1 year ago

Please confirm

Extra details

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 commented 1 year ago

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.