Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XiaoMi Air 12.5'' touchpad not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Sllyth
n00b
n00b


Joined: 17 May 2019
Posts: 19
Location: China

PostPosted: Mon Sep 23, 2019 4:01 am    Post subject: XiaoMi Air 12.5'' touchpad not working Reply with quote

"dmesg |grep i2c" shows:
Code:
[    2.373598] i2c_hid i2c-SYNA3105:00: HID over i2c has not been provided an Int IRQ
[    2.373954] i2c_hid: probe of i2c-SYNA3105:00 failed with error -22


i guess the problem is that i don't have "Kernel modules: processor_thermal_device", so where can i get this in linux kernel, i searched for it in menuconfig, but found nothing...

in ubuntu, lspci -k, i get:[/topic]

Code:
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
   Subsystem: Xiaomi Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers
   Kernel driver in use: skl_uncore
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 515 (rev 07)
   Subsystem: Xiaomi HD Graphics 515
   Kernel driver in use: i915
   Kernel modules: i915
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
   Subsystem: Xiaomi Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
   Kernel driver in use: proc_thermal
   Kernel modules: processor_thermal_device
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
   Subsystem: Xiaomi Sunrise Point-LP USB 3.0 xHCI Controller
   Kernel driver in use: xhci_hcd
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
   Subsystem: Xiaomi Sunrise Point-LP Serial IO I2C Controller
   Kernel driver in use: intel-lpss
   Kernel modules: intel_lpss_pci
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
   Subsystem: Xiaomi Sunrise Point-LP Serial IO I2C Controller
   Kernel driver in use: intel-lpss
   Kernel modules: intel_lpss_pci
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
   Subsystem: Xiaomi Sunrise Point-LP CSME HECI
   Kernel driver in use: mei_me
   Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
   Subsystem: Xiaomi Sunrise Point-LP SATA Controller [AHCI mode]
   Kernel driver in use: ahci
   Kernel modules: ahci
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
   Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Device 9d46 (rev 21)
   Subsystem: Xiaomi Device 1501
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
   Subsystem: Xiaomi Sunrise Point-LP PMC
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
   Subsystem: Xiaomi Sunrise Point-LP HD Audio
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel, snd_soc_skl
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
   Subsystem: Xiaomi Sunrise Point-LP SMBus
   Kernel modules: i2c_i801
01:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
   Subsystem: Intel Corporation Wireless 8260
   Kernel driver in use: iwlwifi
   Kernel modules: iwlwifi


in gentoo, i get:

Code:
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
   Subsystem: Xiaomi Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers
   Kernel driver in use: skl_uncore
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 515 (rev 07)
   Subsystem: Xiaomi HD Graphics 515
   Kernel driver in use: i915
   Kernel modules: i915
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
   Subsystem: Xiaomi Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
   Subsystem: Xiaomi Sunrise Point-LP USB 3.0 xHCI Controller
   Kernel driver in use: xhci_hcd
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
   Subsystem: Xiaomi Sunrise Point-LP Serial IO I2C Controller
   Kernel driver in use: intel-lpss
   Kernel modules: intel_lpss_pci
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
   Subsystem: Xiaomi Sunrise Point-LP Serial IO I2C Controller
   Kernel driver in use: intel-lpss
   Kernel modules: intel_lpss_pci
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
   Subsystem: Xiaomi Sunrise Point-LP CSME HECI
   Kernel driver in use: mei_me
   Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
   Subsystem: Xiaomi Sunrise Point-LP SATA Controller [AHCI mode]
   Kernel driver in use: ahci
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
   Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Device 9d46 (rev 21)
   Subsystem: Xiaomi Device 1501
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
   Subsystem: Xiaomi Sunrise Point-LP PMC
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
   Subsystem: Xiaomi Sunrise Point-LP HD Audio
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel, snd_soc_skl
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
   Subsystem: Xiaomi Sunrise Point-LP SMBus
   Kernel driver in use: i801_smbus
   Kernel modules: i2c_i801
01:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
   Subsystem: Intel Corporation Wireless 8260
   Kernel driver in use: iwlwifi
   Kernel modules: iwlwifi


there is diff:

Code:
9a10,11
>    Kernel driver in use: proc_thermal
>    Kernel modules: processor_thermal_device
27a30
>    Kernel modules: ahci
40d42
<    Kernel driver in use: i801_smbus


[Moderator edit: added [code] tags to preserve output layout. -Hu]


Last edited by Sllyth on Thu Sep 26, 2019 2:41 am; edited 1 time in total
Back to top
View user's profile Send private message
Sllyth
n00b
n00b


Joined: 17 May 2019
Posts: 19
Location: China

PostPosted: Thu Sep 26, 2019 2:29 am    Post subject: Reply with quote

this may help: https://forums.gentoo.org/viewtopic-t-1086512-highlight-i2c.html

Xiaomi Air 12.5'' - 2017

at last, i found that after downloading i need to turn the follow choices on

Code:
Processor type and features --->
   [*] Intel Low Power Subsystem Support

Device Drivers --->
  Multifunction device drivers --->
    <*> Intel Low Power Subsystem support in PCI mode
  Pin controllers --->
    <*>Intel Sunrisepoint pinctrl and GPIO driver
  Input device support --->
      Mice --->
         <*> Synaptics I2C Touchpad support
  I2C support --->
      I2C Hardware Bus support --->
         <*> Synopsys DesignWare Platform
  HID support --->
      I2C HID support --->
         <*> HID over I2C transport layer


[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
petr2008
n00b
n00b


Joined: 03 Jan 2008
Posts: 68
Location: Prague, cz

PostPosted: Thu Sep 26, 2019 1:46 pm    Post subject: Reply with quote

My story with similar problem is here:
https://forums.gentoo.org/viewtopic-t-1100114-highlight-.html

I think that it is important to have sys-kernel/linux-firmware installed.
For i915, the firmware should be included in the kenrnel:
Device Drivers - General Driver Options - Firmware loader:

i915/kbl_dmc_ver1_04.bin

Other drivers should be compiled as modules to allow firmware load at boot.

I have used hwinfo to see what knoppix use.

I succeded with:
Code:
INPUT_DEVICES="libinput"

not with synaptic.
Back to top
View user's profile Send private message
Sllyth
n00b
n00b


Joined: 17 May 2019
Posts: 19
Location: China

PostPosted: Sun Sep 29, 2019 3:12 pm    Post subject: Reply with quote

thank you, Petr2008. I have solved this probelm. At first the touchpad should be detected, then we can use "libinput". In order to detect the touchpad, just follow the kernel choices above.
And I also use "libinput" :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum