Comments (3)
I would also be interested to know if this is possible.
I am currently trying to incorporate basic color and brightness functionality into my little project markusressel/keyboard-backlight-daemon. So far this repository has been extremely helpful in getting it to work, so thank you for your efforts 👍
from rogauracore.
So reading the current state is going to be a bit tricky. I got the aura core protocol by reverse engineering, sniffing the USB packets sent by the Windows 10 app to the keyboard. I'm fairly confident I never saw Windows query the RGB state; rather, when the app starts up, the keyboard's state immediately changes to match what the app displays. It's possible that there are USB messages to fetch state, but I don't know what they are. The code may inspire someone to take an educated guess (0x5d
followed by 0xb0
or 0xb1
or 0xb2
?). The prototype directory has some Python code that's not hard to modify, and could allow some of these ideas to be tested. Personally, I'm a bit hesitant to experiment with this since my hardware is also my daily driver and a machine that I need for work. I'll leave this issue open in case we can make progress here.
I'd also have a preference for the status
variant for querying, instead of a daemon process (although both would be technically possible). The reason for this is that rogauracore needs to detach the keyboard from the kernel to change the RGB state, so we only want to talk to the RGB controller for as long as we need to. During the time we're connected to the keyboard, the kernel won't get keyboard events; a background daemon that periodically chatted with the controller would manifest as mysteriously dropped keypress events, etc. Not worth it, IMHO. Better to have some daemon process (possibly attached to the dbus) that invokes rogauracore when the user needs to find out something or change something.
from rogauracore.
Gotcha. A simple short-term solution would be to just set rogauracore at every login according to a user variable, or even a .desktop
file in config somewhere. But a simple waking daemon would also be a cool idea. I'm actually interested in learning more about Linux administration (as I need to brush up), so I'll learn more about systemd daemons, dbus and udev. Once I've figured out a safe, minimal solution I'll get back to you.
from rogauracore.
Related Issues (20)
- exit code 17 HOT 2
- A gui for rogauracore HOT 2
- when i set rogauracore rainbow. its show only red color HOT 1
- Brightness Control not working
- could not find rog aura even have compatible keyboard HOT 1
- Could not find ROG Aura Core keyboard. HOT 12
- asus rog GL503 HOT 1
- Could not find ROG Aura core keyboard - Asus TUF FA56II HOT 8
- Keyboard has suddenly gone dark on GX701GX-XB78 HOT 6
- asus g513 HOT 1
- sync
- Uninstalled rogauracore but the lighting it set isn't getting changed back to default
- Feature Request: rainbow_wave
- add asusctl as a dependacy HOT 1
- Automatic launch on startup HOT 2
- Not working on Zephyrus duo 16 (2023) HOT 5
- Fx506Lu keyboard not showing in lsusb
- change the color according to daytime
- [BUG]LIBUSB_error_access on Asus rog GL753DV
- lightbar not working on ROG Strix G512LI_G512LI 1.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rogauracore.