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
Vicki Pfau
cb04cd2cf4
manager: Improve error logging
2024-04-04 18:08:21 -07:00
Vicki Pfau
85f68b4c54
wifi: Add Wifi backend tests
2024-04-04 18:08:21 -07:00
Vicki Pfau
05031b3ee1
wifi: Cleanup and prepare for tests
2024-04-04 18:08:21 -07:00
Vicki Pfau
64129783dd
xml: Remove things that won't be implemented in API version 7
2024-04-04 18:08:21 -07:00
Vicki Pfau
cf4d7b9ba9
manager: Add manual_gpu_clock tests
2024-04-04 18:08:21 -07:00
Vicki Pfau
8b59bd3a39
manager: Fix property capitalization
2024-04-04 18:08:21 -07:00
Vicki Pfau
bc6af282eb
power: Add get/set_gpu_clocks and get_tdp_limit tests
2024-04-04 18:08:21 -07:00
Vicki Pfau
3c62c57d52
manager: Add get/set_gpu_performance_level tests
2024-04-04 18:08:21 -07:00
Vicki Pfau
9ddbc9997d
power: Add get/set_gpu_performance_level tests
2024-04-04 18:08:21 -07:00
Vicki Pfau
eabf6d5a98
power: Implement get_tdp_limit and TDPLimit
2024-04-04 18:08:21 -07:00
Vicki Pfau
d13010dcb0
power: Implement get_gpu_clocks and ManualGPUClock
2024-04-04 18:08:21 -07:00
Vicki Pfau
d751110086
manager: Add emits_changed_signal where appropriate
2024-04-04 18:08:21 -07:00
Vicki Pfau
35e520712d
Realign enums that had UnsupportedFeature to start at 0
2024-04-04 18:08:21 -07:00
Vicki Pfau
c37bd22db0
process: Use a callback instead of real subprocess in tests
2024-04-04 18:08:21 -07:00
Vicki Pfau
1c825797be
manager: Implement wifi_power_management_state
2024-04-04 18:08:21 -07:00
Vicki Pfau
36c34fcbda
Run cargo fmt
2024-04-04 18:08:21 -07:00
Vicki Pfau
9431ae9474
wifi: Remove get_wifi_backend_from_script
...
The script does exactly the same thing as what the _from_conf function did
2024-04-04 18:08:21 -07:00
Vicki Pfau
b0250bda01
manager: Fix method order
2024-04-04 18:08:21 -07:00
Vicki Pfau
8d92fae7db
manager: Add stub implementations of min/max properties
2024-04-04 18:08:21 -07:00
Vicki Pfau
406988fbdf
manager: Implement fan_control_state
2024-04-04 18:08:21 -07:00
Vicki Pfau
853ce3dd84
systemd: Add new module for interacting with systemd
2024-04-04 18:08:21 -07:00
Vicki Pfau
9ec6fc8852
manager: Clean up Result<_, zbus::fdo::Error> into zbus::fdo::Result<_>
2024-04-04 18:08:21 -07:00
Vicki Pfau
86515aceaf
Run cargo fmt
2024-04-04 18:08:21 -07:00
Vicki Pfau
b0628fc7b9
Add support to get/set WiFi back-end
...
This change implements the ability to get and set the WiFi back-end,
by leveraging a new script created for that purpose.
The idea is to be able to use 'wpa_supplicant' (which is the default
back-end in NetworkManager upstream) when 'iwd' (the default in
SteamOS) does not work for some reason.
This change interacts with another feature of steamos-manager, which
is to set debug mode for WiFi. Handling debug mode complicates things
substantially because those methods write config for 'iwd' and restart
the daemons/systemd units, with many interdependencies.
Instead of trying to implement all at once and attempt feature-parity
between back-ends on this aspect from the start, as a first step the
operations are just declared incompatible. As a result, if
WifiDebugMode=on the back-end cannot be changed, and conversely the
WifiDebugMode cannot be turned on when the back-end is
'wpa_supplicant'.
Co-authored-by: Manuel A. Fernandez Montecelo <mafm@igalia.com>
2024-04-04 18:08:21 -07:00
Vicki Pfau
452690adee
Kill UnsupportedFeature
2024-04-04 18:08:21 -07:00
Vicki Pfau
ffebee0930
manager: Start writing tests
2024-04-04 18:08:21 -07:00