Commit Graph

25 Commits

Author SHA1 Message Date
Luke D. Jones 2b58e259de Update config & dbus parts, cleanup deps, device power states
- Add extra config options and dbus methods
- Add power state signals for anime and led
- Refactor to use channels for dbus signal handler send/recv
- Split out profiles independant parts to a rog-profiles crate
- Cleanup dependencies
- Fix some dbus Supported issues
2021-05-24 18:56:21 +12:00
Luke D. Jones ba03e8feb8 gfx: tmp informational only store of vfio/compute mode 2021-05-18 09:54:26 +12:00
Luke D. Jones 41cbf4d353 Refactor dameon gfx 2021-04-25 22:53:38 +12:00
Luke D. Jones dc6e8f8dcb profiles: add dbus methods to change active profile
Closes #81, #73, #68
2021-04-25 14:33:41 +12:00
Luke D Jones f95e42e4b9 Reload LED mode on boot 2021-04-19 10:05:37 +12:00
Luke D Jones bd9bc8bcff anime: services for system sequences 2021-04-14 23:14:57 +12:00
Luke D Jones 8a6d364304 anime: initial system config work 2021-04-12 17:35:04 +12:00
Luke D Jones 64d99a3e05 gfx: partial save and recover of mode change
Properly set and recover to last mode for g-sync laptops

Partial close of #75
2021-04-12 10:49:08 +12:00
Luke D Jones 7d0f15d738 anime: CLI and user-daemon work 2021-04-09 20:41:25 +12:00
Luke D Jones 2af33a0416 daemon: revert zbus to 1.9.1 in daemon 2021-04-07 15:05:26 +12:00
Luke D Jones 7ff01f12e9 Add extra models to ledmodes
- Configurable anime example
- Gfx power states as enum

Closes #72
2021-04-03 21:42:39 +13:00
Luke D Jones 2dc70ea6af Put vfio behind config option 2021-04-03 09:59:36 +13:00
Luke D Jones 301c532b65 Formatting 2021-03-23 13:45:57 +13:00
Luke D Jones df7ae4d014 Fix: non-rgb keyboard backlight control 2021-03-23 13:44:07 +13:00
Luke D Jones 7a51cd1c70 Cleaned up 2021-03-22 11:03:56 +13:00
Luke D Jones 0449a4b06b Initial cleanup 2021-03-22 10:24:28 +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 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 7c2fb0be81 Hotfix: Nvidia module handling improved 2021-03-10 10:15:59 +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 50756046cf Cleanup fan+cpu+config 2021-02-07 00:25:40 +13:00
Luke 629bdc2213 Large code cleanup 2021-02-06 23:18:01 +13:00
Luke 0af68baf7b split out types, dbus 2021-02-03 23:06:54 +13:00