1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2024-12-23 17:26:11 +00:00
Commit Graph

23 Commits

Author SHA1 Message Date
Stephen Kitt
e2b486fd1b
Rely on uaccess to control device access
The udev rules currently make supported device nodes world-readable
and writable, which means that any process on the system can read
traffic from keyboards including passwords etc. To avoid this, while
still allowing the "controlling" user to run g810-led without being
root, this patch adds a uaccess tag; this ensures that the user at the
console has write access to the devices. The mode is also changed to
660 to ensure that existing device nodes are fixed on upgrade.

Thanks to Xavi Drudis Ferran for bringing this to my attention.

Fixes: #293
Signed-off-by: Stephen Kitt <steve@sk2.org>
2022-11-28 21:05:05 +01:00
5ba6063ad2 Resolve merge conflicts 2020-04-26 18:48:26 +02:00
cornernote
a3cbef418d updates for G815 support 2020-01-13 12:47:29 +10:30
Paulo Flabiano Smorigo
1642d2dc02
Add support for g512
Signed-off-by: Paulo Flabiano Smorigo <pfsmorigo@gmail.com>
2020-01-04 22:10:00 -03:00
a6586266f1 upadate udev rules 2019-07-25 21:59:49 +02:00
linusmartensson
3c06d8f952
Update g810-led.rules
I had problems (with g513) where the udev rules were causing the script to run repeatedly, glitching any effects and stopping regular commands from executing. The singular version "SUBSYSTEM" instead of "SUBSYSTEMS" seems to fix that. YMMV
2019-06-26 17:34:27 +02:00
68551c65ec Add support to G512 and G513 2018-08-01 23:37:29 +02:00
0a7ee5b858 Add G413 support 2017-08-02 11:43:03 +02:00
Lauri Leukkunen
3f40566063 Fix gpro and uninstall target
GPRO udev rule needs to use the /etc/g810-led/profile path like
the others.

Removed uninstallation of g810-led.service that is not being installed
in setup.

Signed-off-by: Lauri Leukkunen <lauri@rahina.org>
2017-05-14 09:46:34 +03:00
c540803266 Make gpro ready for release 2017-05-12 21:29:12 +02:00
Lauri Leukkunen
bca3eeb469 Add PRO support
Initial PRO support, effectively treat as g810

Signed-off-by: Lauri Leukkunen <lauri@rahina.org>
2017-05-10 14:10:38 +03:00
9ae812b88e Finalization of g213 support 2017-04-21 23:00:21 +02:00
cb24ce8909 Update udev and remove systemd start service 2017-04-14 03:05:50 +02:00
bcdcee88f1 Switch to hidapi 2017-01-21 22:45:48 +01:00
bc93fcc206 Update udev.rules 2017-01-15 06:48:48 +01:00
cb93f9c9a0 Update udev rules 2017-01-15 03:14:33 +01:00
338876a006 Add new product ID for G610 2017-01-05 22:00:27 +01:00
f01c26feff Add make install and make uninstall 2016-12-28 01:46:37 +01:00
2154dfe45e Add make install and make uninstall 2016-12-28 01:45:34 +01:00
Daniel Kolosa
bcccdae449 Added support for g910 spectrum 2016-12-01 20:07:13 -05:00
946056c6a6 Add g910-spark to udev rules 2016-11-28 21:28:57 +01:00
64b1a59849 Update udev rules 2016-11-12 01:12:12 +01:00
f7be63cedb add systemd unit and udev rules 2016-06-17 22:13:16 +02:00