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 | ✅ | ✅ |
G15 5520 | ✅ | ✅ |
G15 5511 | ✅ | ✅ |
G16 7620 | ✅ | ✅ |
Alienware M16 R1 | ✅ | ❔ |
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.
- Polkit
- Pyside6
- Udev
- Acpi_call
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
- For keyboard backlight, choose red, green and blue levels, choose a mode , and press apply. Press the system tray icon to enable/disable keyboard backlight quickly.
- To remove the animation, choose "Off" in keyboard backlight mode. After this, AWCC can be used from Windows.
- For power control, choose a power mode first. Afterwards, fan boost levels can optionally be set. Fan rpm and temperatures are polled every second.
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.