G15kblight-cli is a command-line utility designed for controlling the keyboard backlight effects on Dell G15 laptops under Linux. This project is forked from cemkaya-mpi/Dell-G15-Controller.
The core code is consistent with the original project.
Untested on any other laptop, but keyboard part can most likely be used with models that have the Bus *** Device ***: ID 187c:0550 Alienware Corporation LED controller
.
By default, leds will flash red on low battery, and have half brightness on battery.
Only static color and morph is supported at this time.
Use at your own risk.
cd pkg
makepkg -si
No installation necessary, besides installing python dependencies, and creating the udev rule /etc/udev/rules.d/00-aw-elc.rules
, and rebooting. Make sure the user is part of the plugdev
group. Alternatively, run the script as root (not recommended).
/etc/udev/rules.d/00-aw-elc.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="187c", ATTRS{idProduct}=="0550", MODE="0660", GROUP="plugdev", SYMLINK+="awelc"
- python-pyusb
G15kblight-cli -h
# set static color
G15kblight-cli -s 0x7733FF
# set morth color
G15kblight-cli -m 0x7733FF
# set static and morth color and duration
G15kblight-cli -s 0x7733FF -m 0x7733FF -t 555
GNU GENERAL PUBLIC LICENSE v3
Written using the information and code from trackmastersteve/alienfx#41.
Many thanks to @AlexIII and @T-Troll for their help with the ACPI calls.