Luke Jones and GitHub
229fa93bc7
Dbus signals ( #28 )
...
* Small rename of dbus args
* Split out parts of main loop to tasks
* Send signals on boot
2020-07-07 13:33:32 +12:00
Luke
2dc61fe994
Fix a clippy lint
2020-07-05 21:31:40 +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
98ffa817e6
Proper fix of laptop mode conversion bug
2020-07-05 13:33:45 +12:00
Luke
a4c5b2754e
Try to correct how laptop modes are handled
2020-07-05 00:23:12 +12:00
Luke
202fbe6800
Add support for GU502
2020-07-04 20:07:23 +12:00
Luke
f870f0adf0
Support for G512LU
2020-07-04 10:06:18 +12:00
Luke
e562428dbf
Fix default colour to be red
2020-07-02 09:01:46 +12:00
Luke
9f8834fc4f
dbus-send examples
2020-07-01 19:59:20 +12:00
Luke
efe88aa675
Prep new version
2020-07-01 11:12:05 +12:00
Luke
cff0af76c8
Additional dbus methods
2020-07-01 11:00:11 +12:00
Luke
a731361278
Document dbus a bit better
2020-06-30 21:55:49 +12:00
Luke
898276494c
Remove around 14 transitive dependencies
2020-06-30 20:49:44 +12:00
Luke
70a1bc3487
End up duplicating the CLI structs but without help member
2020-06-30 16:56:47 +12:00
Luke
9fad94a834
Simplify and remove further code
2020-06-30 16:02:12 +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 and GitHub
f85c8cbc50
Update README.md
2020-06-29 10:16:24 +12:00
Luke Jones and GitHub
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
4922042432
Add dbus methods and CLI args for battery charge limit
2020-06-26 16:44:01 +12:00
Luke
baa5cef625
Add ability to set BAT0/charge_control_end_threshold
2020-06-26 16:23:14 +12:00
Luke Jones and GitHub
0b2df1b468
Update README.md
2020-06-26 10:27:34 +12:00
Luke Jones and GitHub
6f718ac51f
Update README.md
2020-06-26 09:14:18 +12:00
Luke
710e8228b0
Code cleanup, add more USB hid docs
2020-06-25 10:39:09 +12:00
Luke Jones and GitHub
7091caf48b
Update README.md
2020-06-24 15:37:28 +12:00
Luke Jones and GitHub
098652aadb
Update README.md
2020-06-24 11:14:26 +12:00
Luke Jones and GitHub
f9eebccdee
Add link to discord server
2020-06-24 11:14:02 +12:00
Luke
3fec275fa0
Finalise G531GT support
2020-06-24 09:40:54 +12:00
Luke
08801f8bfc
Trial of adding G531GT support - similar to GX502
2020-06-23 13:55:36 +12:00
Luke
7246acbb66
Add GX531 LED modes
2020-06-17 22:13:24 +12:00
Luke
7e9c78605b
Safely index modes
2020-06-11 21:02:46 +12:00
Luke
bf3588e516
Move led_writer to a main loop due to strange mpsc behaviour
2020-06-11 20:39:28 +12:00
Luke
93c6b28409
Need to revert tokio mpsc to sync
2020-06-11 17:29:44 +12:00
Luke
3eba038b16
Revise cherrypick of edits from meumeu
2020-06-11 16:25:46 +12:00
Luke
bd0b2ac82f
Refactor device initialisation
2020-06-11 10:17:56 +12:00
Luke
0b51f61f7a
rogcore: match interface with keyboard endpoint instead
2020-06-11 09:52:00 +12:00
Luke Jones and GitHub
962216051f
Merge pull request #17 from Meumeu/master
...
Fix rebasing mistake
2020-06-11 09:14:08 +12:00
Luke Jones and GitHub
2bf8a05a7e
Merge pull request #19 from aspann/as/ga501_fixup
...
fixed build errors on rust - removed RGB support for GA502
2020-06-11 09:10:51 +12:00
Luke Jones and GitHub
b121d888d9
Update bug_report.md
2020-06-10 21:04:25 +12:00
Luke Jones and GitHub
46c543e605
Update issue templates
2020-06-10 21:03:16 +12:00
Luke
befa711ed9
Update changelog, extra dbus tweaks
2020-06-10 20:49:10 +12:00
Luke Jones and GitHub
d0fe8488bd
Merge pull request #16 from shoenig/daemon-reload
...
Add note about daemon-reload in README
2020-06-10 16:30:31 +12:00
Luke
d53cef8268
Trial of fixing github action
2020-06-09 21:25:56 +12:00
Luke
d1c0b70084
Builddeb
2020-06-09 20:48:39 +12:00
Luke
964c24f8fa
Final round of fixes for new version
2020-06-09 20:46:14 +12:00
Luke
cb8032c7c2
Create AniMe device only if physical device exists
...
The call to create the device handler will return with an error if
the physical device doesn't exist, the device (if exists) is stored
in an option already so just keep that as `None` if errored.
Addresses issue #14
2020-06-08 19:57:05 +12:00
Luke
9ddd7da1c2
Trial of skipping ever n pixel in width
2020-06-04 21:29:41 +12:00
Luke
8d19db9f0e
Test bmp display
2020-06-04 20:15:13 +12:00
Luke
352cc5e2cb
Final data format and conversion for AniMe
2020-06-03 22:49:36 +12:00
Luke
0530786ee5
Light up right side only in test
2020-06-03 20:46:33 +12:00
Luke
fe0f8568bc
Test format of anime data
2020-06-03 20:30:50 +12:00
Luke
42bf22f76a
Use set_no_reply(true) on certain messages
2020-06-03 10:51:17 +12:00
Luke
ffb62bbcdd
Add wheel group for dbus on gentoo
2020-06-02 20:32:46 +12:00
Luke
8e98aafddd
Finalise anime matrix stuff. Many fixes
2020-06-02 20:14:32 +12:00
Luke
e3eccef193
Adjust dbus sleep for aura crate
2020-06-02 11:38:17 +12:00
Luke
d9fc7de5cb
Initial groundwork of animatrix
2020-06-02 11:37:41 +12:00
Luke
ca5d625cec
Fine tune RGB sleep period
2020-06-02 11:09:45 +12:00
Luke
c4cef7a9fe
Update readme with credit
2020-05-31 22:02:52 +12:00
Luke
3e3ee9d3ff
Update readme with credit
2020-05-31 21:42:27 +12:00
Luke
ef50c559e2
Update readme with credit
2020-05-31 21:38:36 +12:00
Luke
c161752dc7
Merge branch 'master' of github.com:flukejones/rog-core
2020-05-31 20:42:40 +12:00
Luke
4014f81e43
Add contributing.md, update readme
2020-05-31 20:41:37 +12:00
Luke Jones and GitHub
7cf92f1872
Create FUNDING.yml
2020-05-29 13:07:16 +12:00
Luke Jones and GitHub
fdc7c9d112
Create rust.yml
2020-05-29 13:03:46 +12:00
Luke
b663a7377d
Update readme
2020-05-23 20:03:47 +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
88d5343db8
Bump version
2020-05-23 15:06:37 +12:00
Luke
a25e7ddb27
Add boost toggle for AMD
2020-05-23 14:37:12 +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
de10fe13e7
In-progress
2020-05-23 13:23:58 +12:00
Luke
0b3046b31f
More verbose error log on startup
2020-05-23 09:41:28 +12:00
Luke
8f9c81e863
Laptop profiles, refactor multizone
...
- Start differentiating between models using the 0x1866 USB device
- Refactor how to send multizone over dbus, and how to write it (write 4 packets before writing SET/APPLY)
- Begin implementing profiles per board_name
2020-05-22 22:23:32 +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 Jones
0e6f6f3289
Many small fixes
...
- Flip writing order of effect colour blocks every other block write to try
and even out. Previously the bottom rows were always last to be written.
- Add more examples: ball, comet, pulser.
- Refine the keyboard layout grid for GX502.
- Use tokio to delay main loop, not thread::sleep
- Minor tweaks to error handling. Needs refactor of errors.
2020-05-22 15:17:52 +12:00
Luke
2381a64b71
Use tokio to delay main loop, not thread::sleep
2020-05-08 21:37:51 +12:00
Luke
e09dd345c0
Bouncy ball example
2020-05-06 23:58:38 +12:00
Luke
497ba61d22
Try to handle fan-mode fail better
2020-05-06 07:38:35 +12:00
Luke
4d7bc77dff
Improve per-key LED. Add extra example
...
- Small fixes to use all keys on GX502
2020-05-05 22:15:18 +12:00
Luke
f11afdbc7d
Fix reloading last keyboard brightness on boot
2020-05-05 14:21:19 +12:00
Luke Jones
7a8af1266a
Fixes to functionality
2020-05-04 15:42:15 +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 Jones
a0d256cbef
Internal fixes to prevent deadlocks on mutexes
2020-05-04 13:25:56 +12:00
Luke Jones
f50d745797
Internal fixes to prevent deadlocks on mutexes
2020-05-04 13:21:48 +12:00
Luke
0350b64efc
Add changelog, version bump
2020-05-04 13:18:02 +12:00
Luke
89c868ce95
Refactor code to reduce LedWriter to single thread
...
- Fixes race conditions (mostly) between awaits
- Fixes possible deadlock of mode changes when effect is running
- Fixes sending kill signal to effect clients
2020-05-04 12:35:27 +12:00
Luke
23d84b063f
Update readme with PPA
2020-05-02 21:47:52 +12:00
Luke
2e54242e55
.deb build fixes
2020-05-02 21:19:46 +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
1a967f315b
Bump release
2020-05-01 22:08:15 +12:00
Luke
bf6bf2e2f1
Big refactor out of Aura LED data structs
2020-05-01 22:07:28 +12:00
Luke
38ab4bc182
Refactor to prepare splitting out aura for CLI effects
2020-05-01 21:16:17 +12:00
Luke
37dd181230
Code cleanup
2020-05-01 14:50:52 +12:00
Luke
9f4b2068a1
Version bump
2020-04-30 22:10:01 +12:00
Luke
8b36f1ceec
Much better use of async throughout
2020-04-30 22:06:54 +12:00
Luke
5ee57b21c9
unsafe pointery stuff
2020-04-30 19:00:58 +12:00
Luke
596d523a89
Reorganise some async code
2020-04-30 15:41:12 +12:00