$ Metabox N850EK (Clevo N8xEJEK ) support

Issue #60 new
Jimmy created an issue

Got the module loaded and GUI running, but nothing works sadly. Do you take donations? I'm obsessed with getting this working

uname -a

Linux Metabox 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

sudo dmidecode

# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 3.1.1 present.
Table at 0x6FA99000.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
    Vendor: American Megatrends Inc.
    Version: 7.009
    Release Date: 08/21/2018
    Address: 0xF0000
    Runtime Size: 64 kB
    ROM Size: 8192 kB
    Characteristics:
        PCI is supported
        BIOS is upgradeable
        BIOS shadowing is allowed
        Boot from CD is supported
        Selectable boot is supported
        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: 7.9
    Firmware Revision: 7.4

Handle 0x0001, DMI type 1, 27 bytes
System Information
    Manufacturer: IT Channel Pty Ltd
    Product Name: N8xEJEK                         
    Version: Not Applicable                  
    Serial Number: Not Applicable                  
    UUID: CE6C4FCA-3850-4825-B48F-9AAF3F7D8B74
    Wake-up Type: Power Switch
    SKU Number: Not Applicable                  
    Family: Not Applicable                  

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
    Manufacturer: IT Channel Pty Ltd
    Product Name: N8xEJEK                         
    Version: Not Applicable                  
    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

Handle 0x0003, DMI type 3, 22 bytes
Chassis Information
    Manufacturer: IT Channel Pty Ltd
    Type: Notebook
    Lock: Not Present
    Version: N/A                             
    Serial Number: None                            
    Asset Tag: No Asset Tag
    Boot-up State: Safe
    Power Supply State: Safe
    Thermal State: Safe
    Security Status: None
    OEM Information: 0x00000000
    Height: Unspecified
    Number Of Power Cords: 1
    Contained Elements: 0
    SKU Number: Default string

Handle 0x0004, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J_HDMI1
    Internal Connector Type: None
    External Reference Designator: HDMI
    External Connector Type: Other
    Port Type: Video Port

Handle 0x0005, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J_CRT1
    Internal Connector Type: None
    External Reference Designator: CRT
    External Connector Type: Other
    Port Type: Video Port

Handle 0x0006, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J_MIC1
    Internal Connector Type: None
    External Reference Designator: MIC
    External Connector Type: Other
    Port Type: Audio Port

Handle 0x0007, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J_HP1
    Internal Connector Type: None
    External Reference Designator: HP
    External Connector Type: Mini Jack (headphones)
    Port Type: Audio Port

Handle 0x0008, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J_TYPEC1
    Internal Connector Type: None
    External Reference Designator: USB Type C
    External Connector Type: Access Bus (USB)
    Port Type: USB

Handle 0x0009, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J_USB3_1
    Internal Connector Type: None
    External Reference Designator: USB 3.1
    External Connector Type: Access Bus (USB)
    Port Type: USB

Handle 0x000A, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J_USB3_2
    Internal Connector Type: None
    External Reference Designator: USB 3
    External Connector Type: Access Bus (USB)
    Port Type: USB

Handle 0x000B, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J_USB3_3
    Internal Connector Type: None
    External Reference Designator: USB 3
    External Connector Type: Access Bus (USB)
    Port Type: USB

Handle 0x000C, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J_USB3_4
    Internal Connector Type: None
    External Reference Designator: USB 3
    External Connector Type: Access Bus (USB)
    Port Type: USB

Handle 0x000D, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J_CARD-REV1
    Internal Connector Type: None
    External Reference Designator: Card Reader
    External Connector Type: Other
    Port Type: Other

Handle 0x000E, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J_RJ1
    Internal Connector Type: None
    External Reference Designator: Giga Lan 1
    External Connector Type: RJ-45
    Port Type: Network Port

Handle 0x000F, DMI type 9, 17 bytes
System Slot Information
    Designation: PCI Express Slot J_WLAN1
    Type: x1 PCI Express
    Current Usage: In Use
    Length: Short
    ID: 3
    Characteristics:
        3.3 V is provided
        Opening is shared
        PME signal is supported
    Bus Address: 0000:04:01.0

Handle 0x0010, DMI type 10, 8 bytes
On Board Device 1 Information
    Type: Sound
    Status: Enabled
    Description: HD-Audio
