A simple GUI app written in PyQt to control keyboard backlight, power mode and fan speed on some Dell G15 and Alienware Laptops. 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
. Power related functions are specific to the laptop models below, but might work on similar models.
Laptop Model | Power Settings | Keyboard Backlight |
---|---|---|
G15 5525 | :white_check_mark: | :white_check_mark: |
G15 5520 | :white_check_mark: | :white_check_mark: |
G15 5511 | :white_check_mark: | :white_check_mark: |
G16 7620 | :white_check_mark: | :white_check_mark: |
Alienware M16 R1 | :white_check_mark: | :grey_question: |
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.
Create an udev rule /etc/udev/rules.d/00-aw-elc.rules
.
/etc/udev/rules.d/00-aw-elc.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="187c", ATTRS{idProduct}=="0550", MODE="0660", TAG+="uaccess", SYMLINK+="awelc"
Polkit is required for power and fan related functionality. If it is not already loaded, load the acpi_call module before launching this application.
modprobe acpi_call
You can install from the AUR if on Arch Linux. For dependencies, see the AUR link.
Install the dependencies, as well as libxcb-cursor0
if required.
python main.py
GNU GENERAL PUBLIC LICENSE v3
Written using the information and code from https://github.com/trackmastersteve/alienfx/issues/41.
Many thanks to @AlexIII and @T-Troll for their help with the ACPI calls.