Commit graph

21 commits

Author SHA1 Message Date
Jeremy Whiting
9f8bca26d5 Add some context of which file is missing.
In one case where platform.toml is not where we expect add to the
os error 2 which file we were looking for.
2025-07-03 21:42:28 -06:00
Vicki Pfau
dd9b000e4b hardware: Move DeviceConfig and allow for auto-matching based on file contents 2025-06-11 18:54:28 -07:00
Vicki Pfau
e3ce1853e9 platform: Split out DeviceConfig from PlatformConfig 2025-06-11 15:41:43 -07:00
Vicki Pfau
d5d2d2c9a3 platform: Improve validation of platform config items 2025-06-10 18:33:53 -07:00
Matthew Schwartz
74b036de5d platform: Add platform configuration for ZOTAC Gaming Zone 2025-05-29 13:11:10 -07:00
Matthew Schwartz
65ee50f841 platform: Add platform configuration for ROG Ally and ROG Ally X
Both the ROG Ally and ROG Ally X share the same performance profiles
and platform controls, so we can use a single toml file for both devices.
2025-05-28 10:30:20 -07:00
Matthew Schwartz
2f7c83d663 platform: Use single platform configuration for Legion Go and Legion Go S
Both the Legion Go and Legion Go S share the same performance profiles
and platform controls, so we can use a single toml file for both devices.
2025-05-28 10:30:14 -07:00
Vicki Pfau
4eeffda8ef power: Replace LenovoWmiTdpLimiter with FirmwareAttributeTdpLimiter
It seems several devices use a firmware-attribute interface to do TDP limiting.
This turns LenovoWmiTdpLimiter into a generic interface that can be configured
to use an arbitrary firmware-attribute name and check for an arbitrary power
profile.
2025-05-13 18:03:02 -07:00
Vicki Pfau
65a81cee47 power: Add LowPowerMode1 service
Add a new service to limit the platform TDP while handles are still held. This
feature is currently limited to the Steam Deck.
2025-04-30 18:53:08 -07:00
Vicki Pfau
a3125be955 power: Refactor TDP limiting to allow for different backends 2025-04-09 17:50:36 -07:00
Vicki Pfau
45edfe2c7c power: Add interface for accessing platform-profiles 2025-04-09 17:50:33 -07:00
Vicki Pfau
7d8bd602a7 hardware: Split out device type detection, add initial identification of Legion Go S 2025-03-11 17:35:52 -07:00
Vicki Pfau
af61f76b89 platform: Add flag for testing validity of executable in root remote 2025-02-25 21:44:58 -08:00
Vicki Pfau
ecb6026370 Run cargo fmt 2025-02-25 01:08:34 -08:00
Vicki Pfau
485ee209e2 manager/user: Check some validity of config before creating interfaces 2025-02-25 01:04:47 -08:00
Vicki Pfau
91890e5948 manager/user: Add BatteryChargeLimit1 interface (#12) 2025-01-21 17:31:51 -08:00
Jeremy Whiting
f7bfdd7d7a Add steamos-reset-tool usage.
Instead of using steamos-factory-reset-config which resets both
the OS and the user home partitions use steamos-reset-tool which
has arguments for each or resetting both.
2024-10-24 12:55:53 -06:00
Vicki Pfau
bdd095860e power: Allow returned GPU clocks range to overridden by a platform config 2024-09-06 16:35:18 -07:00
Vicki Pfau
7c3f2baa05 power: Expose TDP limit range as platform config 2024-09-06 16:35:18 -07:00
Vicki Pfau
7dc0d0969d hardware: Let fan control be configured and disabled 2024-08-22 03:27:17 +00:00
Vicki Pfau
77975d9308 platform: Bring up platform configurations with script replacement, Steam Deck only for now 2024-08-14 18:48:34 -07:00