Commit Graph

88 Commits

Author SHA1 Message Date
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
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