P17SM-A Illuminated Touchpad + Power LED

Issue #3 resolved
Aaron Knight created an issue

Hi, Thanks for your work on the driver and configuration tool. I have a Clevo P17SM-A based laptop. On this model, the touchpad is illuminated as well as the power button led with configurable colors. The power led and the touchpad use the same color when set.

Your driver works with this model, but to change the touchpad/power color you must do so indirectly. To change the touchpad color with clevo-xsm-wmi currenty, I basically have to do a double-set on center. The color of the touchpad & power led becomes whatever the previous color for center was.

Example: Let's say the whole unit was blue, and i wanted to change everything to red. If I set all colors to red and click apply, the keyboard changes to red, but the touchpad and light remain blue. If I click apply again, they become red as well. If I click center blue, the center changes to blue, but the touchpad remains red. If I then say center yellow, the center becomes yellow, and the blue moves to the touchpad

Hopefully this gives an understanding of what is going on. It would be great if, with this knowledge, the driver could be expanded to properly support the illuminated touchpad / power led.

Note: The illuminated touchpad + power led does not have as much color configuration as the keyboard - it uses the 8 color mode instead of rgb.

Some info - let me know if you would need more:

uname -a Linux localhost 4.2.0-30-generic #36~14.04.1-Ubuntu SMP Fri Feb 26 18:49:23 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

dmesg | grep clevo [ 6.459559] clevo_xsm_wmi: module verification failed: signature and/or required key missing - tainting kernel [ 6.459724] clevo_xsm_wmi: Model Clevo P17SM-A found [ 6.485381] input: Clevo Airplane-Mode Hotkey as /devices/platform/clevo_xsm_wmi/input/input16 [ 6.488601] clevo_xsm_wmi: Polling thread started (PID: 566), polling at 5 Hz

sudo dmidecode | grep Product Product Name: P17SM-A
Product Name: P17SM-A

Comments (4)

  1. Arnoud Willemsen

    Thanks for the detailed report :)

    Hmm, looks like it might be missing signals for the touchpad. I'm surprised it works at all then xD Could you try out a build with driver_data set to "kb_full_color_with_lower_ops" for the P17SM-A (Line 1242)?

    Also could you supply me with the acpi tables? You can export them to files by using cat on the files in "/sys/firmware/acpi/tables/".

    Regarding the color configuration. Even the full rgb models currently only use the 8 colors as defined by their earlier models. But it's good to know in case I some day find time to implement full rgb.

  2. Log in to comment