gled
gled copied to clipboard
Not working consistently
Thanks for making and sharing gled
I recently updated my G102 firmware to the latest version with the Logitech Windows driver. The new firmware increased the max DPI from 2000 to 8000 (yes, 8000). I set the RGB LED to red breathing in the Logitech software. It saved this into the mouse's memory and when I booted Linux it was still doing red breathing.
- First time I used gled, I ran
gled -debug 3 solid 0000FF
It worked, but I lost my mouse pointer in Ubuntu 18.04 Kubuntu Plasma. - I unplugged and replugged the mouse.
- Now it was doing default every colour cycling.
- I ran
gled -debug 3 solid 0000FF
it worked - I ran
gled -debug 3 solid 00FF00
it worked - I ran
gled -debug 3 solid FF0000
it worked - I ran
gled -debug 3 breathe FF0000 3000 100
2019/05/21 21:15:46 Sending command: 11ff0e3b0003ff00000bb8006400000000000000
2019/05/21 21:15:46 20 bytes transferred to device
it worked
8. I ran gled -debug 3 breathe FF0000 10000 100
2019/05/21 21:16:02 Sending command: 11ff0e3b0003ff00002710006400000000000000
2019/05/21 21:16:03 20 bytes transferred to device
it didn't work
Still red breathing at 3000 interval.
9. gled -debug 3 solid 0000FF
2019/05/21 21:16:13 Sending command: 11ff0e3b00010000ff0000000000000000000000
2019/05/21 21:16:13 20 bytes transferred to device
it didn't work Still red breathing at 3000 interval. 10. Unplugged, replugged. It started the every colour RGB but then after a few seconds resumed 3000ms red breathing.
- I ran
gled -debug 3 solid 0000FF
it worked - I ran
gled -debug 3 solid 00FF00
it worked - I ran
gled -debug 3 solid FF0000
2019/05/21 21:30:55 Sending command: 11ff0e3b0001ff00000000000000000000000000
2019/05/21 21:30:55 20 bytes transferred to device
It didn't work. The colour stayed Green. And I lost my mouse pointer. (mouse crashed?) 14. Unplugged and replugged. All colour RGB startup. Then it went to solid green.
So I think maybe this version of gled doesn't work with the latest firmware.
============================
Running Ubuntu 18.04
Using golang from apt repos go version go1.10.4 linux/amd64
To install I ran go get
which installed gousb.
Then I built the executable with go build -o gled .