You are not logged in.
I want to turn off keyboard backlight on my laptop. Here is script which helps to control backlight, but I don't know python. Please, help me to configure it.
Last edited by iskander9908 (2024-02-14 06:43:04)
Offline
It's a python script, assuming it works you can just make it executable and run it as any other commandline tool. Pass nothing or -h for usage info.
Last edited by V1del (2024-02-14 01:05:44)
Offline
After running script, it returned
./Downloads/msi-mystic-1563.py -o
Sending HID Report: 02 00 00 00 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Traceback (most recent call last):
File "/home/iskander/./Downloads/msi-mystic-1563.py", line 61, in <module>
with hid.Device(MYSTIC_VID, MYSTIC_PID) as mlight:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/hid/__init__.py", line 130, in __init__
raise HIDException('unable to open device')
hid.HIDException: unable to open device
UPD: It needs sudo privilege
Last edited by iskander9908 (2024-02-14 09:12:03)
Offline