On Board Device 2 Information
    Type: Ethernet
    Status: Enabled
    Description: Giga Lan

Handle 0x0011, DMI type 11, 5 bytes
OEM Strings
    String 1: 1558
    String 2: OEM String
    String 3: Default string
    String 4: Default string
    String 5: BIOS:1.07.09TMB

Handle 0x0012, DMI type 12, 5 bytes
System Configuration Options
    Option 1: Default string

Handle 0x0013, DMI type 32, 20 bytes
System Boot Information
    Status: No errors detected

Handle 0x0014, DMI type 16, 23 bytes
Physical Memory Array
    Location: System Board Or Motherboard
    Use: System Memory
    Error Correction Type: None
    Maximum Capacity: 64 GB
    Error Information Handle: Not Provided
    Number Of Devices: 2

Handle 0x0015, DMI type 17, 40 bytes
Memory Device
    Array Handle: 0x0014
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 16384 MB
    Form Factor: SODIMM
    Set: None
    Locator: ChannelA-DIMM0
    Bank Locator: BANK 0
    Type: DDR4
    Type Detail: Synchronous
    Speed: 2400 MT/s
    Manufacturer: 04EF
    Serial Number: 01049BB6
    Asset Tag: 9876543210
    Part Number: TEAMGROUP-SD4-2400  
    Rank: 1
    Configured Clock Speed: 2400 MT/s
    Minimum Voltage: 1.2 V
    Maximum Voltage: 1.2 V
    Configured Voltage: 1.2 V

Handle 0x0016, DMI type 17, 40 bytes
Memory Device
    Array Handle: 0x0014
    Error Information Handle: Not Provided
    Total Width: Unknown
    Data Width: Unknown
    Size: No Module Installed
    Form Factor: Unknown
    Set: None
    Locator: ChannelB-DIMM0
    Bank Locator: BANK 2
    Type: Unknown
    Type Detail: None
    Speed: Unknown
    Manufacturer: Not Specified
    Serial Number: Not Specified
    Asset Tag: Not Specified
    Part Number: Not Specified
    Rank: Unknown
    Configured Clock Speed: Unknown
    Minimum Voltage: Unknown
    Maximum Voltage: Unknown
    Configured Voltage: Unknown

Handle 0x0017, DMI type 19, 31 bytes
Memory Array Mapped Address
    Starting Address: 0x00000000000
    Ending Address: 0x003FFFFFFFF
    Range Size: 16 GB
    Physical Array Handle: 0x0014
    Partition Width: 1

Handle 0x0018, DMI type 221, 26 bytes
OEM-specific Type
    Header and Data:
        DD 1A 18 00 03 01 00 07 00 25 34 00 02 00 00 00
        00 96 00 03 00 FF FF FF FF FF
    Strings:
        Reference Code - CPU
        uCode Version
        TXT ACM version

Handle 0x0019, DMI type 221, 26 bytes
OEM-specific Type
    Header and Data:
        DD 1A 19 00 03 01 00 07 00 25 34 00 02 00 0A 00
        00 01 00 03 04 0C 00 03 43 04
    Strings:
        Reference Code - ME 11.0
        MEBx version
        ME Firmware Version
        Consumer SKU

Handle 0x001A, DMI type 221, 89 bytes
OEM-specific Type
    Header and Data:
        DD 59 1A 00 0C 01 00 07 00 25 34 00 02 03 FF FF
        FF FF FF 04 00 FF FF FF 10 00 05 00 FF FF FF 10
        00 06 00 FF FF FF FF FF 07 00 02 00 00 00 00 08
        00 09 00 00 00 00 09 00 07 00 00 00 00 0A 00 13
        00 00 00 00 0B 00 07 00 00 00 00 0C 00 06 00 00
        00 00 0D 00 03 00 00 00 00
    Strings:
        Reference Code - CNL PCH
        PCH-CRID Status
        Disabled
        PCH-CRID Original Value
        PCH-CRID New Value
        OPROM - RST - RAID
        CNL PCH H A0 Hsio Version
        CNL PCH H Ax Hsio Version
        CNL PCH H Bx Hsio Version
        CNL PCH LP Ax Hsio Version
        CNL PCH LP B0 Hsio Version
        CNL PCH LP Bx Hsio Version
        CNL PCH LP Dx Hsio Version

