Commit graph

45 commits

Author SHA1 Message Date
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
Matthew Schwartz
ff08d33cc8 hardware: Add ZOTAC Gaming Zone to board_lookup test 2025-05-29 13:11:10 -07:00
Matthew Schwartz
8c4fe23781 hardware: Detect ZOTAC Gaming Zone (Strix Point) 2025-05-29 13:11:10 -07:00
Matthew Schwartz
10eaabf749 hardware: Add ROG Ally and ROG Ally X to board_lookup test 2025-05-28 10:30:20 -07:00
Matthew Schwartz
f1621ef8ec hardware: Add Legion Go to board_lookup test 2025-05-28 10:30:20 -07:00
Vicki Pfau
b690f9b723 hardware: Detect ZOTAC Gaming Zone 2025-05-14 17:46:47 -07:00
Vicki Pfau
3e1ab5a2c0 hardware: Detect ROG Ally and ROG Ally X 2025-05-14 17:46:47 -07:00
Vicki Pfau
9dc61ee252 hardware: Add Legion Go detection 2025-05-14 17:46:47 -07:00
Vicki Pfau
45edfe2c7c power: Add interface for accessing platform-profiles 2025-04-09 17:50:33 -07:00
Vicki Pfau
b1dc04daa8 hardware: Add device_variant method 2025-03-13 16:30:08 -07:00
Vicki Pfau
7a04e45dca hardware: Allow string codec for DeviceType and SteamDeckVariant 2025-03-13 16:30:08 -07:00
Vicki Pfau
f31d76ea53 hardware: Refactor device detection to be more future-proof 2025-03-11 17:35:52 -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
cd9558fd67 hardware: Switch from using board_vendor to sys_vendor 2025-03-11 17:35:52 -07:00
Vicki Pfau
dedbfd4207 manager: Remove HardwareCurrentlySupported
This value only makes sense for Steam, and since Steam can query it directly,
this removes it from the DBus interface.
2025-02-05 18:11:32 -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
93878bbe8e hardware: Switch another enum to strum 2024-10-07 19:20:14 -07:00
Vicki Pfau
b71ccfcc92 Use num_enum instead of home-rolled TryFrom definitions 2024-09-19 20:20:17 -07: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
127eab4863 Fix some clippy::pedantic warnings 2024-08-30 16:52:17 -07:00
Vicki Pfau
4f9f0f8e1d manager/user: Only enable WifiDebug1 if running on Galileo 2024-08-22 03:27:17 +00:00
Vicki Pfau
7dc0d0969d hardware: Let fan control be configured and disabled 2024-08-22 03:27:17 +00:00
Vicki Pfau
d465bc2750 TryFrom on enums should use anyhow::Error as the error type 2024-08-13 22:30:23 -07:00
Vicki Pfau
674c693180 Fix enum errors containing {v} instead of value 2024-08-08 20:10:40 -07:00
Vicki Pfau
41382c7158 manager/user: Move relevant methods to Manager2, update as specified 2024-08-06 19:15:40 -07:00
Vicki Pfau
63902f8cc9 Run clang fmt 2024-07-24 20:01:33 -07:00
Vicki Pfau
deb8cf620f power: Add basic tests for GPUPowerProfile getters 2024-07-24 20:01:02 -07:00
Vicki Pfau
d503712f29 hardware: Add tests for FanControl 2024-07-23 20:50:17 -07:00
Jeremy Whiting
0759ff7077 Add gpu power profile(s) properties.
Add profiles property to give back available
profiles on this device.
Add profile property to get and set current gpu
power profile.
Filter possible properties when on deck.
Get current profile based on position of * character.
Get card0 path based on which cardX has vendor 0x1002
Add some basic tests.
TODO:
Possibly cache available properties instead of fetching repeatedly.
2024-06-05 15:36:41 -06:00
Vicki Pfau
8769298416 Run cargo fmt 2024-05-24 15:40:31 -07:00
Vicki Pfau
bf2762cc67 hardware: Add enum round-trip tests 2024-05-24 15:10:36 -07:00
Vicki Pfau
fbfb07e684 hardware: Add FanControlState::from_str 2024-05-13 18:55:38 -07:00
Vicki Pfau
eb5fbc8e39 systemd: Add methods for enabling, disabling, masking, and unmasking 2024-04-30 22:09:37 -07:00
Vicki Pfau
7b8ffbc708 hardware: Move fan control logic out of the manager 2024-04-16 17:23:33 -07:00
Vicki Pfau
cf962b26c5 Fix test build warnings 2024-04-04 18:38:39 -07:00
Vicki Pfau
35e520712d Realign enums that had UnsupportedFeature to start at 0 2024-04-04 18:08:21 -07:00
Vicki Pfau
452690adee Kill UnsupportedFeature 2024-04-04 18:08:21 -07:00
Vicki Pfau
aaaf8b8bc4 hardware: Fix style 2024-04-04 18:08:21 -07:00
Vicki Pfau
8ae6c98554 process: Make API less fiddly 2024-04-04 18:08:13 -07:00
Vicki Pfau
69e6477053 manager: Implement new API 2024-04-04 18:08:13 -07:00
Vicki Pfau
128c5ee36a hardware: Split HardwareVariant name parsing out from file reading 2024-04-02 18:20:09 -07:00
Vicki Pfau
3565886d3f Turn galileo detection into generalized model detection 2024-03-29 14:59:48 -07:00