cemkaya-mpi / Dell-G15-Controller

GNU General Public License v3.0
21 stars 10 forks source link

Alienware-m17-r3 impossible to switch off/on the keyboard lights #21

Open LAfricain opened 1 month ago

LAfricain commented 1 month ago

Bus 002 Device 002: ID 0bda:0328 Realtek Semiconductor Corp. USB3.0-CRW
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0bda:565a Realtek Semiconductor Corp. Integrated_Webcam_HD
Bus 001 Device 003: ID 187c:0550 Alienware Corporation LED controller
Bus 001 Device 002: ID 1ea7:0064 SHARKOON Technologies GmbH 2.4GHz Wireless rechargeable vertical mouse [More&Better]
Bus 001 Device 006: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 001 Device 005: ID 0d62:3740 Darfon Electronics Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub```
For more information see #13 
cemkaya-mpi commented 1 month ago

Hi, the usb device is the same, so the only difference should be the zone definitions. As yours is an Alienware model, it might have additional leds in comparison to the G15.

The zones are defined here.

Could you change the zone definitions to try and see which values work for you? ZONES lists all zones, while ZONES_KB and ZONES_NP are the three zones for the keyboard and the zone for the numpad respectively.

For example, you could try

ZONES = [1, 2, 3, 4]
ZONES_KB = [1, 2, 3]
ZONES_NP = [4]

And so on. By the way, does power/fan functionality work at all on the alienware model?