Luke D Jones
5a7d31fdf6
Bugfixes to session handler. Add extra profile commands
...
- Better handling of session tracking
- List all profile data
- Get active profile name
- Get active profile data
2021-03-24 16:30:13 +13:00
Luke D Jones
df7ae4d014
Fix: non-rgb keyboard backlight control
2021-03-23 13:44:07 +13:00
Luke D Jones
96ceef1bdb
Prep v3.2.1
2021-03-22 16:45:05 +13:00
Luke D Jones
6528ec95c2
Massive refactor of led control
...
- Write brightness to kernel LED class path
Closes #63 , #53
2021-03-20 11:58:47 +13:00
Luke D Jones
cec4016862
Refactored gfx switch session monitor
2021-03-16 21:09:17 +13:00
Luke D Jones
35438e2e77
Move logind-zbus to own crate and publish
2021-03-13 22:07:31 +13:00
Luke D Jones
82bb032336
Bump crate deps
2021-03-12 22:09:40 +13:00
Luke D Jones
ae4f7f9949
Buildup of logind dbus methods
2021-03-12 22:00:31 +13:00
Luke D Jones
8a63dce85f
Bugfix: destroy the deref clone stackoverflow
2021-03-11 23:42:38 +13:00
Luke D Jones
4310b4b742
Graphics switching now waits for user sessions to end
2021-03-11 21:13:41 +13:00
Luke D Jones
fba5f26f7e
More verbose and thorough checks for gfx switching
...
- Small fixes
- Cleanup bios help
- g-sync warnings on toggling
2021-03-11 12:24:01 +13:00
Luke D Jones
def0259d24
Bump version
2021-03-10 16:47:22 +13:00
Luke D Jones
60014b8a40
Customise initial help for laptop
2021-03-10 14:43:48 +13:00
Luke D Jones
2e4ce27f6b
Hotfix: try to handle module remove gracefully
...
Try to handle module remove more gracefully if in-use when the
display manager is shutting down
2021-03-10 14:07:08 +13:00
Luke D Jones
7c2fb0be81
Hotfix: Nvidia module handling improved
2021-03-10 10:15:59 +13:00
Luke D Jones
2a9a436f9c
Add nvidia-uvm to module list
2021-03-10 07:34:03 +13:00
Luke D Jones
176ab0a639
Rebootless graphics switching
...
This changes out how the current graphics switching works, enabling
asusd to stop/start the display-manager to enable/disable PCI devices
and add/remove drivers as required.
All existing graphics modes and commands still work as normal.
G-Sync enable is now only through the bios setting, and on reboot
will set all relevant settings to Nvidia mode.
2021-03-09 16:45:43 +13:00
Luke D Jones
6f81f86483
Version bump
2021-02-22 11:48:08 +13:00
Luke D Jones
b64b8a38e4
cargo update, update udev rules
2021-02-22 11:34:47 +13:00
Luke
629bdc2213
Large code cleanup
2021-02-06 23:18:01 +13:00
Luke
00bd556d7a
Initial refactor
2021-02-06 08:53:02 +13:00
Luke
0af68baf7b
split out types, dbus
2021-02-03 23:06:54 +13:00
Luke
4720af2cb8
Migrate to use zbus for all dbus requirements
2021-02-03 16:46:48 +13:00
Luke
720dc0c177
v2.2.2 prep
2021-01-31 09:59:24 +13:00
Luke
cf13b4f71b
Bugfixes and improvements
...
- fix CLI feedback for reboot/restartx. Update readme
- dracut force driver include for nvidia dedicated
- change fan-mode CLI tag
Closes #48
2021-01-27 14:13:02 +13:00
Luke
82900f4645
CLI args for bios. Cleanup and improve
...
- dbus method for 'supported modes'
- add dedicated gfx safety
- bring ctrl-gfx back in to main control for better integration
- safely upgrade config files
2021-01-26 21:07:19 +13:00
Luke
c9b2a0c777
Fixes
...
- Adjust gfx controller to assume that the graphics driver is loaded if the
mode is set for nvidia/hybrid
- Small code adjustments for error handling
2021-01-10 22:27:56 +13:00
Luke
54cc51fe5d
Minor update to deps
2021-01-09 13:48:13 +13:00
Luke
81645d0777
Update deps and fmt
2021-01-09 13:42:46 +13:00
Luke D Jones
0558f919c4
Add DBUS method to toggle to next profile
2020-10-25 15:02:35 +13:00
Luke D Jones
6ce32c1cab
Fix one super silly bug
...
closes #30
2020-10-22 08:16:00 +13:00
Luke D Jones
9ac3c46fe6
Actually enable/disable gfx switch control
2020-10-05 09:32:46 +13:00
Luke D Jones
9ffeb19c8c
Bump version
2020-09-29 21:30:23 +13:00
Luke D Jones
622cd9d943
Fix timeout for GFX switching
2020-09-24 08:00:37 +12:00
Luke D Jones
a7419cbc4c
Remove many unwraps or change to maps
2020-09-23 20:47:33 +12:00
Luke D Jones
368d279ca5
Add "info" output for gfx driver check
2020-09-23 12:59:15 +12:00
Luke D Jones
4e4ea0035e
Add missing gfx dbus signal
2020-09-21 20:41:28 +12:00
Luke D Jones
fe6231ad4e
GFX control, no-tokio, no-async, dbus client refactor
...
- Working gfx modes <iGPU only, dGPU only, or hybrid>
- Add signal for gfx vendor change and make CLI wait for signal
- Add polling for led brightness to save to config
- Move daemon to zbus crate
- dbus client refactor
- Further dbus methods and updates
- Add basic notification user daemon and systemd service
2020-09-21 10:36:22 +12:00
Luke D Jones
4cdb06959b
Bump rog-fan-curve to new versiont o support GA401IV
2020-09-10 22:52:17 +12:00
Luke D Jones
84d056f2ed
Fix AMD turbo setting
2020-09-10 21:56:22 +12:00
Luke D Jones
cddff32757
Fixes: Handle keyboard nodes better.
...
- Uses string instead of debug print for some errors
- Add interface num arg for LED controller (should help support
older laptops better)
- Some slightly better error messages
- Fix an idiotic mistake in `for i in 0..2.. if i > 0` -_-
- Remove "unsupported" warning on laptop ctrl
- Silence warning about AniMe not existing
- Adjust the turbo-toggle CLI arg
- Version bump for new release with fancurves
Closes #7 #10 #8 #4
2020-09-10 11:35:40 +12:00
Yarn
6ba645f727
Add fan curve support and profiles
2020-09-06 23:13:39 -07:00
Luke D Jones
772538bc8a
Revert a dep to older version
2020-08-28 22:20:21 +12:00
Luke D Jones
b70137eec8
Bump versiona and update deps
2020-08-28 20:07:46 +12:00
Luke D Jones
f0c5c3af86
Bugfixes
2020-08-13 20:39:56 +12:00
Luke D Jones
96b0f40886
Fix deadlock
2020-08-13 17:03:48 +12:00
Luke D Jones
756c5f674e
Better laptop LED mode handling
2020-08-11 12:16:23 +12:00
Luke D Jones
584ca023ad
Complete rename
2020-08-04 20:08:09 +12:00
Luke D Jones
76a8f7678c
Move two common functions to a trait object
2020-08-04 16:26:34 +12:00
Luke D Jones
16681d03dd
Safe get of led devnode
2020-08-03 08:08:41 +12:00