You are not logged in.

#1 2024-02-13 21:24:43

iskander9908
Member
Registered: 2022-10-30
Posts: 29

[SOLVED]Keyboard backlight on msi alpha 15

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

#2 2024-02-14 01:03:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,831

Re: [SOLVED]Keyboard backlight on msi alpha 15

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

#3 2024-02-14 04:41:30

iskander9908
Member
Registered: 2022-10-30
Posts: 29

Re: [SOLVED]Keyboard backlight on msi alpha 15

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

Board footer

Powered by FluxBB