Luke D. Jones
e4f79a3e6f
Config files use generic traits
2023-01-06 12:03:12 +13:00
Luke D. Jones
19f82493de
Better config fie handling for the asusd daemon
...
Should address #304
2023-01-05 19:56:51 +13:00
Luke D. Jones
1cbffedaeb
Advanced Aura feature
...
Groundwork for 'advanced' aura modes
Add single zone + Doom light flash
Fix mocking for ROGCC
Better prepare & change to mapping of keyboard layouts to models and functions
Refactor and begin using new key layout stuff
Enable first arg to rogcc to set layout in mocking feature mode
Complete refactor of key layouts, and to RON serde
2023-01-03 20:21:11 +13:00
Luke D. Jones
dbfd73da5e
ROGCC: Better handle the use of GPU MUX without supergfxd
2022-12-10 19:30:30 +13:00
Luke D. Jones
688e3a7358
Send signals using the correct context for each
2022-11-06 12:48:19 +13:00
Luke D. Jones
600d0ae3d9
Clippy run
2022-09-30 15:10:56 +13:00
Luke D. Jones
7939b00aa3
Check inotify paths are valid. Add dgu/egpu/ac_online checks
2022-09-24 14:34:15 +12:00
Luke D. Jones
30550aaa91
Further improve the daemon controller pattern and reduce cloned code
2022-09-23 20:07:43 +12:00
Luke D. Jones
7ea1f41286
Convert chunk of daemon to use async mutex
2022-09-23 10:50:09 +12:00
Luke D. Jones
9608d190b9
Use tokio in asusctl
2022-09-22 22:36:16 +12:00
Luke D. Jones
0c97cf710d
Trial single inotify test
2022-09-20 20:57:39 +12:00
Luke D. Jones
eba9dc8a52
daemon: update an old log comment. Don't reload panel_od if not available
...
Closes #242
2022-08-21 21:28:52 +12:00
Luke D. Jones
3fe5896596
daemon: fix keyboard brightness setting
...
Closes #241
2022-08-20 21:42:18 +12:00
Luke D. Jones
f8cdde2adf
rog-platform: add power (basics)
...
- Refactor the macros
- Add inotify creator for each attribute
2022-08-20 21:07:34 +12:00
Luke D. Jones
24fa075a44
Extend GpuMode to include other modes
2022-08-12 22:10:49 +12:00
Luke D. Jones
a0f7cf3acd
Rename RogBios bits to Platform. Better GPU MUX support.
2022-08-12 21:51:04 +12:00
Luke D. Jones
d35707f2e4
Merge rog-supported in to rog-platform
2022-08-12 17:45:29 +12:00
Luke D. Jones
561f61116c
Added tasks for reload keyboard bright, and for charge control
2022-06-07 11:49:12 +12:00
Luke D. Jones
af216ee08c
Async tasks
2022-06-07 00:54:33 +12:00
Luke D. Jones
de43a37e9e
Use smol async for daemon and daemon-user
2022-06-06 14:34:59 +12:00
Luke D. Jones
a85e2f6130
Finalise zbus3 conversion
2022-06-06 00:08:59 +12:00
Luke D. Jones
3aa6eee306
Bugfixes
...
- Spawn tasks on individual threads
- Don't force a default of fan-curve on reload
- Add missing profile commands
- Begin obsoleting the graphics switch command in favour of supergfxctl
- Slim down the notification daemon to pure ASUS notifications
Bad behaviour in fan-curve new function that was forcing a re-init
to default on reload. Remove this and only save config again after
loading the config file and writing a curve (hidden side effect of
write is that a zeroed array is defaulted to read-from-system - this
needs to be changed too).
Closes #140 , #139
2021-10-02 20:31:14 +13:00
Luke D. Jones
ab195e1d84
Fan curve enablement
...
- Add CtrlProfileTask
- Add method to reset active profile curve to platform default
- Wrap the zbus methods for profiles + fan curves
- Enable CLI args for fan curves
- CLI mod and save curves
2021-09-14 14:52:15 +12:00
Luke D. Jones
b939a9d331
Fetch and store fan curve correctly
2021-09-11 00:25:46 +12:00
Luke D. Jones
bfaa478a4a
Begin syncing changes with patch series
2021-09-07 20:20:37 +12:00
Luke D. Jones
c6cc304a42
Clean up unwrap()'s. Print out info in asusctl if error
2021-08-28 11:07:47 +12:00
Luke D. Jones
a13dedf500
Cleanup
2021-08-27 20:46:04 +12:00
dragonn
cb490f23e9
Requesting dbus name after finishing initalizaction
2021-08-27 20:45:37 +12:00
Luke D. Jones
cf915b9e00
Move anime data. Twiddle supergfxctl
2021-08-26 13:53:54 +12:00
Luke D. Jones
326ca37847
rog-supported crate
2021-08-26 13:17:17 +12:00
Luke D. Jones
498e604531
Major update to supergfx and others
2021-08-26 11:44:11 +12:00
Luke D. Jones
6ceb5cf939
Major restructure to move gfx control out to crate
2021-08-25 11:16:23 +12:00
Luke D. Jones
0ed97db4c1
Temporary checkpoint
2021-08-24 12:35:57 +12:00
dragonn
88abafc728
add a protection to not allow running asusd in terminal
2021-07-09 18:40:38 +02:00
Luke D. Jones
1b34079d14
Trial of blocking vfio/compute unless in integrated mode
2021-06-07 11:02:21 +12:00
Luke D. Jones
ffa74d52e5
Fix LED brightness apply on resume
2021-06-06 12:12:17 +12:00
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