-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
G502 Lightspeed Mouse LED-Control #1766
Comments
This requires documentation on these features, which I have not yet been able to acquire. |
I do not know if its help but the program "Piper" is able to do that already. |
Figuring out what the features do by examining the libratbg (the system that Piper uses to talk to HID++ devices) code is not easy at all. |
I just bought a G502 Hero and I had not given a single thought to fact that logitech doesn't support linux (wow). The program does not seem to detect my mouse. Is it different than the G502? @Svenum $ lsusb |
If the mouse uses HID++, recent versions of Solaar should support it. Which version of Solaar are you using and what is the output of |
I found another github issue regarding this mouse and figured out that installing using apt gives an outdated version. I am running #1481 by cloning and running sudo bin/solaar Am I doing it right? |
Generally Solaar should not be run as root as it will then use a configuration file in root's home directory. PR #1481 is about a year old. You should probably clone from the master branch of this repository. Solaar rules only trigger on diverted keys. The output of |
I installed the latest version 1.1.8rc3+git1940-4e7b6b3 from this page https://launchpad.net/~solaar-unifying/+archive/ubuntu/ppa The issue persists.
PS Running XOrg |
There is no feature shown by |
For future reference. You can forward usb to virtualbox and in windows you can change the profiles and save them into the mouse memory. |
Solaar doesn't (yet) support LED control on this mouse but PR #2243 adds a CLI to dump and load onboard profiles. See the comment on the PR for how it works. Be careful when editing profiles - be sure to keep around a dump of the profiles before you start making changes so that you can load it back if you mess up the profile data. To clone and use Solar from its GitHub repository
Run Solaar as bin/solaar from this directory. To run PR #2243, first clone Solaar if you have not already done so and cd to the clone directory. The first time you download the pull request, fetch it into a new branch and checkout that branch, as in:
To download a new version of the pull request, fetch it and then set your pull branch to the new fetch, as in:
|
Nice, I will try it in the next 24h 😀 |
By the way, onboard profiles on the G502 do have LED control in them, but I still don't have any documentation on how they work, so the new code just grabs the bytes on a dump and restores them on a load. You should be able to copy the LED control bytes between profiles but that's about it. The safest thing to do is to take one of the disabled profiles, copy data from the enabled profile, and then edit this profile. If you mess up it is very likely that the profile data will not load and there should be decent error messages to show what went wrong. |
@Svenum You can see the documentation for the feature in the Google drive folder https://drive.google.com/drive/folders/0BxbRzx7vEV7eWmgwazJ3NUFfQ28 |
PR #2243 has been updated to dump LED control information in the G502 profiles. You can update the dump and then load it back to the mouse to control the LEDs. |
PR #2245 allows direct control of LED effects from config.yaml. There is no GUI yet. led_zone_1 is the lights on the side. led_zone_2 is the logo. Here are sample values for my G502: Off - !LEDEffectIndexed {ID: 0x} There are only four implemented effects on my G502. |
PR #2245 now also has a GUI for controlling LED effects. |
Is it possible to add LED-Control to solaar for the G502 Lightspeed Mouse.
With the output of
I know its these two HID++ 2.0 features:
The text was updated successfully, but these errors were encountered: