Giter Club home page Giter Club logo

Comments (3)

markusressel avatar markusressel commented on July 28, 2024 1

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.

wroberts avatar wroberts commented on July 28, 2024

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.

thorhop avatar thorhop commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.