技术解析
笔记本是小米 air 12.5 寸,ubuntu20.04.2 可以正常驱动和使用触摸板,但是 freebsd11 安装 xfce 后没法使用
下面是 ubuntu 使用 lshw 输出的笔记本信息
ubuntu
description: Notebook
product: TM1612 (LC15A Series)
vendor: Timi
version: Chassis Version
serial: 13135/00007418
width: 64 bits
capabilities: smbios-2.8 dmi-2.8 smp vsyscall32
configuration: administrator_password=disabled boot=normal chassis=notebook family=Timibook sku=LC15A Series uuid=4A7D2F32-DAAE-6E4F-8D63-CA275A8162A7
下面是/var/log/dmesg
的输出,找到了硬件
[ 1.799671] kernel: input: SYNA3105:00 06CB:7EA5 Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-SYNA3105:00/0018:06CB:7EA5.0001/input/input5
[ 1.800007] kernel: hid-generic 0018:06CB:7EA5.0001: input,hidraw0: I2C HID v1.00 Mouse [SYNA3105:00 06CB:7EA5] on i2c-SYNA3105:00
[ 2.055787] kernel: input: Synaptics TM3242-001 as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-SYNA3105:00/0018:06CB:7EA5.0001/input/input7
[ 2.056034] kernel: hid-rmi 0018:06CB:7EA5.0001: input,hidraw0: I2C HID v1.00 Mouse [SYNA3105:00 06CB:7EA5] on i2c-SYNA3105:00
下面是的 lspci 输出,驱动使用 intel-lpss
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
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
lshw 的输出都没有问题
*-generic:1
description: Signal processing controller
product: Sunrise Point-LP Serial IO I2C Controller #0
vendor: Intel Corporation
physical id: 15
bus info: [email protected]:00:15.0
version: 21
width: 64 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: driver=intel-lpss latency=0
resources: irq:16 memory:b1132000-b1132fff
但是 freebsd 有问题,下面是 freebsd11 的 /var/run/dmesg.boot 输出,找到了硬件,但是是 unknown card
ig4iic0: mem 0xb1132000-0xb1132fff irq 16 at device 21.0 on pci0
ig4iic0: Using MSI
iicbus0: on ig4iic0
iicbus0: at addr 0x2c
pciconf 也找到了硬件,但是触摸板就是没法用
[email protected]:0:21:0: class=0x118000 card=0x15011d72 chip=0x9d608086 rev=0x21 hdr=0x00
vendor = 'Intel Corporation'
device = 'Sunrise Point-LP Serial IO I2C Controller'
class = dasp