Commit graph

468 commits

Author SHA1 Message Date
Vicki Pfau
d5d2d2c9a3 platform: Improve validation of platform config items 2025-06-10 18:33:53 -07:00
Vicki Pfau
f32e354b64 systemd: Code cleanup 2025-06-10 18:29:09 -07:00
Vicki Pfau
d62b515c48 manager/user: Fix hang when setting power profile if TDP management is disabled 2025-06-10 15:29:01 -07:00
Vicki Pfau
31165bb17a Merge branch 'matts/kahlstrm-make-tdp-optional' into 'master'
daemon: make tdp_service optional

See merge request holo/steamos-manager!6
2025-06-02 23:26:25 -07:00
Matthew Schwartz
a76226b328 daemon: log error if TdpManagerService is not available 2025-06-02 22:36:58 -07:00
Kalle Ahlström
5778a636f3 daemon: make tdp_service optional
There seems to have been recent addition of requiring a valid
TDPManagerService in the user daemon, which in turn breaks the service
for people who use steamos-manager on devices such as HTPCs or other
non-supported hardware.

Fix this by making the TDP configuration optional in the user daemon.
2025-06-02 21:52:26 -07:00
Vicki Pfau
5fecc6bbb4 Tag v25.5.5 2025-05-30 17:46:36 -07:00
Vicki Pfau
a0e2e7772e Merge branch 'endrift/screenreader' into 'master'
Screen reader fixes

See merge request holo/steamos-manager!5
2025-05-30 17:41:57 -07:00
Vicki Pfau
874b799005 screenreader: Don't fail enabling if orca settings aren't present 2025-05-30 17:32:19 -07:00
Vicki Pfau
e21153671b screenreader: Enable or disable orca unit as needed 2025-05-30 16:05:47 -07:00
Vicki Pfau
04dc78fdd1 Run cargo fmt 2025-05-30 16:04:57 -07:00
Vicki Pfau
cdf77e42d8 Cargo.lock: Update 2025-05-30 16:04:25 -07:00
Vicki Pfau
aaeff7577b systemd: Improve test support 2025-05-30 16:04:16 -07:00
Andres Rodriguez
d1c63b6263 Tag v25.5.4 2025-05-30 11:23:51 -07:00
Jeremy Whiting
334fc09a0b Merge branch 'work/whiting/screenreader' into 'master'
Add screenreader support to steamos-manager.

See merge request holo/steamos-manager!1
2025-05-29 22:29:21 -06:00
Jeremy Whiting
8d23f01393 screenreader: Also add test for when orca settings file is missing.
Also use constants for filenames to reduce typo failures.
2025-05-29 22:24:52 -06:00
Vicki Pfau
1053e0dd77 fix tests 2025-05-29 20:40:37 -06:00
Jeremy Whiting
372df6ff5e screenreader: Add a test for screenreader.rs.
Test apis for rate, pitch, volume, and enable/disable.
Check out of range gives errors, and values stick after errors.
2025-05-29 20:36:53 -06:00
Vicki Pfau
5bf3aa7f76 Merge branch 'work/matts/zotac-zone' into 'master'
Add detection for ZOTAC Gaming Zone (Strix Point) and add platform configuration for both models

