Add support for P775TM1-G (XUX708)

Issue #51 resolved
Furkan AVCI created an issue

I know my laptop is not TUXEDO but it uses same platfom from CLEVO. I attached dmidecoe and uname -a outputs. If you can add support for this model then it will be very helpfull for all users. Thank you so much.

Comments (4)

  1. Furkan AVCI reporter

    I tested it with adding this to clevo-xsm-wmi.c file.

    Result: Success!! Ton of Thanks to Tuxedo...

    {
            .ident = "MONSTER TULPAR T7 V15.2",
            .matches = {
                DMI_MATCH(DMI_PRODUCT_NAME, "TULPAR T7 V15.2"),
            },
            .callback = clevo_xsm_dmi_matched,
            .driver_data = &kb_8_color_ops,
        }
    
  2. MordicusEtCubitus

    On my side I had to add this new entry in the driver code:

    $ git diff
    diff --git a/module/clevo-xsm-wmi.c b/module/clevo-xsm-wmi.c
    index e045d7e..2788d9d 100644
    --- a/module/clevo-xsm-wmi.c
    +++ b/module/clevo-xsm-wmi.c
    @@ -1638,6 +1638,14 @@ static struct dmi_system_id clevo_xsm_dmi_table[] __initdata = {
             .callback = clevo_xsm_dmi_matched,
             .driver_data = &kb_full_color_ops,
         },
    +       {
    +               .ident = "Clevo P7xxTM1",
    +               .matches = {
    +                       DMI_MATCH(DMI_PRODUCT_NAME, "P7xxTM1"),
    +               },
    +               .callback = clevo_xsm_dmi_matched,
    +               .driver_data = &kb_full_color_ops,
    +       },
            {
                    /* terminating NULL entry */
            },
    

    Then, on ubuntu, I also installed the driver like this:

    $ sudo make install
    $ sudo install -m644 clevo-xsm-wmi.ko /lib/modules/$(uname -r)/extra
    $ sudo depmod
    $ sudo modprobe clevo-xsm-wmi
    

    The wmi-ui application works fine. A great thanks !

    I also confirm that the change described in this tread was also required for my kernel 4.18

    -   status = wmi_evaluate_method(CLEVO_GET_GUID, 0x01,
    +   status = wmi_evaluate_method(CLEVO_GET_GUID, 0x00,
    

    Could you add this new entry into the source code ?

    Do you need a pull request ?

  3. Log in to comment