P7xxDM3-(G) Clevo P775DM3 model support

Issue #33 new
giostark created an issue

Maybe I'm missing something, but my output is this:

$ dmesg | grep clevo

[ 3.184798] clevo_xsm_wmi: loading out-of-tree module taints kernel. [ 3.188027] input: Clevo Airplane-Mode Hotkey as /devices/platform/clevo_xsm_wmi/input/input7 [ 3.188053] clevo_xsm_wmi: Polling thread started (PID: 238), polling at 5 Hz [ 3.189100] clevo_xsm_wmi clevo_xsm_wmi: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().

So dont appear any "model found" but my laptop should be supported right?

# uname -a Linux ios 4.13.12-1-ARCH #1 SMP PREEMPT Wed Nov 8 11:54:06 CET 2017 x86_64 GNU/Linux

#dmidecode (I attached the full content) Getting SMBIOS data from sysfs. SMBIOS 3.0.0 present. Table at 0x2FEFF000.

Handle 0x0000, DMI type 0, 24 bytes BIOS Information Vendor: Prema Mod Version: 1.06.09PM v2.2 Release Date: 10/22/2017 Address: 0xF0000 Runtime Size: 64 kB ROM Size: 5120 kB Characteristics: PCI is supported BIOS is upgradeable BIOS shadowing is allowed Boot from CD is supported Selectable boot is supported BIOS ROM is socketed EDD is supported Print screen service is supported (int 5h) 8042 keyboard services are supported (int 9h) Printer services are supported (int 17h) ACPI is supported USB legacy is supported BIOS boot specification is supported Targeted content distribution is supported UEFI is supported BIOS Revision: 5.12

Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: CLEVO Product Name: P7xxDM3-(G)
Version: Not Applicable
Serial Number: Not Applicable
UUID: 3F5BFA80-B719-0000-0000-000000000000 Wake-up Type: Power Switch SKU Number: Not Applicable
Family: Not Applicable

Handle 0x0002, DMI type 2, 15 bytes Base Board Information Manufacturer: CLEVO Product Name: P7xxDM3 powered by premamod.com
Version: WINGMAN Serial Number: Not Applicable
Asset Tag: Tag 12345 Features: Board is a hosting board Board is replaceable Location In Chassis: Not Applicable Chassis Handle: 0x0003 Type: Motherboard Contained Object Handles: 0

In case is possible to make support also for this specific model?

Many thanks.

Comments (5)

  1. giostark reporter

    dmesg | grep -i clevo [ 0.000000] DMI: CLEVO P7xxDM3-(G) /P7xxDM3 powered by premamod.com , BIOS 1.06.09PM v2.2 10/22/2017 [ 2.889191] clevo_xsm_wmi: loading out-of-tree module taints kernel. [ 2.892721] input: Clevo Airplane-Mode Hotkey as /devices/platform/clevo_xsm_wmi/input/input12 [ 2.892751] clevo_xsm_wmi: Polling thread started (PID: 267), polling at 5 Hz [ 2.895411] clevo_xsm_wmi clevo_xsm_wmi: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().

  2. giostark reporter

    Finally... thanks to the community. Im using arch so having problems compiling from the source here provided i managed doing so: Installing the module and the utility provided on Aur. https://aur.archlinux.org/packages/clevo-xsm-wmi-dkms/ https://aur.archlinux.org/packages/clevo-xsm-wmi-util/ Then I downloaded the source from here and uncompressed the tuxedoxxx.zip and modified as follow. I found that the description of my model in dmidecode have a "dash - " before the "parenthesis ( " and not after as stated in the clevo-xsm-wmi.c file. So as suggested by devstructor devstructor here : https://bitbucket.org/tuxedocomputers/clevo-xsm-wmi/issues/41/pa71hp6-not-working I added the following lines between the model listed near the end of the file.

    #!
    
    {
            .ident = "Clevo P7xxDM3-(G)",
            .matches = {
                DMI_MATCH(DMI_PRODUCT_NAME, "P7xxDM3-(G)"),
            },
            .callback = clevo_xsm_dmi_matched,
            .driver_data = &kb_full_color_ops,
        },
    

    After this i changed always in the same file clevo-xsm-wmi.c this as suggested by bolog here https://bitbucket.org/tuxedocomputers/clevo-xsm-wmi/issues/20/sager-np8174-not-working:

    #!
    
    CLEVO_XSM_DEBUG("%0#4x  IN : %0#6x\n", method_id, arg);
    
    status = wmi_evaluate_method(CLEVO_GET_GUID, 0x01,
        method_id, &in, &out);
    

    changed to:

    #!
    
     CLEVO_XSM_DEBUG("%0#4x  IN : %0#6x\n", method_id, arg);
    
    status = wmi_evaluate_method(CLEVO_GET_GUID, 0x00,
        method_id, &in, &out);
    

    After those small modifications I copied the modified module substituting the module provided in Aur: sudo cp clevo-xsm-wmi.ko /lib/modules/$(uname -r)/kernel/drivers/input/keyboard/clevo-xsm-wmi.ko

    Now the back light work.

  3. Log in to comment