Vicki Pfau
e3ce1853e9
platform: Split out DeviceConfig from PlatformConfig
2025-06-11 15:41:43 -07:00
Jeremy Whiting
8028c34f79
Fix test that broke by adding serde_json.
...
Since serde_json::Value also implements PartialEq for f64 we needed
to fix the test to either specify the type or just check for empty.
2025-05-28 20:16:23 -06: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
cd9558fd67
hardware: Switch from using board_vendor to sys_vendor
2025-03-11 17:35:52 -07:00
Vicki Pfau
91890e5948
manager/user: Add BatteryChargeLimit1 interface ( #12 )
2025-01-21 17:31:51 -08:00
Vicki Pfau
54351414fa
wifi: Add method for generating and capturing an ath11k dump
2025-01-21 16:45:33 -08:00
Vicki Pfau
7b7afffc46
manager: Expose new CaptureDebugTraceOutput method
2025-01-21 16:45:33 -08:00
Vicki Pfau
a2af4d1bc5
Cargo.toml: Update to zbus 5
2024-11-13 23:27:19 -08:00
Jeremy Whiting
1a491db6fe
Don't set wifi debug mode if it isn't changing.
...
Since set_wifi_debug_mode always restarts iwd which
has unintentional consequences on oled deck (destroys and recreates
the network interface) but not on lcd deck first check
if previous mode is different than wanted mode before doing
anything.
See https://gitlab.steamos.cloud/holo/holo/-/merge_requests/747/diffs#2790dcf348b51beca93939ee9fd81f87566d57c9_0_29
for more information.
2024-11-13 08:46:28 -07: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
127eab4863
Fix some clippy::pedantic warnings
2024-08-30 16:52:17 -07:00
Vicki Pfau
84a44a879f
manager: Expand AmbientLightSensor1 to allow for querying systems with multiple sensors
2024-08-20 20:12:08 -07: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
Vicki Pfau
cefba9704e
manager/root: Fix NetworkManager config path in tests
2024-08-13 20:41:11 -07:00
Vicki Pfau
53754680c1
power: Make test::setup return a Result
2024-08-13 20:15:10 -07:00
Vicki Pfau
576135cd7a
manager/user: Move relevant methods to WifiDebug1, update as specified
2024-08-06 19:15:40 -07:00
Vicki Pfau
4f3a5547d6
manager/user: Move relevant methods to GpuPerformanceLevel1, update as specified
2024-08-06 19:15:40 -07:00
Vicki Pfau
fc25da30af
manager/user: Move relevant methods to GpuPowerProfile1, update as specified
2024-08-06 19:15:40 -07:00
Vicki Pfau
6867c4e870
power: Remove inline GPU clock range check, sysfs writes enforce it
2024-08-02 17:21:31 -07:00
Vicki Pfau
f939767867
wifi: Simplify enums with strum, rename WifiDebugMode::On to Tracing
2024-07-31 21:25:16 -07:00
Vicki Pfau
8e3fc1afeb
job: Add JobManagerInterface to emit JobStarted signal
...
This adds the JobManagerInterface helper object to emit a signal when a job is
started. It also renames the job prefix to be its own path so that the
JobManagerInterface can claim that as an object.
2024-07-25 21:29:14 -07:00
Vicki Pfau
6e925e91d9
testing: Add subprocess dbus session interface for test isolation
2024-07-23 20:20:24 -07:00
Vicki Pfau
603cd7217c
job: Split out from process
...
Rename ProcessManager to JobManager, as that's what it really handles. This
also renames get_command_object_path, which actually spawns a job instead of
just getting something. Further, it moves job spawning into the Job object
instead of being a helper function on ProcessManager.
2024-07-16 20:12:26 -07:00
Vicki Pfau
450541b2bd
Import a few more zbus things to reduce namespace line length
2024-07-16 19:16:20 -07:00
Vicki Pfau
af3cb08778
manager: Fix tests hanging ( fixes #2 )
...
I'm not 100% sure why this works, but I expect it has to do with messages being sent to D-Bus before the initial handshake is done.
2024-07-15 18:38:13 -07:00
Vicki Pfau
a6f3b37897
manager: Clean up dbus session at end of tests
2024-07-10 18:14:32 -07:00
Jeremy Whiting
93e153079d
Rework the CPUGovernors enum a bit.
...
Change to CPUScalingGovernors and use strum
crate to remove some cruft.
2024-06-28 08:59:11 -06:00
Jeremy Whiting
7f9d25074e
Add CPU Scheduler Governors.
...
Add a new enumeration for cpu scheduler governors.
Adds a property to get the available governors as a map of
value to strings similar to how we expose GPU Power Profiles.
Adds another property to get and set the current governor which
is applied to all cpus when set.
2024-06-28 08:59:08 -06:00
Vicki Pfau
b9e23b74e2
manager/root: Add a few more tests
2024-06-21 19:10:51 -07:00
Vicki Pfau
cd14f50f68
manager/root: Add ReloadConfig method
2024-06-17 21:12:25 -07:00
Vicki Pfau
037d418553
daemon/root: Allow DsInhibit to be toggled at runtime
2024-06-12 23:16:09 +00:00
Vicki Pfau
2410334c0b
manager: Simplify test setup
2024-06-10 21:35:03 -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
788cf884bf
Run cargo fmt
2024-05-30 16:54:14 -07:00
Vicki Pfau
922ba006ae
power: Improve GPU test reliability
2024-05-30 01:41:20 -07:00
Vicki Pfau
b2f612cd45
manager: Slim down root interface, moving most getters directly to the user interface
2024-05-22 18:39:37 -07:00
Vicki Pfau
6cccb333a2
manager: Improve module naming
2024-05-08 16:52:45 -07:00