【已解决】笔记本触摸板驱动还是没有,求助如何驱动?
Tofloor
poster avatar
十万火急
deepin
2018-12-26 08:22
Author
本帖最后由 jacochan 于 2019-2-1 00:16 编辑

隔了很长一段时间没用deepin了,惊喜发现15.8版本更赞了。重新安装deepin到新买的固态硬盘上,可是发现买的海尔笔记本触摸板驱动还是没有,只能依靠外接USB鼠标才能正常使用。请问,有什么办法可以使用笔记本的触摸板来操控系统?

谢谢
===================

解决方法:1、到这升级内核https://kernel.ubuntu.com/~kernel-ppa/mainline/
一般选择最新的版本如/v5.0-rc4/,选择Build for amd64的。依次下载
  linux-headers-5.0.0-050000rc4_5.0.0-050000rc4.201901272036_all.deb
  linux-headers-5.0.0-050000rc4-generic_5.0.0-050000rc4.201901272036_amd64.deb
  linux-image-unsigned-5.0.0-050000rc4-generic_5.0.0-050000rc4.201901272036_amd64.deb
  linux-modules-5.0.0-050000rc4-generic_5.0.0-050000rc4.201901272036_amd64.deb
其他版本以此类推。

2、在终端中输入sudo su并输入密码,切换到root权限。然后输入命令新建文件 vim /etc/rc.local
文件内容输入如下内容(可粘贴):

#!/bin/bash
modprobe -r psmouse
modprobe psmouse proto=imps


按Esc输入:wq 保存后,赋予该文件可执行权限: chmod +x /etc/rc.local。下次重启时,systemd就会自动执行rc.local里面的命令了
或许能帮到你。




Reply Favorite View the author
All Replies
avatar
十万火急
deepin
2018-12-26 08:25
#1
deepin-feedback-cli-Deepin-15.8-all-20181226-002447.tar.gz

附件是用 deepin-feedback-cli 命令得到的日志
Reply View the author
avatar
十万火急
deepin
2018-12-26 08:32
#2
根据 https://bbs.deepin.org/post/146921 第11步执行 python3 xinput_detail.py 得到信息如下:


--------------- Will list device: 12 props
Device 'Compx 2.4G Receiver':
        Device Enabled (146):        1
        Coordinate Transformation Matrix (148):        1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Natural Scrolling Enabled (281):        0
        libinput Natural Scrolling Enabled Default (282):        0
        libinput Scroll Methods Available (283):        0, 0, 1
        libinput Scroll Method Enabled (284):        0, 0, 0
        libinput Scroll Method Enabled Default (285):        0, 0, 0
        libinput Button Scrolling Button (286):        2
        libinput Button Scrolling Button Default (287):        2
        libinput Middle Emulation Enabled (288):        0
        libinput Middle Emulation Enabled Default (289):        0
        libinput Accel Speed (290):        0.333333
        libinput Accel Speed Default (291):        0.000000
        libinput Accel Profiles Available (292):        1, 1
        libinput Accel Profile Enabled (293):        1, 0
        libinput Accel Profile Enabled Default (294):        1, 0
        libinput Left Handed Enabled (295):        0
        libinput Left Handed Enabled Default (296):        0
        libinput Send Events Modes Available (266):        1, 0
        libinput Send Events Mode Enabled (267):        0, 0
        libinput Send Events Mode Enabled Default (268):        0, 0
        Device Node (269):        "/dev/input/event7"
        Device Product ID (270):        9639, 64035
        libinput Drag Lock Buttons (297):       
        libinput Horizontal Scroll Enabled (298):        1

--------------- Will list device: 6 props
Device 'Power Button':
        Device Enabled (146):        1
        Coordinate Transformation Matrix (148):        1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Send Events Modes Available (266):        1, 0
        libinput Send Events Mode Enabled (267):        0, 0
        libinput Send Events Mode Enabled Default (268):        0, 0
        Device Node (269):        "/dev/input/event2"
        Device Product ID (270):        0, 1

--------------- Will list device: 7 props
Device 'Video Bus':
        Device Enabled (146):        1
        Coordinate Transformation Matrix (148):        1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Send Events Modes Available (266):        1, 0
        libinput Send Events Mode Enabled (267):        0, 0
        libinput Send Events Mode Enabled Default (268):        0, 0
        Device Node (269):        "/dev/input/event5"
        Device Product ID (270):        0, 6

--------------- Will list device: 8 props
Device 'Video Bus':
        Device Enabled (146):        1
        Coordinate Transformation Matrix (148):        1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Send Events Modes Available (266):        1, 0
        libinput Send Events Mode Enabled (267):        0, 0
        libinput Send Events Mode Enabled Default (268):        0, 0
        Device Node (269):        "/dev/input/event4"
        Device Product ID (270):        0, 6

--------------- Will list device: 9 props
Device 'Sleep Button':
        Device Enabled (146):        1
        Coordinate Transformation Matrix (148):        1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Send Events Modes Available (266):        1, 0
        libinput Send Events Mode Enabled (267):        0, 0
        libinput Send Events Mode Enabled Default (268):        0, 0
        Device Node (269):        "/dev/input/event1"
        Device Product ID (270):        0, 3

