newer laptop not supported : P750TM1- clevo

Issue #38 new
francois created an issue

here are the output asked for :

empereur@empereur-Sky-X4C ~/Téléchargements/tuxedocomputers-clevo-xsm-wmi-37c470bc8c3c/utility $ uname -a
Linux empereur-Sky-X4C 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
empereur@empereur-Sky-X4C ~/Téléchargements/tuxedocomputers-clevo-xsm-wmi-37c470bc8c3c/utility $ sudo dmidecode > dmidecode.txt
empereur@empereur-Sky-X4C ~/Téléchargements/tuxedocomputers-clevo-xsm-wmi-37c470bc8c3c/utility $ dmesg | grep clevo
[    9.956148] clevo_xsm_wmi: loading out-of-tree module taints kernel.
[    9.956166] clevo_xsm_wmi: module verification failed: signature and/or required key missing - tainting kernel
[    9.959188] input: Clevo Airplane-Mode Hotkey as /devices/platform/clevo_xsm_wmi/input/input16
[    9.959233] clevo_xsm_wmi: Polling thread started (PID: 491), polling at 5 Hz
[    9.961076] clevo_xsm_wmi clevo_xsm_wmi: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
empereur@empereur-Sky-X4C ~/Téléchargements/tuxedocomputers-clevo-xsm-wmi-37c470bc8c3c/utility $ 

the dmi output is on a text file (really long)

The GUI open fine, but the keyboard does not respond, always on blue no change.

Thanks a lot for working on those isue!

Comments (2)

  1. Former user Account Deleted

    Hi I have the same barebone P750TM1 with the same problem. I see that its support is not listed in the code. So can somebody help me in finding how to add support for this barebone's keyboard in the code.

  2. Siddharth Pant

    I was able to solve this for me by adding the following after line 1414 in the clevo-xsm-wmi.c file:

    {
      .ident = "Clevo P7XXTM1(-G)",
      .matches = {
        DMI_MATCH(DMI_PRODUCT_NAME, "EXIGO V3"),
      },
      .callback = clevo_xsm_dmi_matched,
      .driver_data = &kb_full_color_ops,
    },
    

    Correct product name is very crucial or module will load but will not find your system. You can find it by dmidecode command.

    sudo dmidecode
    # Or save the long output in some dummy file like below
    sudo dmidecode > out.txt
    # Or use less if you are unix savvy guy/gal ;)
    sudo dmidecode | less
    # search for "System Information" without the quotes and you will see a block like this with Product name value:
    ...
    Handle 0x0001, DMI type 1, 27 bytes
    System Information
            Manufacturer: AZOM
            Product Name: EXIGO V3
            Version: Not Applicable                  
            Serial Number: Not Applicable                  
            UUID: 505bfa80-bac2-0000-0000-000000000000
            Wake-up Type: Power Switch
            SKU Number: Not Applicable                  
            Family: Not Applicable
    ...
    

    After this I built it by running:

    cd modules && sudo make
    sudo install -m644 clevo-xsm-wmi.ko /lib/modules/$(uname -r)/extra
    sudo depmod
    sudo apt install libgtk2.0-dev
    cd ../ui && sudo make installdependencies && sudo make install
    sudo tee /etc/modprobe.d/clevo-xsm-wmi.conf <<< 'options clevo-xsm-wmi kb_color=magenta,cyan,magenta kb_brightness=10'
    sudo update-initramfs -uk all
    # To run after reboot for customizing
    sudo wmi-ui
    

    As you can see I had to install libgtk2 dev libs for Ubuntu 19.10 or the UI was not coming up. But finally it works and I am happy.

    Note to devs the current README.md file has become outdated and has errors in the commands. To anybody who wants to find more detailed doc follow this link:

    https://forums.linuxmint.com/viewtopic.php?f=49&t=287190

    This issue discussion was also quite helpful

    https://bitbucket.org/tuxedocomputers/clevo-xsm-wmi/issues/57/please-add-suport-to-clevo-p750tm1-g

  3. Log in to comment