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
Vicki Pfau
3e1ab5a2c0
hardware: Detect ROG Ally and ROG Ally X
2025-05-14 17:46:47 -07:00
Vicki Pfau
9dc61ee252
hardware: Add Legion Go detection
2025-05-14 17:46:47 -07:00
Vicki Pfau
4eeffda8ef
power: Replace LenovoWmiTdpLimiter with FirmwareAttributeTdpLimiter
...
It seems several devices use a firmware-attribute interface to do TDP limiting.
This turns LenovoWmiTdpLimiter into a generic interface that can be configured
to use an arbitrary firmware-attribute name and check for an arbitrary power
profile.
2025-05-13 18:03:02 -07:00
Vicki Pfau
a67e911aa7
Add basic Makefile, mostly for managing data files with make install
2025-05-13 18:00:11 -07:00
Vicki Pfau
752fe5df6a
clippy: Fix warnings
2025-05-13 16:36:19 -07:00
Vicki Pfau
e9bdad6c60
ci: Set a ruleset for which branches or MRs can start pipelines
2025-05-09 16:32:29 -07:00
Vicki Pfau
0f156ef49f
manager/user: Emit signals when we change properties
2025-05-08 17:48:38 -07:00
Vicki Pfau
65a81cee47
power: Add LowPowerMode1 service
...
Add a new service to limit the platform TDP while handles are still held. This
feature is currently limited to the Steam Deck.
2025-04-30 18:53:08 -07:00
Vicki Pfau
e7d2d63ac8
Tag v25.4.1
2025-04-11 19:13:17 -07:00
Vicki Pfau
c8eb661bec
manager/user: Dynamically add or remove the TdpLimit1 interface if needed
2025-04-11 18:43:30 -07:00
Vicki Pfau
6086e23cc8
power: Add Lenovo WMI-based TDP limiting
2025-04-09 17:50:48 -07:00
Vicki Pfau
a3125be955
power: Refactor TDP limiting to allow for different backends
2025-04-09 17:50:36 -07:00
Vicki Pfau
45edfe2c7c
power: Add interface for accessing platform-profiles
2025-04-09 17:50:33 -07:00
Vicki Pfau
b26cc0f45c
inputplumber: Use deck-uhid
instead of deck
2025-04-08 18:56:44 -07:00
Vicki Pfau
a200d42450
wifi: Don't touch debug_mask
...
It was causing throughput issues and wasn't needed
2025-04-08 17:47:54 -07:00
Vicki Pfau
154775b3cc
inputplumber: Add service for putting InputPlumber in deck
mode if applicable
2025-04-07 20:34:34 -07:00
Vicki Pfau
8c1979e451
ftrace: Fix tests
2025-04-07 20:33:55 -07:00
Vicki Pfau
85253f66cc
ftrace: Refactor refs a bit
2025-04-07 20:26:00 -07:00
Vicki Pfau
3c78aa32fb
xml: Fix comment on AvailableGpuPowerProfiles
2025-04-04 18:12:06 -07:00
Vicki Pfau
81f3bde783
Run cargo fmt
2025-03-24 19:38:30 -07:00
Vicki Pfau
93a78041fb
power: Change range values from tuple to RangeInclusive
2025-03-20 17:34:57 -07:00
Vicki Pfau
d5f4de72ca
power: Simplify platform config test
2025-03-20 17:25:17 -07:00
Vicki Pfau
a957591193
Revert "power: Use VID:PID combination to get GPU clock ranges"
...
This reverts commit 8c52189d98
.
2025-03-20 15:39:12 -07:00
Vicki Pfau
0f2ace9940
power: Don't clone config.battery_charge_limit
2025-03-19 20:31:01 -07:00
Vicki Pfau
88cd9ecbe6
XML: Fix interface name in comment
2025-03-19 20:09:47 -07:00
Vicki Pfau
04c62eb56b
Tag v25.3.1
2025-03-18 17:08:53 -07:00
Vicki Pfau
2555b95258
manager/user: Expose device and variant info over DBus
2025-03-13 16:30:08 -07:00
Vicki Pfau
b1dc04daa8
hardware: Add device_variant method
2025-03-13 16:30:08 -07:00
Vicki Pfau
7a04e45dca
hardware: Allow string codec for DeviceType and SteamDeckVariant
2025-03-13 16:30:08 -07:00
Vicki Pfau
8c52189d98
power: Use VID:PID combination to get GPU clock ranges
2025-03-13 16:30:08 -07:00
Vicki Pfau
f31d76ea53
hardware: Refactor device detection to be more future-proof
2025-03-11 17:35:52 -07:00
Vicki Pfau
7d8bd602a7
hardware: Split out device type detection, add initial identification of Legion Go S
2025-03-11 17:35:52 -07:00
Vicki Pfau
cd9558fd67
hardware: Switch from using board_vendor to sys_vendor
2025-03-11 17:35:52 -07:00
Vicki Pfau
e7b94c28a0
xml: Fix indentation
2025-03-11 17:35:43 -07:00
Vicki Pfau
484f5c43e3
proxy: Remove HardwareCurrentlySupported, which had been removed from the interface
2025-03-11 17:23:59 -07:00
Vicki Pfau
af61f76b89
platform: Add flag for testing validity of executable in root remote
2025-02-25 21:44:58 -08:00
Vicki Pfau
ecb6026370
Run cargo fmt
2025-02-25 01:08:34 -08:00
Vicki Pfau
485ee209e2
manager/user: Check some validity of config before creating interfaces
2025-02-25 01:04:47 -08:00
Vicki Pfau
9ab3f939a0
manager/user: Move adding interfaces that need a config to a separate function
2025-02-25 01:04:08 -08:00
Vicki Pfau
c19a488b62
manager: Hold onto an extra JobManagerMessage sender
...
Currently the only interfaces that use the job manager are Deck-specific, which
will cause the channel to be dropped early on other hardware. Since it exits
early, the manager sees this as an error condition and exits with a failure
status. By keeping an unused reference to it we can prevent it from being
dropped early.
2025-02-17 19:18:47 -08:00