我正在编译一个内核只是为了学习目的,我几乎让所有东西都能工作,蓝牙,hdmi,usb,读卡器,网络摄像头,wifi...等。但我无法让触摸板工作,我所知道的一切这是...
x输入:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ USB OPTICAL MOUSE id=10 [slave pointer (2)]
⎜ ↳ SYN1B81:01 06CB:2970 Touchpad id=12 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ HD WebCam: HD WebCam id=11 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]
猫/proc/总线/输入/设备:
I: Bus=0018 Vendor=06cb Product=2970 Version=0100
N: Name="SYN1B81:01 06CB:2970 Touchpad"
P: Phys=i2c-SYN1B81:01
S: Sysfs=/devices/pci0000:00/INT3432:00/i2c-0/i2c-SYN1B81:01/0018:06CB:2970.0002/input/input11
U: Uniq=
H: Handlers=event7
B: PROP=5
B: EV=1b
B: KEY=6420 10000 0 0 0 0
B: ABS=2e0800000000003
B: MSC=20
dmesg | grep SYN1B81:01:
[ 11.112159] i2c_hid i2c-SYN1B81:01: i2c-SYN1B81:01 supply vdd not found, using dummy regulator
[ 11.112178] i2c_hid i2c-SYN1B81:01: Linked as a consumer to regulator.0
[ 11.112181] i2c_hid i2c-SYN1B81:01: i2c-SYN1B81:01 supply vddl not found, using dummy regulator
[ 11.133437] input: SYN1B81:01 06CB:2970 Mouse as /devices/pci0000:00/INT3432:00/i2c-0/i2c-SYN1B81:01/0018:06CB:2970.0002/input/input7
[ 11.133526] input: SYN1B81:01 06CB:2970 Touchpad as /devices/pci0000:00/INT3432:00/i2c-0/i2c-SYN1B81:01/0018:06CB:2970.0002/input/input8
[ 11.133598] hid-generic 0018:06CB:2970.0002: input,hidraw1: I2C HID v1.00 Mouse [SYN1B81:01 06CB:2970] on i2c-SYN1B81:01
[ 11.133664] probe of i2c-SYN1B81:01 returned 1 after 21592 usecs
[ 11.224691] input: SYN1B81:01 06CB:2970 Touchpad as /devices/pci0000:00/INT3432:00/i2c-0/i2c-SYN1B81:01/0018:06CB:2970.0002/input/input11
[ 11.224837] hid-multitouch 0018:06CB:2970.0002: input,hidraw1: I2C HID v1.00 Mouse [SYN1B81:01 06CB:2970] on i2c-SYN1B81:01
所以这基本上就是我所知道的全部内容,lspci -k 不显示触摸板,lsmod 仅列出两个相关模块i2c_hid和隐藏多点触控我已经测试了其他人禁用它们,看看它是否与触摸相关。这是最新的配置文件我编译的,我不知道如何获得对这种触摸的支持,我已经启用了与 i2c、usb、hid 相关的所有内容,其中有 elan、elantech、synaptics、designware,但没有任何效果。
答案1
在阅读了有关 i2c 的内容后,我基本上发现了我所缺少的内容:
CONFIG_X86_INTEL_LPSS
PINCTRL
CONFIG_MFD_TPS68470
CONFIG_I2C_DESIGNWARE_CORE
CONFIG_I2C_DESIGNWARE_PLATFORM
CONFIG_I2C_DESIGNWARE_SLAVE