Handle 0x001B, DMI type 221, 54 bytes
OEM-specific Type
    Header and Data:
        DD 36 1B 00 07 01 00 07 00 25 34 00 02 00 00 07
        01 31 00 03 00 07 00 25 34 00 04 05 FF FF FF FF
        FF 06 00 00 00 00 07 00 07 00 00 00 00 07 00 08
        00 FF FF FF FF FF
    Strings:
        Reference Code - SA - System Agent
        Reference Code - MRC
        SA - PCIe Version
        SA-CRID Status
        Disabled
        SA-CRID Original Value
        SA-CRID New Value
        OPROM - VBIOS

Handle 0x001C, DMI type 221, 12 bytes
OEM-specific Type
    Header and Data:
        DD 0C 1C 00 01 00 00 04 00 00 00 00
    Strings:
        FSP Binary Version

Handle 0x001D, DMI type 7, 19 bytes
Cache Information
    Socket Designation: L1 Cache
    Configuration: Enabled, Not Socketed, Level 1
    Operational Mode: Write Back
    Location: Internal
    Installed Size: 384 kB
    Maximum Size: 384 kB
    Supported SRAM Types:
        Synchronous
    Installed SRAM Type: Synchronous
    Speed: Unknown
    Error Correction Type: Parity
    System Type: Unified
    Associativity: 8-way Set-associative

Handle 0x001E, DMI type 7, 19 bytes
Cache Information
    Socket Designation: L2 Cache
    Configuration: Enabled, Not Socketed, Level 2
    Operational Mode: Write Back
    Location: Internal
    Installed Size: 1536 kB
    Maximum Size: 1536 kB
    Supported SRAM Types:
        Synchronous
    Installed SRAM Type: Synchronous
    Speed: Unknown
    Error Correction Type: Single-bit ECC
    System Type: Unified
    Associativity: 4-way Set-associative

Handle 0x001F, DMI type 7, 19 bytes
Cache Information
    Socket Designation: L3 Cache
    Configuration: Enabled, Not Socketed, Level 3
    Operational Mode: Write Back
    Location: Internal
    Installed Size: 9216 kB
    Maximum Size: 9216 kB
    Supported SRAM Types:
        Synchronous
    Installed SRAM Type: Synchronous
    Speed: Unknown
    Error Correction Type: Multi-bit ECC
    System Type: Unified
    Associativity: 12-way Set-associative

Handle 0x0020, DMI type 4, 48 bytes
Processor Information
    Socket Designation: U3E1
    Type: Central Processor
    Family: Core i7
    Manufacturer: Intel(R) Corporation
    ID: EA 06 09 00 FF FB EB BF
    Signature: Type 0, Family 6, Model 158, Stepping 10
    Flags:
        FPU (Floating-point unit on-chip)
        VME (Virtual mode extension)
        DE (Debugging extension)
        PSE (Page size extension)
        TSC (Time stamp counter)
        MSR (Model specific registers)
        PAE (Physical address extension)
        MCE (Machine check exception)
        CX8 (CMPXCHG8 instruction supported)
        APIC (On-chip APIC hardware supported)
        SEP (Fast system call)
        MTRR (Memory type range registers)
        PGE (Page global enable)
        MCA (Machine check architecture)
        CMOV (Conditional move instruction supported)
        PAT (Page attribute table)
        PSE-36 (36-bit page size extension)
        CLFSH (CLFLUSH instruction supported)
        DS (Debug store)
        ACPI (ACPI supported)
        MMX (MMX technology supported)
        FXSR (FXSAVE and FXSTOR instructions supported)
        SSE (Streaming SIMD extensions)
        SSE2 (Streaming SIMD extensions 2)
        SS (Self-snoop)
        HTT (Multi-threading)
        TM (Thermal monitor supported)
        PBE (Pending break enabled)
    Version: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
    Voltage: 0.8 V
    External Clock: 100 MHz
    Max Speed: 8300 MHz
    Current Speed: 2100 MHz
    Status: Populated, Enabled
    Upgrade: Other
    L1 Cache Handle: 0x001D
    L2 Cache Handle: 0x001E
    L3 Cache Handle: 0x001F
    Serial Number: To Be Filled By O.E.M.
    Asset Tag: To Be Filled By O.E.M.
    Part Number: To Be Filled By O.E.M.
    Core Count: 6
    Core Enabled: 6
    Thread Count: 12
    Characteristics:
        64-bit capable
        Multi-Core
        Hardware Thread
        Execute Protection
        Enhanced Virtualization
        Power/Performance Control

