Commit graph

509 commits

Author SHA1 Message Date
Jeremy Whiting
36685ce630 Merge branch 'work/whiting/addcontext' into 'master'
Add some context of which file is missing in a couple places.

See merge request holo/steamos-manager!17
2025-07-03 21:49:47 -06:00
Jeremy Whiting
29dbb62591 Remove tracing::debug from screenreader.rs since it's unused. 2025-07-03 21:42:32 -06:00
Jeremy Whiting
779d468e05 Also add context when unable to read orca config file. 2025-07-03 21:42:32 -06:00
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
7d350bd585 Merge branch 'work/whiting/clippywarnings' into 'master'
Fix a couple of clippy warnings.

See merge request holo/steamos-manager!19
2025-07-02 17:56:47 -07:00
Jeremy Whiting
943cf70dbb Fix a couple of clippy warnings.
Use .iter instead of .into_iter in uinput.rs
Use type definitions to fix some complexity in power.rs.
See https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
2025-07-02 15:29:14 -06:00
Vicki Pfau
35c90bf55a manager/user: Only expose ScreenReader0 if /usr/bin/orca exists 2025-06-27 17:15:12 -07:00
Vicki Pfau
bbd62df54b systemd: Fix SystemdUnit::exists 2025-06-27 17:04:48 -07:00
Vicki Pfau
1d55b0d828 daemon: Only run SLS log relay in root daemon 2025-06-23 20:55:10 -07:00
Vicki Pfau
c81ac6cbf0 sls: Fix log filter 2025-06-23 20:28:30 -07:00
Vicki Pfau
7e0915d7a9 Tag v25.6.1 2025-06-19 13:10:02 -07:00
Vicki Pfau
6a562e2d31 Merge branch 'endrift/screenreader' into 'master'
Screenreader improvements

See merge request holo/steamos-manager!15
2025-06-18 20:10:28 -07:00
Vicki Pfau
84371fcc4e screenreader: Always try to start/stop orca in set_enabled 2025-06-18 19:15:24 -07:00
Vicki Pfau
f62aa583e1 screenreader: Don't enable/disable unit; it can't be installed anyway 2025-06-18 18:59:21 -07:00
Vicki Pfau
a3ab918546 screenreader: Add convenience method for key_pressed, also tests 2025-06-18 18:53:16 -07:00
Vicki Pfau
3530be15fe uinput: Split out from screenreader
Also add a bit better testing capability
2025-06-18 17:52:13 -07:00
Matthew Schwartz
d0f2531b45 Merge branch 'matts/legion-go-2' into 'master'
Add Legion Go 2 support

Closes #5

See merge request holo/steamos-manager!14
2025-06-19 00:45:52 +00:00
Vicki Pfau
83362e39b0 screenreader: Don't send key events if the mode hasn't actually changed 2025-06-18 16:33:29 -07:00
Vicki Pfau
f65b49c3de Merge branch 'endrift/sysfs-writer' into 'master'
Add sysfs writer task

See merge request holo/steamos-manager!11
2025-06-18 16:30:33 -07:00
Xino Ni
1e05822440 hardware: Add Legion Go 2 to board_lookup test 2025-06-18 16:11:34 -07:00
Xino Ni
9a4f334b6e platform: Add platform config for Legion Go 2 2025-06-18 16:11:34 -07:00
Vicki Pfau
67b9d7ee7e XML: Clean up whitespace errors 2025-06-18 16:00:02 -07:00
Vicki Pfau
94da61646b Cargo.lock: Update non-cfg-expr dependencies 2025-06-18 15:58:00 -07:00
Vicki Pfau
69ac6c6e50 Cargo.lock: Downgrade cfg-expr for old rustc 2025-06-18 15:50:35 -07:00
Vicki Pfau
4c0069d3c5 Tag v25.6.0 2025-06-17 18:51:02 -07:00
Vicki Pfau
76ba2ff08b screenreader: Clean up orca process lookup 2025-06-17 18:02:19 -07:00
Vicki Pfau
77e6bb9f06 screenreader: Fix name of ScreenReaderAction::StopTalking 2025-06-17 17:50:39 -07:00
Vicki Pfau
9df000700a steamosctl: Fix formatting on TriggerScreenReaderAction 2025-06-17 17:40:43 -07:00
Jeremy Whiting
2ffa138dc1 Merge branch 'work/whiting/reloadorca' into 'master'
Tell orca to reload settings after we change them.

See merge request holo/steamos-manager!13
2025-06-17 18:14:54 -06:00
Jeremy Whiting
2508919d93 Tell orca to reload settings after we change them.
Use SIGUSR1 to tell orca to reload the settings we just wrote.
2025-06-17 18:11:10 -06:00
Jeremy Whiting
da2585f2d7 Merge branch 'work/whiting/screenreadermethods' into 'master'
screenreader: Add TriggerAction functionality.

See merge request holo/steamos-manager!12
2025-06-17 17:29:55 -06:00
Jeremy Whiting
c57cb66004 Use SIGUSR2 to tell orca to stop speaking.
Instead of using a keyboard event which ends up getting spoken
use SIGUSR2 to tell orca to stop speaking.
Not sure why cargo added windows bits to Cargo.lock here...
2025-06-17 17:05:47 -06:00
Jeremy Whiting
42e89ef342 Draft: screenreader: Add TriggerAction functionality.
Add functionality for various actions by sending left control key
press and release events.
Also add to steamosctl trigger_action support.
NOTE: Stop Speaking action should be changed to use orca's new dbus
api once that's packaged.
2025-06-17 09:18:22 -06:00
Vicki Pfau
0b3c66e924 manager: Set up signal relay service, use it for MaxChargeLevelChanged 2025-06-12 22:22:56 -07:00
Vicki Pfau
4f691bf053 power: Add sysfs writer service 2025-06-12 22:19:52 -07:00
Vicki Pfau
631f30bc94 Merge branch 'endrift/cleanup' into 'master'
hardware: Move DeviceConfig and allow for auto-matching based on file contents

See merge request holo/steamos-manager!10
2025-06-12 18:46:29 -07:00
Jeremy Whiting
6703899eaa Merge branch 'work/whiting/screenreaderkeyboardevents' into 'master'
use uinput to send keyboard events.

See merge request holo/steamos-manager!7
2025-06-12 09:59:39 -06:00
Jeremy Whiting
2d91104c66 screenreader: Use uinput to send keyboard events.
Orca has no API, so use keyboard events to trigger specific actions
like sticking to focus mode, browse mode, etc.
Also add new get and set methods to steamosctl for mode.
2025-06-12 09:48:09 -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
ee9d2332aa Merge branch 'endrift/platform-cleanup' into 'master'
Platform cleanup

See merge request holo/steamos-manager!8
2025-06-11 15:44:14 -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
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