Commit graph

524 commits

Author SHA1 Message Date
Vicki Pfau
29ffb42a4e macros: Add remote macro for making remote relay interfaces 2025-07-10 19:24:55 -07:00
Vicki Pfau
77f7305dd3 Merge branch 'endrift/xml' into 'master'
XML: Move to data/interfaces, install for dbus

See merge request holo/steamos-manager!22
2025-07-09 16:28:40 -07:00
Vicki Pfau
194646b8f1 XML: Move to data/interfaces, install for dbus 2025-07-09 16:24:01 -07:00
Vicki Pfau
30a0a40279 manager/user: Combine redundant checks 2025-07-08 15:00:34 -07:00
Vicki Pfau
084dd84ed7 Merge branch 'endrift/workspace' into 'master'
Split into workspaces, move proxy module into its own crate

See merge request holo/steamos-manager!20
2025-07-08 14:54:24 -07:00
Vicki Pfau
46dc187b34 Split into workspaces, move proxy module into its own crate 2025-07-04 16:19:13 -07:00
Vicki Pfau
9ddfde23e6 gitlab-ci: Add missing speech-dispatcher dependency to clippy stage 2025-07-04 16:13:01 -07:00
Vicki Pfau
9134b7778c gitlab-ci: Add missing clang dependency to clippy stage 2025-07-04 16:08:49 -07:00
Vicki Pfau
c389618178 gitlab-ci: Add clippy testing stage 2025-07-04 15:30:32 -07:00
Vicki Pfau
4355f90ae9 screenreader: Clean up code, memory allocations a bit 2025-07-04 15:27:35 -07:00
Vicki Pfau
98774dea76 Merge branch 'work/whiting/screenreadervoices' into 'master'
Add voices api.

See merge request holo/steamos-manager!18
2025-07-04 15:00:22 -07:00
Jeremy Whiting
c6e6d44a84 Add a test for voice.
Adds a test voice instead of relying on speech-dispatcher.
just to be sure the plumbing is set up right.
2025-07-03 21:50:25 -06:00
Jeremy Whiting
60bbad9449 Add clang and speech-dispatcher to dependencies needed to build.
speech-dispatcher-sys rust crate depends on clang to build.
Add speech-dispatcher since it's needed to build the
speech-dispatcher crate.
2025-07-03 21:50:25 -06:00
Jeremy Whiting
afa0eddf41 Add voice api calls to steamosctl and proxy.
Added listing of screen reader locales.
Added listing of voices for a given locale.
Added getting and setting of voice property.
2025-07-03 21:50:25 -06:00
Jeremy Whiting
02a15c9295 Add voices api.
Get voice locales known to speech-dispatcher.
Get possible voice list for a given locale.
Added getting and setting the user's chosen voice.
Tell orca to reload settings after changing.
Initialize user's voice from orca settings.
2025-07-03 21:50:25 -06:00
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