MatMoul / g810-led

Linux led controller for Logitech G213, G410, G413, G512, G513, G610, G810, g815, G910 and GPRO Keyboards
GNU General Public License v3.0
1.38k stars 182 forks source link

Led color of keyboard (g512) reset when unplug and re-plug usb port #286

Open lutuantai95 opened 2 years ago

lutuantai95 commented 2 years ago

Hi g810-led team,

I have a question.

Is there a way to set up when I unplug and re-plug the usb port of keyboard (G512), the led color won't reset to default?

This doesn't happen on windows 10. I used Logitech Gaming Software to change color of keyboard.

Thanks in advanced for your response!

mfvianna commented 1 year ago

Yes, there is. Use the udev rules provided along with the software. Just be aware that the default file permissions on the provided udev (666) rules are dangerous, one should use 660 instead to prevent any user to sniff the keyboard events and, for example capture passwords.

lutuantai95 commented 1 year ago

@mfvianna Thanks for your response! Could you show me how to set up udev (660) rule (By CLI or images)? Thanks!