Vicki Pfau
bf521a7bbb
user_manager: Start bringing up user manager
2024-05-06 13:24:59 -07:00
Vicki Pfau
65d8ff958e
manager: Move API_VERSION to crate root
2024-05-06 13:24:59 -07:00
Vicki Pfau
24d740d178
user: Add user-running manager prototype
2024-05-06 13:24:59 -07:00
Vicki Pfau
ac823a845b
daemon: Split parts of the root main into a reusable struct
2024-05-06 13:24:59 -07:00
Vicki Pfau
ff6aa760ca
main: Start splitting out root daemon from main
2024-05-06 13:24:59 -07:00
Vicki Pfau
35d33d0074
data: Fix systemos-manager.service name in D-Bus unit file
2024-05-06 13:24:43 -07:00
Vicki Pfau
b674f694af
systemd: Fix arguments to MaskUnitFiles
2024-05-02 17:46:59 -07:00
Vicki Pfau
e38ac57891
systemd: Add static unit file state
2024-05-02 17:32:01 -07:00
Jeremy Whiting
7adb60d491
Merge branch 'work/whiting/hwmon' into 'master'
...
Use hwmon to determine which sysfs path to use for gpu/power bits.
See merge request holo/steamos-manager!19
2024-05-02 03:18:52 +00:00
Jeremy Whiting
f3e5c8b576
Use hwmon to determine which sysfs path to use for gpu/power bits.
...
Instead of always using /sys/class/drm/card0 based paths, use
/sys/class/hwmon looking for amdgpu name file to determine where
to look.
Fixes reading TDPLimit, GPUPerformanceLevel and ManualGPUClock
in cases where sysfs uses card1 or other paths.
NOTE: Using wrong cardX path is a bug and will be fixed, but
this makes steamos-manager a bit more resilient to those bugs.
2024-05-01 21:17:45 -06:00
Vicki Pfau
94e4c69456
systemd: Fix some clippy warnings
2024-05-01 20:16:45 -07:00
Vicki Pfau
c82e8df52c
Merge branch 'endrift/flesh-out' into 'master'
...
Flesh out some interfaces
See merge request holo/steamos-manager!21
2024-05-02 03:10:23 +00:00
Vicki Pfau
fc77feef2a
power: Return 0 if no GPU clock can be found
2024-05-01 19:13:03 -07:00
Vicki Pfau
3fe16ce065
systemd: Add method for finding enable state of a unit
2024-04-30 22:22:09 -07:00
Vicki Pfau
f6dd8ce3dd
main: Generalize how to convert errors into zbus errors
2024-04-30 22:10:19 -07:00
Vicki Pfau
eb5fbc8e39
systemd: Add methods for enabling, disabling, masking, and unmasking
2024-04-30 22:09:37 -07:00
Vicki Pfau
96ebb6d75c
manager: Test for consistency with XML and exported DBus interfaces
2024-04-30 21:03:28 -07:00
Vicki Pfau
1e39dce571
manager: Fix method/property capitalization consistency
2024-04-29 20:12:52 -07:00
Vicki Pfau
1df02e776f
Fix some errors in the XML comments
2024-04-24 18:13:44 -07:00
Vicki Pfau
6f24e808f8
ds_inhibit: Attempt to fix race condition in test
2024-04-16 18:47:55 -07:00
Vicki Pfau
a182d580fd
power: Idiom fix
2024-04-16 18:44:59 -07:00
Vicki Pfau
30073d006e
ds_inhibit: Style cleanup
2024-04-16 18:44:59 -07:00
Vicki Pfau
e3fc9ce021
ds_inhibit: Make sure to flush writes before dropping the files
2024-04-16 18:44:59 -07:00
Vicki Pfau
f004035f7f
power: Make sure to flush writes before dropping the files
2024-04-16 18:41:04 -07:00
Vicki Pfau
e3122059e5
wifi: Fix test not running
2024-04-16 17:51:52 -07:00
Vicki Pfau
38de5a7191
Cargo.lock: Update
2024-04-16 17:51:36 -07:00
Vicki Pfau
199f7026bf
Tag v24.4.1
2024-04-16 17:37:21 -07:00
Vicki Pfau
2775403024
Cargo.lock: Update
2024-04-16 17:37:00 -07:00
Vicki Pfau
1733a2e8cf
manager: Fix out of date comment
2024-04-16 17:23:55 -07:00
Vicki Pfau
7b8ffbc708
hardware: Move fan control logic out of the manager
2024-04-16 17:23:33 -07:00
Vicki Pfau
f3d8e97633
wifi: Move more logic out of the manager
2024-04-15 19:43:23 -07:00
Vicki Pfau
5b612fb7a2
wifi: Fix setup_iwd_config(false) if it hasn't been called with true prior
2024-04-11 17:08:07 -07:00
Vicki Pfau
6a70d58d7a
Merge branch 'endrift/skip-polkit' into 'master'
...
manager: Bypass polkit helpers and call underlying scripts where applicable
See merge request holo/steamos-manager!17
2024-04-11 23:11:33 +00:00
Vicki Pfau
1c959dddb5
manager: Bypass polkit helpers and call underlying scripts where applicable
2024-04-10 17:12:30 -07:00
Vicki Pfau
45999bbb41
manager: Fix typo in updating BIOS
2024-04-10 17:06:40 -07:00
Vicki Pfau
41f0b5b546
Cargo.lock: Run cargo update
2024-04-05 15:30:15 -07:00
Vicki Pfau
b962bbf548
Fix clippy warnings, and an actual bug with FanControl::try_from<u32>
2024-04-05 15:30:15 -07:00
Jeremy Whiting
9d7ee926f4
Fix steamos-get-wifidebug script.
...
Since GetWifiDebug is not a method anymore, we need to get
the property value instead.
2024-04-05 16:27:43 -06:00
Vicki Pfau
53e201559d
Cargo.toml: It's April now
2024-04-05 15:08:48 -07:00
Vicki Pfau
92817223d5
power: Fix get_tdp_limit not handling trailing newline
2024-04-05 15:01:31 -07:00
Vicki Pfau
0142f1199f
process: Fix test warnings
2024-04-05 15:01:31 -07:00
Vicki Pfau
ab0f6cffed
Fix bus name
2024-04-05 15:01:31 -07:00
Vicki Pfau
a057113d2a
Revert "Adjust the service to use the new dbus service name."
...
This reverts commit 7379b1f5b8
.
2024-04-05 14:44:10 -07:00
Vicki Pfau
b6d9278dcb
Revert "Adjust dbus conf file to allow anyone to talk to Manager object."
...
This reverts commit 1cefd17a0f
.
2024-04-05 14:44:00 -07:00
Vicki Pfau
1a41e6b05d
Merge branch 'endrift/new-api' into 'master'
...
Implement new API
See merge request holo/steamos-manager!15
2024-04-05 21:39:05 +00:00
Jeremy Whiting
1cefd17a0f
Adjust dbus conf file to allow anyone to talk to Manager object.
...
Since the interface name now has .Manager appended we need to add
the same to the dbus config to allow clients to talk to it.
2024-04-05 12:10:58 -06:00
Jeremy Whiting
7379b1f5b8
Adjust the service to use the new dbus service name.
...
Since the service got a .Manager suffix we need to let systemd
watch for that name, otherwise it thinks the service didn't completely
start.
2024-04-05 12:07:19 -06:00
Jeremy Whiting
be05bab4c0
Adjust service and interface parameters in helper scripts.
...
Since the service and interfaces got a .Manager appended we need
to adjust the helper scripts to use the new names.
2024-04-05 12:05:42 -06:00
Vicki Pfau
7e16f2978f
process: Fix testing setup
2024-04-04 20:01:59 -07:00
Vicki Pfau
cf962b26c5
Fix test build warnings
2024-04-04 18:38:39 -07:00