Handle 0x0021, DMI type 20, 35 bytes
Memory Device Mapped Address
    Starting Address: 0x00000000000
    Ending Address: 0x003FFFFFFFF
    Range Size: 16 GB
    Physical Device Handle: 0x0015
    Memory Array Mapped Address Handle: 0x0017
    Partition Row Position: Unknown

Handle 0x0022, DMI type 130, 20 bytes
OEM-specific Type
    Header and Data:
        82 14 22 00 24 41 4D 54 00 00 00 00 00 A5 AF 02
        C0 00 00 00

Handle 0x0023, DMI type 131, 64 bytes
OEM-specific Type
    Header and Data:
        83 40 23 00 31 00 00 00 0A 00 00 00 00 00 01 00
        F8 00 0D A3 00 00 00 00 01 00 00 00 00 00 0C 00
        43 04 03 00 00 00 00 00 FE 00 FF FF 00 00 00 00
        00 00 00 00 22 00 00 00 76 50 72 6F 00 00 00 00

Handle 0x0024, DMI type 13, 22 bytes
BIOS Language Information
    Language Description Format: Long
    Installable Languages: 1
        en|US|iso8859-1
    Currently Installed Language: en|US|iso8859-1

Handle 0x0025, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: Onboard - Other
    Type: Other
    Status: Enabled
    Type Instance: 1
    Bus Address: 0000:00:00.0

Handle 0x0026, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: Onboard - Video
    Type: Video
    Status: Enabled
    Type Instance: 1
    Bus Address: 0000:00:02.0

Handle 0x0027, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: Onboard - Other
    Type: Other
    Status: Enabled
    Type Instance: 2
    Bus Address: 0000:00:08.0

Handle 0x0028, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: Onboard - Other
    Type: Other
    Status: Enabled
    Type Instance: 3
    Bus Address: 0000:00:12.0

Handle 0x0029, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: Onboard - Other
    Type: Other
    Status: Enabled
    Type Instance: 4
    Bus Address: 0000:00:14.0

Handle 0x002A, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: Onboard - Other
    Type: Other
    Status: Enabled
    Type Instance: 5
    Bus Address: 0000:00:14.2

Handle 0x002B, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: Onboard - Ethernet
    Type: Ethernet
    Status: Enabled
    Type Instance: 1
    Bus Address: 0000:00:14.3

Handle 0x002C, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: Onboard - Other
    Type: Other
    Status: Enabled
    Type Instance: 6
    Bus Address: 0000:00:16.0

Handle 0x002D, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: Onboard - SATA
    Type: SATA Controller
    Status: Enabled
    Type Instance: 1
    Bus Address: 0000:00:17.0

Handle 0x002E, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: Onboard - Other
    Type: Other
    Status: Enabled
    Type Instance: 7
    Bus Address: 0000:00:1f.0

Handle 0x002F, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: Onboard - Sound
    Type: Sound
    Status: Enabled
    Type Instance: 1
    Bus Address: 0000:00:1f.3

Handle 0x0030, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: Onboard - Other
    Type: Other
    Status: Enabled
    Type Instance: 8
    Bus Address: 0000:00:1f.4

Handle 0x0031, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: Onboard - Other
    Type: Other
    Status: Enabled
    Type Instance: 9
    Bus Address: 0000:00:1f.5

Handle 0x0032, DMI type 221, 89 bytes
OEM-specific Type
    Header and Data:
        DD 59 32 00 0C 01 00 FF FF FF FF FF 02 00 FF FF
        FF FF FF 03 04 FF FF FF FF FF 05 06 FF FF FF FF
        FF 07 08 FF FF FF FF FF 09 00 00 00 00 00 00 0A
        00 FF FF FF FF FF 0B 00 07 04 00 00 00 0C 00 00
        09 00 78 10 0D 0E 01 04 01 00 00 0F 00 00 07 00
        00 00 10 00 00 02 00 0A 00
    Strings:
        Lan Phy Version
        Sensor Firmware Version
        Debug Mode Status
        Disabled
        Performance Mode Status
        Disabled
        Debug Use USB(Disabled:Serial)
        Disabled
        ICC Overclocking Version
        UNDI Version
        EC FW Version
        GOP Version
        Royal Park Version
        BP1.4.1.0_RP07
        Platform Version
        Client Silicon Version