--------------- Will list device: 13 props
Device 'AT Translated Set 2 keyboard':
        Device Enabled (146):        1
        Coordinate Transformation Matrix (148):        1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Send Events Modes Available (266):        1, 0
        libinput Send Events Mode Enabled (267):        0, 0
        libinput Send Events Mode Enabled Default (268):        0, 0
        Device Node (269):        "/dev/input/event3"
        Device Product ID (270):        1, 1

--------------- Will list device: 10 props
Device 'USB2.0 HD UVC WebCam: USB2.0 HD':
        Device Enabled (146):        1
        Coordinate Transformation Matrix (148):        1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Send Events Modes Available (266):        1, 0
        libinput Send Events Mode Enabled (267):        0, 0
        libinput Send Events Mode Enabled Default (268):        0, 0
        Device Node (269):        "/dev/input/event16"
        Device Product ID (270):        1266, 45987

--------------- Will list device: 11 props
Device 'Compx 2.4G Receiver':
        Device Enabled (146):        1
        Coordinate Transformation Matrix (148):        1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Send Events Modes Available (266):        1, 0
        libinput Send Events Mode Enabled (267):        0, 0
        libinput Send Events Mode Enabled Default (268):        0, 0
        Device Node (269):        "/dev/input/event6"
        Device Product ID (270):        9639, 64035

--------------- Will list device: 14 props
Device 'Compx 2.4G Receiver':
        Device Enabled (146):        1
        Coordinate Transformation Matrix (148):        1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Send Events Modes Available (266):        1, 0
        libinput Send Events Mode Enabled (267):        0, 0
        libinput Send Events Mode Enabled Default (268):        0, 0
        Device Node (269):        "/dev/input/event7"
        Device Product ID (270):        9639, 64035
Reply View the author
avatar
WENWEN
deepin
2018-12-26 17:05
#3
Reply View the author
avatar
yanbowen
deepin
Community Developer
2018-12-27 17:11
#4
https://bbs.deepin.org/post/172855
根据 https://bbs.deepin.org/post/146921 第11步执行 python3 xinput_detail.py  ...

这是全部的输出吗? 里面没有发现触摸板, 另外贴一下  cat /proc/bus/input/devices 的内容
Reply View the author
avatar
十万火急
deepin
2018-12-27 18:13
#5
https://bbs.deepin.org/post/172855
在终端执行sudo  apt-get install xf86-input-synaptics 试试。

debug@debug-PC:~$ sudo  apt-get install xf86-input-synaptics
sudo: 无法解析主机:debug-PC
[sudo] debug 的密码:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
E: 无法定位软件包 xf86-input-synaptics

报错。
Reply View the author
avatar
十万火急
deepin
2018-12-27 18:14
#6
https://bbs.deepin.org/post/172855
这是全部的输出吗? 里面没有发现触摸板, 另外贴一下  cat /proc/bus/input/devices 的内容 ...

debug@debug-PC:~$ cat /proc/bus/input/devices
I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
U: Uniq=
H: Handlers=event0
B: PROP=0
B: EV=21
B: SW=1

I: Bus=0019 Vendor=0000 Product=0003 Version=0000
N: Name="Sleep Button"
P: Phys=PNP0C0E/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1
U: Uniq=
H: Handlers=kbd event1
B: PROP=0
B: EV=3
B: KEY=4000 0 0

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="ower Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
U: Uniq=
H: Handlers=kbd event2
B: PROP=0
B: EV=3
B: KEY=10000000000000 0

I: Bus=0011 Vendor=0001 Product=0001 Version=ab83
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input3
U: Uniq=
H: Handlers=sysrq kbd event3 leds
B: PROP=0
B: EV=120013
B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:13/LNXVIDEO:00/input/input4
U: Uniq=
H: Handlers=kbd event4
B: PROP=0
B: EV=3
B: KEY=3e000b00000000 0 0 0

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input5
U: Uniq=
H: Handlers=kbd event5
B: PROP=0
B: EV=3
B: KEY=3e000b00000000 0 0 0

I: Bus=0003 Vendor=25a7 Product=fa23 Version=0110
N: Name="Compx 2.4G Receiver"
P: Phys=usb-0000:00:14.0-4/input0
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.0/0003:25A7:FA23.0001/input/input6
U: Uniq=
H: Handlers=sysrq kbd event6 leds
B: PROP=0
B: EV=120013
B: KEY=1000000000007 ff800000000007ff febeffdff3cfffff fffffffffffffffe
B: MSC=10
B: LED=7

