JafarAkhondali / acer-predator-turbo-and-rgb-keyboard-linux-module

Linux kernel module to support Turbo mode and RGB Keyboard for Acer Predator notebook series
GNU General Public License v3.0
342 stars 59 forks source link

facer_rgb.py suddenly needs elevated privileges #90

Closed ASKaraferias closed 1 year ago

ASKaraferias commented 1 year ago

Model: Nitro 5 AN515-45 V1.08

Count of keyboard RGB zones: 4

Count of Cpu Fans: 1

Count of Gpu Fans: 1

RGB keyboard works? Yes

Turbo button turn on fans? No

Turbo button turn on LED? No

Turbo button activates overclock? No

OS: Arch Linux

Kernel: 6.2.1-arch1-1

I've been using this script without an issue for some time. Suddenly when I try to run it I get this error:

Traceback (most recent call last): File "/home/username/./scripts/facer_rgb.py", line 203, in with open(CHARACTER_DEVICE, 'wb') as cd: PermissionError: [Errno 13] Permission denied: '/dev/acer-gkbbl-0'

I can still run it with sudo, but I don't believe it is a good idea to do so.

ASKaraferias commented 1 year ago

Closed this, because it can be solved with uninstalling the old version of the package and installing the new one. I suggest this remains here, because other people may face the same issue.