笔记本是小米 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- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at b1132000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [80] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [90] Vendor Specific Information: Len=14 <?>
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: pci@0000: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: <Intel Sunrise Point-LP I2C Controller-0> mem 0xb1132000-0xb1132fff irq 16 at device 21.0 on pci0
ig4iic0: Using MSI
iicbus0: <Philips I2C bus (ACPI-hinted)> on ig4iic0
iicbus0: <unknown card> at addr 0x2c
pciconf 也找到了硬件,但是触摸板就是没法用
ig4iic0@pci0: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
解决了,坑了老夫好些日子
安装iichid模块:
pkg install iichid
然后在/etc/rc.conf里面添加这个模块:
kld_list="/boot/modules/iichid.ko"
重启即可。
参考:http://www.daemonology.net/blog/2020-05-22-my-new-FreeBSD-laptop-Dell-7390.html
1
Cooky 2021-04-03 21:42:28 +08:00 via Android
没驱动吧
|
3
testcaoy7 2021-04-04 08:20:54 +08:00
BSD 大神……
不过为啥要用 BSD 做工作站?我总觉得 BSD 做没 GUI 的 Server 更好 |