I: Bus=0003 Vendor=25a7 Product=fa23 Version=0110
N: Name="Compx 2.4G Receiver"
P: Phys=usb-0000:00:14.0-4/input1
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.1/0003:25A7:FA23.0002/input/input7
U: Uniq=
H: Handlers=kbd mouse0 event7
B: PROP=0
B: EV=10001f
B: KEY=3007f 0 0 483ffff17aff32d bf54444600000000 1f0001 130c130b17c000 267bfad941dfed 9e168000004400 10000002
B: REL=1c3
B: ABS=100000000
B: MSC=10

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel HDMI HDMI/DP,pcm=3"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:03.0/sound/card0/input8
U: Uniq=
H: Handlers=event8
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel HDMI HDMI/DP,pcm=7"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:03.0/sound/card0/input9
U: Uniq=
H: Handlers=event9
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel HDMI HDMI/DP,pcm=8"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:03.0/sound/card0/input10
U: Uniq=
H: Handlers=event10
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel HDMI HDMI/DP,pcm=9"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:03.0/sound/card0/input11
U: Uniq=
H: Handlers=event11
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel HDMI HDMI/DP,pcm=10"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:03.0/sound/card0/input12
U: Uniq=
H: Handlers=event12
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Mic"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card1/input13
U: Uniq=
H: Handlers=event13
B: PROP=0
B: EV=21
B: SW=10

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Headphone"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card1/input14
U: Uniq=
H: Handlers=event14
B: PROP=0
B: EV=21
B: SW=4

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="C Speaker"
P: Phys=isa0061/input0
S: Sysfs=/devices/platform/pcspkr/input/input15
U: Uniq=
H: Handlers=kbd event15
B: PROP=0
B: EV=40001
B: SND=6

I: Bus=0003 Vendor=04f2 Product=b3a3 Version=5457
N: Name="USB2.0 HD UVC WebCam: USB2.0 HD"
P: Phys=usb-0000:00:14.0-10/button
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.0/input/input16
U: Uniq=
H: Handlers=kbd event16
B: PROP=0
B: EV=3
B: KEY=100000 0 0 0
Reply View the author
avatar
十万火急
deepin
2018-12-27 18:25
#7
本帖最后由 jacochan 于 2018-12-27 10:41 编辑

我搜索网上海尔S500这款笔记本的触摸板是Synaptics这个厂家的。https://www.haier.com/cn/services_supports/history/computerDrivers/bjbdn_1/qt_37180/201407/t20140702_228041.shtml?tab2_content_selector

Reply View the author
avatar
yanbowen
deepin
Community Developer
2018-12-27 22:31
#8
https://bbs.deepin.org/post/172855
debug@debug-PC:~$ cat /proc/bus/input/devices
I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: ...

输入设备中没有触摸板设备
1. 内核没有识别到触摸板
2. 内核将触摸板识别成其它类型的设备了

所以安装下 hwinfo 完成后执行 sudo hwinfo > /tmp/hw.info 然后将 /tmp/hw.info 上传下, 通过这来看下触摸板有没有被内核识别到.
Reply View the author
avatar
十万火急
deepin
2018-12-30 18:04
#9
https://bbs.deepin.org/post/172855
输入设备中没有触摸板设备
1. 内核没有识别到触摸板
2. 内核将触摸板识别成其它类型的设备了

hw.info.zip

粘贴不完整,打包一个附件了。麻烦下载看看,谢谢!
Reply View the author
avatar
roweking168
deepin
2018-12-30 19:45
#10
我装上触摸板就能正常使用
Reply View the author
avatar
yanbowen
deepin
Community Developer
2019-01-02 05:33
#11
https://bbs.deepin.org/post/172855
粘贴不完整,打包一个附件了。麻烦下载看看,谢谢!

日志上看, 你的触摸板没有被正确识别, 与触摸板相关的信息只有 udev 中有, 如下:
  1.   P: /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/SYN1D22:00
  2.    E: DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/SYN1D22:00
  3.    E: ID_VENDOR_FROM_DATABASE=Synaptics Inc
  4.    E: MODALIAS=acpi:SYN1D22:PNP0F13:
  5.    E: SUBSYSTEM=acpi
  6.    E: USEC_INITIALIZED=4522646
Copy the Code


执行下一下 sudo dmesg > /tmp/dmesg , 然后把 /tmp/dmesg 上传下
Reply View the author
avatar
mzking
deepin
2019-01-02 21:33
#12
把内核升级到4.17或者更高,就可以了
Reply View the author
avatar
2019-01-03 06:00
#13
不太清楚,我是haier 凌越5000a,触控板驱动完整
Reply View the author
avatar
十万火急
deepin
2019-01-05 19:45
#14
https://bbs.deepin.org/post/172855
日志上看, 你的触摸板没有被正确识别, 与触摸板相关的信息只有 udev 中有, 如下:

感谢大神回复根据您的提示命令执行日志上传如下(因为日志内容超过论坛字数限制,麻烦下载附件查看下。谢谢!):

attach://67744.zip

Reply View the author
avatar
yanbowen
deepin
Community Developer
2019-01-07 17:12
#15
https://bbs.deepin.org/post/172855
感谢大神回复根据您的提示命令执行日志上传如下(因为日志内容超过论坛字数限制,麻烦下载附件查看 ...

没啥有用的信息, 试着升级下内核吧
Reply View the author
avatar
十万火急
deepin
2019-01-31 08:08
#16
感谢各位朋友的回复,经过不懈的努力。已经解决,方法已经贴在问题贴上了。方便有类似困惑的朋友找到答案。
Reply View the author