Commit Graph

78 Commits

Author SHA1 Message Date
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
Luke D Jones
a879907bc3 Move fast, break things 2020-08-01 23:06:36 +12:00
Luke D Jones
c624a6c3ec Prepare for next work 2020-08-01 22:21:26 +12:00
Luke
bffe40d764 Prep new release
Closes #30, #31, #32
2020-07-21 22:05:50 +12:00
Luke
9fea5a4126 Change calc keycode to correct byte 2020-07-09 20:32:43 +12:00
Luke
4f4e0b8f3f Support fn+calc on G712. Customise ROG key 2020-07-09 11:17:14 +12:00
Luke
1f297ba98e Finalise udev rules for init 2020-07-08 21:53:37 +12:00
Luke
1d28290759 Update discord link 2020-07-08 20:01:02 +12:00
Luke
ae9d0463da Improvements to service init 2020-07-07 19:07:18 +12:00
Luke
8da748bf7f Fix many small bugs in refactor of laptop LED mode handling
Closes issue #27
2020-07-05 21:24:07 +12:00
Luke
efe88aa675 Prep new version 2020-07-01 11:12:05 +12:00
Luke
898276494c Remove around 14 transitive dependencies 2020-06-30 20:49:44 +12:00
Luke
20b82b1f24 Init device correctly for LED control 2020-06-30 10:08:48 +12:00
Luke
b751ceb29e Prep release 2020-06-29 22:02:54 +12:00
Luke
32e9e63809 Refactor dbus commands and internal data structures 2020-06-29 21:30:27 +12:00
Luke Jones
3ad15d61c9 Dbus expand (#24)
* Dbus changes
  - Changed "FanMode", "ChargeLimit" to "SetFanMode", "SetChargeLimit"
  - Added dbus signals "FanModeChanged", "ChargeLimitChanged"
  - Added dbus methods "GetFanMode", "GetChargeLimit"
* Refactor of internal loop and tokio tasks
* Add support for ROG Strix G712LV_G712LV
* Correctly read the config before writing changes
2020-06-29 10:03:27 +12:00
Luke
7e9c78605b Safely index modes 2020-06-11 21:02:46 +12:00
Luke
964c24f8fa Final round of fixes for new version 2020-06-09 20:46:14 +12:00
Luke
8d19db9f0e Test bmp display 2020-06-04 20:15:13 +12:00
Luke
8e98aafddd Finalise anime matrix stuff. Many fixes 2020-06-02 20:14:32 +12:00
Luke
727aa3066d Should correctly set AMD boost 2020-05-23 19:25:00 +12:00
Luke
da05b8d90c Fix help for fan-mode cli 2020-05-23 18:10:05 +12:00
Luke
46041c0343 Send fan-mode over dbus. Fix multizone dbus command
Closes issue #7
2020-05-23 14:21:16 +12:00
Luke
bd67afb104 Attempt to get multi-static working 2020-05-22 20:53:19 +12:00
Luke
5e781cbd3d Fix needing to double-tap fan-mode to change mode 2020-05-22 15:40:14 +12:00
Luke
f11afdbc7d Fix reloading last keyboard brightness on boot 2020-05-05 14:21:19 +12:00
Luke
62a613a312 Small fixxes to functionality
- Fixed return of rog-core in client mode
- Fixed writing of customised builtin LED modes
2020-05-04 15:33:41 +12:00
Luke
0350b64efc Add changelog, version bump 2020-05-04 13:18:02 +12:00
Luke
b5c7a47249 Cut new release with debian builds 2020-05-02 20:55:32 +12:00
Luke
f12bb1d4f6 Allow configuration of intel pstates paired with fan-modes 2020-05-02 19:31:40 +12:00
Luke
bf6bf2e2f1 Big refactor out of Aura LED data structs 2020-05-01 22:07:28 +12:00
Luke
9f4b2068a1 Version bump 2020-04-30 22:10:01 +12:00
Luke
596d523a89 Reorganise some async code 2020-04-30 15:41:12 +12:00
Luke
4e78a5dbdd Code cleanup 2020-04-29 15:44:15 +12:00