I bought a Chuwi Hi10 X Gemini Lake tablet. It comes with a MXC6655 MEMSIC Accelerometer (according to the device manager in Windows 10, I'm not too sure how to dump I2C information in Linux). The device is not detected by the kernel, thus auto-rotation does not work. Please add support for this accelerometer. I can provide debug output if you need any info about the sensor. dmidecode output: # dmidecode 3.2 Getting SMBIOS data from sysfs. SMBIOS 3.2.0 present. Table at 0x79CC3000. Handle 0x0000, DMI type 0, 26 bytes BIOS Information Vendor: American Megatrends Inc. Version: ZW-BI-10-S101GWR100-GA86C-006-F Release Date: 01/08/2020 Address: 0xF0000 Runtime Size: 64 kB ROM Size: 4544 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 5.25"/1.2 MB floppy services are supported (int 13h) 3.5"/720 kB floppy services are supported (int 13h) 3.5"/2.88 MB floppy services are supported (int 13h) Print screen service is supported (int 5h) Serial services are supported (int 14h) 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.13 Firmware Revision: 1.1 Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: CHUWI Innovation And Technology(ShenZhen)co.,Ltd Product Name: Hi10 X Version: Default string Serial Number: Hi10XQ128G20000000 UUID: 03000200-0400-0500-0006-000000000000 Wake-up Type: Power Switch SKU Number: Default string Family: Tablet Handle 0x0002, DMI type 2, 15 bytes Base Board Information Manufacturer: Default string Product Name: Default string Version: Default string Serial Number: Default string Asset Tag: Default string Features: Board is a hosting board Board is replaceable Location In Chassis: Default string Chassis Handle: 0x0003 Type: Motherboard Contained Object Handles: 0 Handle 0x0003, DMI type 3, 22 bytes Chassis Information Manufacturer: Default string Type: Detachable Lock: Not Present Version: Default string Serial Number: Default string Asset Tag: Default string 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 0x0008, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J1A1 Internal Connector Type: None External Reference Designator: PS2Mouse External Connector Type: PS/2 Port Type: Mouse Port Handle 0x0009, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J1A1 Internal Connector Type: None External Reference Designator: Keyboard External Connector Type: PS/2 Port Type: Keyboard Port Handle 0x000A, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J2A1 Internal Connector Type: None External Reference Designator: TV Out External Connector Type: Mini Centronics Type-14 Port Type: Other Handle 0x000B, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J2A2A Internal Connector Type: None External Reference Designator: COM A External Connector Type: DB-9 male Port Type: Serial Port 16550A Compatible Handle 0x000C, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J2A2B Internal Connector Type: None External Reference Designator: Video External Connector Type: DB-15 female Port Type: Video Port Handle 0x000D, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J3A1 Internal Connector Type: None External Reference Designator: USB1 External Connector Type: Access Bus (USB) Port Type: USB Handle 0x000E, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J3A1 Internal Connector Type: None External Reference Designator: USB2 External Connector Type: Access Bus (USB) Port Type: USB Handle 0x000F, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J3A1 Internal Connector Type: None External Reference Designator: USB3 External Connector Type: Access Bus (USB) Port Type: USB Handle 0x0010, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J9A1 - TPM HDR Internal Connector Type: Other External Reference Designator: Not Specified External Connector Type: None Port Type: Other Handle 0x0011, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J9C1 - PCIE DOCKING CONN Internal Connector Type: Other External Reference Designator: Not Specified External Connector Type: None Port Type: Other Handle 0x0012, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J2B3 - CPU FAN Internal Connector Type: Other External Reference Designator: Not Specified External Connector Type: None Port Type: Other Handle 0x0013, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J6C2 - EXT HDMI Internal Connector Type: Other External Reference Designator: Not Specified External Connector Type: None Port Type: Other Handle 0x0014, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J3C1 - GMCH FAN Internal Connector Type: Other External Reference Designator: Not Specified External Connector Type: None Port Type: Other Handle 0x0015, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J1D1 - ITP Internal Connector Type: Other External Reference Designator: Not Specified External Connector Type: None Port Type: Other Handle 0x0016, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J9E2 - MDC INTPSR Internal Connector Type: Other External Reference Designator: Not Specified External Connector Type: None Port Type: Other Handle 0x0017, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J9E4 - MDC INTPSR Internal Connector Type: Other External Reference Designator: Not Specified External Connector Type: None Port Type: Other Handle 0x0018, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J9E3 - LPC HOT DOCKING Internal Connector Type: Other External Reference Designator: Not Specified External Connector Type: None Port Type: Other Handle 0x0019, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J9E1 - SCAN MATRIX Internal Connector Type: Other External Reference Designator: Not Specified External Connector Type: None Port Type: Other Handle 0x001A, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J9G1 - LPC SIDE BAND Internal Connector Type: Other External Reference Designator: Not Specified External Connector Type: None Port Type: Other Handle 0x001B, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J8F1 - UNIFIED Internal Connector Type: Other External Reference Designator: Not Specified External Connector Type: None Port Type: Other Handle 0x001C, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J6F1 - LVDS Internal Connector Type: Other External Reference Designator: Not Specified External Connector Type: None Port Type: Other Handle 0x001D, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J2F1 - LAI FAN Internal Connector Type: Other External Reference Designator: Not Specified External Connector Type: None Port Type: Other Handle 0x001E, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J2G1 - GFX VID Internal Connector Type: Other External Reference Designator: Not Specified External Connector Type: None Port Type: Other Handle 0x001F, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J1G6 - AC JACK Internal Connector Type: Other External Reference Designator: Not Specified External Connector Type: None Port Type: Other Handle 0x0020, DMI type 10, 6 bytes On Board Device Information Type: Video Status: Enabled Description: To Be Filled By O.E.M. Handle 0x0021, DMI type 11, 5 bytes OEM Strings String 1: Default string Handle 0x0022, DMI type 12, 5 bytes System Configuration Options Option 1: Default string Handle 0x0023, 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: 4 Handle 0x0024, DMI type 19, 31 bytes Memory Array Mapped Address Starting Address: 0x00000000000 Ending Address: 0x0017FFFFFFF Range Size: 6 GB Physical Array Handle: 0x0023 Partition Width: 4 Handle 0x0025, DMI type 17, 84 bytes Memory Device Array Handle: 0x0023 Error Information Handle: Not Provided Total Width: 16 bits Data Width: 16 bits Size: 1536 MB Form Factor: DIMM Set: None Locator: A1_DIMM0 Bank Locator: A1_BANK0 Type: LPDDR4 Type Detail: Synchronous Speed: 2133 MT/s Manufacturer: ABCD Serial Number: 1234 Asset Tag: 9876543210 Part Number: 123456789012345678 Rank: Unknown Configured Memory Speed: 2133 MT/s Minimum Voltage: 1.1 V Maximum Voltage: 1.5 V Configured Voltage: 1.1 V Memory Technology: DRAM Memory Operating Mode Capability: Volatile memory Firmware Version: Not Specified Module Manufacturer ID: Unknown Module Product ID: Unknown Memory Subsystem Controller Manufacturer ID: Unknown Memory Subsystem Controller Product ID: Unknown Non-Volatile Size: None Volatile Size: 1536 MB Cache Size: None Logical Size: None Handle 0x0026, DMI type 20, 35 bytes Memory Device Mapped Address Starting Address: 0x00000000000 Ending Address: 0x0005FFFFFFF Range Size: 1536 MB Physical Device Handle: 0x0025 Memory Array Mapped Address Handle: 0x0024 Partition Row Position: Unknown Interleave Position: 1 Interleaved Data Depth: 4 Handle 0x0027, DMI type 17, 84 bytes Memory Device Array Handle: 0x0023 Error Information Handle: Not Provided Total Width: 16 bits Data Width: 16 bits Size: 1536 MB Form Factor: DIMM Set: None Locator: A1_DIMM1 Bank Locator: A1_BANK1 Type: LPDDR4 Type Detail: Synchronous Speed: 2133 MT/s Manufacturer: ABCD Serial Number: 1234 Asset Tag: 9876543210 Part Number: 123456789012345678 Rank: Unknown Configured Memory Speed: 2133 MT/s Minimum Voltage: 1.1 V Maximum Voltage: 1.5 V Configured Voltage: 1.1 V Memory Technology: DRAM Memory Operating Mode Capability: Volatile memory Firmware Version: Not Specified Module Manufacturer ID: Unknown Module Product ID: Unknown Memory Subsystem Controller Manufacturer ID: Unknown Memory Subsystem Controller Product ID: Unknown Non-Volatile Size: None Volatile Size: 1536 MB Cache Size: None Logical Size: None Handle 0x0028, DMI type 20, 35 bytes Memory Device Mapped Address Starting Address: 0x00060000000 Ending Address: 0x000BFFFFFFF Range Size: 1536 MB Physical Device Handle: 0x0027 Memory Array Mapped Address Handle: 0x0024 Partition Row Position: Unknown Interleave Position: 2 Interleaved Data Depth: 4 Handle 0x0029, DMI type 17, 84 bytes Memory Device Array Handle: 0x0023 Error Information Handle: Not Provided Total Width: 16 bits Data Width: 16 bits Size: 1536 MB Form Factor: DIMM Set: None Locator: A1_DIMM2 Bank Locator: A1_BANK2 Type: LPDDR4 Type Detail: Synchronous Speed: 2133 MT/s Manufacturer: ABCD Serial Number: 1234 Asset Tag: 9876543210 Part Number: 123456789012345678 Rank: Unknown Configured Memory Speed: 2133 MT/s Minimum Voltage: 1.1 V Maximum Voltage: 1.5 V Configured Voltage: 1.1 V Memory Technology: DRAM Memory Operating Mode Capability: Volatile memory Firmware Version: Not Specified Module Manufacturer ID: Unknown Module Product ID: Unknown Memory Subsystem Controller Manufacturer ID: Unknown Memory Subsystem Controller Product ID: Unknown Non-Volatile Size: None Volatile Size: 1536 MB Cache Size: None Logical Size: None Handle 0x002A, DMI type 20, 35 bytes Memory Device Mapped Address Starting Address: 0x000C0000000 Ending Address: 0x0011FFFFFFF Range Size: 1536 MB Physical Device Handle: 0x0029 Memory Array Mapped Address Handle: 0x0024 Partition Row Position: Unknown Interleave Position: 3 Interleaved Data Depth: 4 Handle 0x002B, DMI type 17, 84 bytes Memory Device Array Handle: 0x0023 Error Information Handle: Not Provided Total Width: 16 bits Data Width: 16 bits Size: 1536 MB Form Factor: DIMM Set: None Locator: A1_DIMM3 Bank Locator: A1_BANK3 Type: LPDDR4 Type Detail: Synchronous Speed: 2133 MT/s Manufacturer: ABCD Serial Number: 1234 Asset Tag: 9876543210 Part Number: 123456789012345678 Rank: Unknown Configured Memory Speed: 2133 MT/s Minimum Voltage: 1.1 V Maximum Voltage: 1.5 V Configured Voltage: 1.1 V Memory Technology: DRAM Memory Operating Mode Capability: Volatile memory Firmware Version: Not Specified Module Manufacturer ID: Unknown Module Product ID: Unknown Memory Subsystem Controller Manufacturer ID: Unknown Memory Subsystem Controller Product ID: Unknown Non-Volatile Size: None Volatile Size: 1536 MB Cache Size: None Logical Size: None Handle 0x002C, DMI type 20, 35 bytes Memory Device Mapped Address Starting Address: 0x00120000000 Ending Address: 0x0017FFFFFFF Range Size: 1536 MB Physical Device Handle: 0x002B Memory Array Mapped Address Handle: 0x0024 Partition Row Position: Unknown Interleave Position: 4 Interleaved Data Depth: 4 Handle 0x002D, DMI type 32, 20 bytes System Boot Information Status: No errors detected Handle 0x002E, DMI type 43, 31 bytes TPM Device Vendor ID: CTNI Specification Version: 2.0 Firmware Revision: 403.0 Description: INTEL Characteristics: Family configurable via platform software support OEM-specific Information: 0x00000000 Handle 0x0035, DMI type 7, 27 bytes Cache Information Socket Designation: CPU Internal L1 Configuration: Enabled, Not Socketed, Level 1 Operational Mode: Write Back Location: Internal Installed Size: 606541824 kB Maximum Size: 117 kB Supported SRAM Types: Synchronous Installed SRAM Type: Synchronous Speed: Unknown Error Correction Type: Parity System Type: Other Associativity: Other Handle 0x0036, DMI type 7, 27 bytes Cache Information Socket Designation: CPU Internal L2 Configuration: Enabled, Not Socketed, Level 2 Operational Mode: Write Back Location: Internal Installed Size: 568465408 kB Maximum Size: 117 kB Supported SRAM Types: Synchronous Installed SRAM Type: Synchronous Speed: Unknown Error Correction Type: Single-bit ECC System Type: Unified Associativity: 16-way Set-associative Handle 0x0037, DMI type 4, 48 bytes Processor Information Socket Designation: SOCKET 0 Type: Central Processor Family: Celeron Manufacturer: Intel ID: A1 06 07 00 FF FB EB BF Signature: Type 0, Family 6, Model 122, Stepping 1 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) Celeron(R) N4100 CPU @ 1.10GHz Voltage: 1.2 V External Clock: 100 MHz Max Speed: 2700 MHz Current Speed: 1100 MHz Status: Populated, Enabled Upgrade: Other L1 Cache Handle: 0x0035 L2 Cache Handle: 0x0036 L3 Cache Handle: Not Provided Serial Number: Not Specified Asset Tag: Fill By OEM Part Number: Fill By OEM Core Count: 4 Core Enabled: 4 Thread Count: 4 Characteristics: 64-bit capable Handle 0x0038, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - RTK Ethernet Type: Ethernet Status: Disabled Type Instance: 1 Bus Address: 0000:03:00.0 Handle 0x0039, 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 0x003A, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 2 Bus Address: 0000:00:00.1 Handle 0x003B, 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 0x003C, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Ethernet Type: Ethernet Status: Enabled Type Instance: 2 Bus Address: 0000:00:0c.0 Handle 0x003D, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 3 Bus Address: 0000:00:0d.0 Handle 0x003E, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 4 Bus Address: 0000:00:0d.2 Handle 0x003F, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Sound Type: Sound Status: Enabled Type Instance: 1 Bus Address: 0000:00:0e.0 Handle 0x0040, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 5 Bus Address: 0000:00:0f.0 Handle 0x0041, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - SATA Type: SATA Controller Status: Enabled Type Instance: 1 Bus Address: 0000:00:12.0 Handle 0x0042, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 6 Bus Address: 0000:00:15.0 Handle 0x0043, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 7 Bus Address: 0000:00:16.0 Handle 0x0044, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 8 Bus Address: 0000:00:16.1 Handle 0x0045, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 9 Bus Address: 0000:00:16.2 Handle 0x0046, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 10 Bus Address: 0000:00:16.3 Handle 0x0047, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 11 Bus Address: 0000:00:17.0 Handle 0x0048, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 12 Bus Address: 0000:00:17.1 Handle 0x0049, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 13 Bus Address: 0000:00:17.2 Handle 0x004A, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 14 Bus Address: 0000:00:17.3 Handle 0x004B, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 15 Bus Address: 0000:00:18.0 Handle 0x004C, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 16 Bus Address: 0000:00:18.1 Handle 0x004D, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 17 Bus Address: 0000:00:18.2 Handle 0x004E, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 18 Bus Address: 0000:00:18.3 Handle 0x004F, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 19 Bus Address: 0000:00:19.0 Handle 0x0050, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 20 Bus Address: 0000:00:19.1 Handle 0x0051, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 21 Bus Address: 0000:00:19.2 Handle 0x0052, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 22 Bus Address: 0000:00:1c.0 Handle 0x0053, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 23 Bus Address: 0000:00:1e.0 Handle 0x0054, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 24 Bus Address: 0000:00:1f.0 Handle 0x0055, DMI type 41, 11 bytes Onboard Device Reference Designation: Onboard - Other Type: Other Status: Enabled Type Instance: 25 Bus Address: 0000:00:1f.1 Handle 0x0056, 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 0x0057, DMI type 9, 19 bytes System Slot Information Designation: J7H1 Type: x4 PCI Express 2 x4 Current Usage: In Use Length: Short ID: 0 Characteristics: 3.3 V is provided Opening is shared PME signal is supported Bus Address: 0000:00:13.0 Handle 0x0058, DMI type 9, 19 bytes System Slot Information Designation: J8H1 Type: x2 PCI Express 2 x2 Current Usage: Available Length: Short ID: 1 Characteristics: 3.3 V is provided Opening is shared PME signal is supported Bus Address: 0000:00:14.0 Handle 0x0059, DMI type 127, 4 bytes End Of Table
Support have been added already [1]. It is fully compatible with MXC4005. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=79846e33aac15f1a1451bcf424b7a1cc22440a88
I can confirm it works. Thanks :)
(In reply to Matthieu Pepin from comment #2) > I can confirm it works. Thanks :) How did you get it working? The MXC6655 accelerometer is not working with MXC4005 driver for me on my Chuwi tablets (UBook X 2023 and UBook X Pro 2023). I've submitted a new bug report: https://bugzilla.kernel.org/show_bug.cgi?id=218578