Handle 0x0033, DMI type 136, 6 bytes
OEM-specific Type
    Header and Data:
        88 06 33 00 00 00

Handle 0x0034, DMI type 14, 23 bytes
Group Associations
    Name: Firmware Version Info
    Items: 6
        0x0018 (OEM-specific)
        0x0019 (OEM-specific)
        0x001A (OEM-specific)
        0x001B (OEM-specific)
        0x001C (OEM-specific)
        0x0032 (OEM-specific)

Handle 0x0035, DMI type 14, 8 bytes
Group Associations
    Name: $MEI
    Items: 1
        0x0000 (OEM-specific)

Handle 0x0036, DMI type 219, 106 bytes
OEM-specific Type
    Header and Data:
        DB 6A 36 00 01 04 01 45 02 00 90 06 01 85 36 20
        00 00 00 00 40 00 00 00 00 00 00 00 00 00 40 02
        FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
        FF FF FF FF FF FF FF FF 03 00 00 00 80 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00
    Strings:
        MEI1
        MEI2
        MEI3
        MEI4

Handle 0x0037, DMI type 127, 4 bytes
End Of Table

dmseg | grep clevo

[    5.129566] clevo_xsm_wmi: loading out-of-tree module taints kernel.
[    5.129603] clevo_xsm_wmi: module verification failed: signature and/or required key missing - tainting kernel
[    5.129782] clevo_xsm_wmi: unknown parameter 'kb_mode' ignored
[    5.129783] clevo_xsm_wmi: unknown parameter 'kb_mode' ignored
[    5.134822] input: Clevo Airplane-Mode Hotkey as /devices/platform/clevo_xsm_wmi/input/input17
[    5.134874] clevo_xsm_wmi: Polling thread started (PID: 440), polling at 5 Hz
[    5.136153] clevo_xsm_wmi clevo_xsm_wmi: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[42196.799083] clevo_xsm_wmi: Polling thread exiting
[42265.413458] clevo_xsm_wmi: unknown parameter 'kb_mode' ignored
[42265.413460] clevo_xsm_wmi: unknown parameter 'kb_mode' ignored
[42265.424293] input: Clevo Airplane-Mode Hotkey as /devices/platform/clevo_xsm_wmi/input/input46
[42265.424455] clevo_xsm_wmi: Polling thread started (PID: 17342), polling at 5 Hz
[42265.427651] clevo_xsm_wmi clevo_xsm_wmi: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[42364.805463] clevo_xsm_wmi: Polling thread exiting
[42420.767922] clevo_xsm_wmi: unknown parameter 'kb_mode' ignored
[42420.767930] clevo_xsm_wmi: unknown parameter 'kb_mode' ignored
[42420.787168] input: Clevo Airplane-Mode Hotkey as /devices/platform/clevo_xsm_wmi/input/input47
[42420.787661] clevo_xsm_wmi: Polling thread started (PID: 17884), polling at 5 Hz
[42420.791028] clevo_xsm_wmi clevo_xsm_wmi: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().

Thanks!

Comments (3)

  1. Gez

    I don't know how handy you are but you can add your model into the clevo-xsm-wmi.c file. I did this for my Metabox P65xHP. The models are listed near the end of the file and look like this.

    .ident = "Clevo N870HP6",
            .matches = {
                DMI_MATCH(DMI_PRODUCT_NAME, "N85_87HP6"),
            },
            .callback = clevo_xsm_dmi_matched,
            .driver_data = &kb_full_color_ops,
    

    Yours would need to look like this.

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

    Once the addition is made to that file redo make and make install.

  2. Jimmy reporter

    Hey Gez, thanks for your reply! I actually just figured this out yesterday with some help from Metabox support and the Mint forums. You're right that's exactly what I needed to do, and I wrote up some instructions for any future users here.

    I was struggling with restoring the state too but as someone pointed out here the readme instructions left out the quotations for the command. Hope it helps :)

  3. Log in to comment