A Python utility to control the Slash LED lighting of the ASUS ROG GA403 series.
This implementation is based on reverse-engineered command sequences from seerge/g-helper and communicates directly with the USB HID interface of the device.
Make sure the following packages are installed:
sudo apt install libhidapi-libusb0 python3-hid python3To allow non-root access to the device:
Create a file: /etc/udev/rules.d/99-asus-ite.rules with the following content:
SUBSYSTEM=="usb", ATTRS{idVendor}=="0b05", ATTRS{idProduct}=="19b6", MODE="0666", GROUP="plugdev"
Then reload udev:
sudo udevadm control --reload-rules
sudo udevadm trigger- Vendor ID:
0x0b05(ASUSTek Computer, Inc.) - Product ID:
0x19b6(ITE Device 8910) - Tested on: ASUS ROG GA403 series
python3 slashctl.py --enable true
python3 slashctl.py --battery
python3 slashctl.py --brightness 10 --mode Phantom| Argument | Description |
|---|---|
--enable |
Enable or disable the device (true/false) |
--brightness |
Set brightness level (0–10) |
--mode |
Set animation mode (see list below) |
--battery |
Show battery level animation |
Supported Modes
Bounce, Slash, Loading, BitStream, Transmission,
Flow, Flux, Phantom, Spectrum, Hazard,
Interfacing, Ramp, GameOver, Start, Buzzer,
Static, BatteryLevel
python3 slashctl.py --enable true
python3 slashctl.py --brightness 8 --mode Transmission
python3 slashctl.py --battery
python3 slashctl.py --enable false
- Basic lighting modes
- Brightness control
- Battery level animation
- Static custom pattern