See merge request holo/steamos-manager!4
2025-05-29 16:38:22 -07:00
Matthew Schwartz
74b036de5d platform: Add platform configuration for ZOTAC Gaming Zone 2025-05-29 13:11:10 -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
Jeremy Whiting
6cf4bb9c04 screenreader: Fix a couple other small things.
Remove old comment. Simplify calling set_orca_enabled, etc.
2025-05-28 20:17:43 -06:00
Jeremy Whiting
cff6303b6c screenreader: add screen reader commands to steamosctl.
Adds get-screen-reader-enabled, set-screen-reader-enabled,
get-screen-reader-(pitch|rate|volume),
set-screen-reader-(pitch|rate|volume).
2025-05-28 20:17:43 -06:00
Jeremy Whiting
d6d8b0e336 screenreader: Change to ScreenReader0 since it's not stable yet.
Added a note to the xml stating we will bump to ScreenReader1 once
the API becomes stable.
2025-05-28 20:17:41 -06:00
Jeremy Whiting
a512ac594c Add gsettings-desktop-schemas package for CI test.
Adds missing org.gnome.desktop.a11y.applications schema needed for test.
2025-05-28 20:16:23 -06:00
Jeremy Whiting
1e1db4791e screenreader: Use gio crate to set gnome screen-reader-enabled setting. 2025-05-28 20:16:23 -06:00
Jeremy Whiting
04e52bbf12 screenreader: Also add orca.service so we can launch the user unit.
In order for orca to have a user unit to launch with systemd it needs
this service file, which will be installed in /usr/lib/systemd/user next
to steamos-manager.service.
2025-05-28 20:16:23 -06:00
Jeremy Whiting
0c28ed2b30 Adjust default values to match orca's defaults.
Use Rate of 50, Pitch of 5, and volume of 10.
2025-05-28 20:16:23 -06:00
Vicki Pfau
7d838ae6f6 Fix review comments, add range testing 2025-05-28 20:16:23 -06: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
Jeremy Whiting
4fd9ccdd2e Add screenreader support to steamos-manager.
Add ScreenReader1 interface to xml to enable/disable using screen
reader.
Implements getting and setting pitch, rate, volume, enabled.
Restarts orca when any of the above properties are changed.
Load values from orca user-settings.conf
Use systemd unit to start/stop/restart orca.
2025-05-28 20:16:23 -06:00
Vicki Pfau
b926dbd50b Merge branch 'work/matts/unify-device-series' into 'master'
Add platform configurations for Legion Go, ROG Ally, and ROG Ally X

See merge request holo/steamos-manager!2
2025-05-28 16:01:42 -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
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
ef9c329898 Makefile: Add systemd user directory back 2025-05-26 19:21:14 -07:00
Vicki Pfau
7398734651 Makefile: Remove making gamescope-session.service.wants directory 2025-05-16 18:28:42 -07:00
Vicki Pfau
026ddf35b9 Tag v25.5.2 2025-05-16 18:25:27 -07:00
Vicki Pfau
c7c38dc324 Run cargo fmt 2025-05-16 18:24:47 -07:00
Vicki Pfau
88c2a0af96 daemon/user: Fix ObjectManager location and initialization 2025-05-16 18:22:31 -07:00
Vicki Pfau
748fdc43cf Cargo: Update 2025-05-16 18:21:59 -07:00
Vicki Pfau
ef153d99a2 inputplumber: Remove obsolete Legion Go S hack, move check_devices to a spawned task too 2025-05-16 16:04:14 -07:00
Vicki Pfau
8861eb598e makefile: Install license into its own directory 2025-05-15 23:53:21 -07:00
Vicki Pfau
1399401dc9 Tag v25.5.1 2025-05-15 23:25:58 -07:00
Vicki Pfau
f741627fc2 inputplumber: Handle interface adding in spawned task
The receiver in the poller could fill up if several interfaces were added
before we finished testing one, which could cause the bus to deadlock. This
appears as one of the proxies hanging on a reply, but that's specifically
because the bus was backlogged waiting for the receiver to be drained. By
splitting the tasks, we can continue draining the receiver while waiting for
the proxy separately.
2025-05-15 23:22:03 -07:00
Vicki Pfau
ea4a6d0764 Run cargo fmt 2025-05-15 17:53:24 -07:00
Vicki Pfau
fcdcd435d6 manager/user: Register ObjectManager 2025-05-15 17:51:50 -07:00
Vicki Pfau
b690f9b723 hardware: Detect ZOTAC Gaming Zone 2025-05-14 17:46:47 -07:00