Ubuntu 18.04 触摸板不再工作

Ubuntu 18.04 触摸板不再工作

不久前,我将 Toshiba Satellite C55-B5356 升级到了 Ubuntu 18.04,但触摸板一直有问题。不过我通常使用 USB 鼠标,所以到目前为止,我从未需要修复此问题。不过最近我决定开始备份硬盘,并购买了一个 USB 工具来连接另一个驱动器以复制我的文件。不幸的是,由于其他 USB 端口都已损坏,我只有一个可用的 USB 端口,所以我现在需要触摸板才能工作。我尝试了一些方法,例如安装 xserver-xorg-synaptics 包,但在我进一步搞砸事情之前,我想咨询其他人。

我目前的情况是:

  • 触摸板在 Ubuntu 中不响应任何输入。虽然它在 BIOS 中可以工作
  • 查看设置确实会显示触摸板部分,并且选择器开关设置为开启
  • 的输出cat /proc/bus/input/devices是:
I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input5
U: Uniq=
H: Handlers=mouse1 event5 
B: PROP=9
B: EV=b
B: KEY=6420 30000 0 0 0 0
B: ABS=260800011000003
  • 输出也是xinput --list
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Logitech M315/235/317                     id=9    [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=11   [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)]
    ↳ AT Translated Set 2 keyboard              id=10   [slave  keyboard (3)]
    ↳ Toshiba input device                      id=12   [slave  keyboard (3)]

根据我所读到的内容,我的问题似乎与驱动程序有关,因为触摸板似乎已被识别,尽管我以前从未处理过这个问题,所以我不确定如何继续。是什么导致我的触摸板无法正常工作?

编辑:这是内容/usr/share/X11/xorg.conf.d/70-synaptics.conf

# Example xorg.conf.d snippet that assigns the touchpad driver
# to all touchpads. See xorg.conf.d(5) for more information on
# InputClass.
# DO NOT EDIT THIS FILE, your distribution will likely overwrite
# it when updating. Copy (and rename) this file into
# /etc/X11/xorg.conf.d first.
# Additional options may be added in the form of
#   Option "OptionName" "value"
#
Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
      MatchDevicePath "/dev/input/event*"
EndSection

Section "InputClass"
        Identifier "touchpad ignore duplicates"
        MatchIsTouchpad "on"
        MatchOS "Linux"
        MatchDevicePath "/dev/input/mouse*"
        Option "Ignore" "on"
EndSection

# This option enables the bottom right corner to be a right button on clickpads
# and the right and middle top areas to be right / middle buttons on clickpads
# with a top button area.
# This option is only interpreted by clickpads.
Section "InputClass"
        Identifier "Default clickpad buttons"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
        Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%"
EndSection

# This option disables software buttons on Apple touchpads.
# This option is only interpreted by clickpads.
Section "InputClass"
        Identifier "Disable clickpad buttons on Apple touchpads"
        MatchProduct "Apple|bcm5974"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
EndSection

答案1

  1. 检查是否xserver-xorg-input-synaptics已安装,否则安装
  2. 创建文本文件名70-synaptics.conf/usr/share/X11/xorg.conf.d//etc/X11/xorg.conf.d/
  3. 下面是从我的旧 Xubuntu 配置直接复制的:

“输入类”部分

标识符“触摸板”# 必填

MatchIsTouchpad "yes" # 必填

驱动程序“synaptics”# 必需

选项“MinSpeed”“0.2”

选项“MaxSpeed”“0.5”

选项“AccelFactor”“0075”

选项“TapButton1”“1”

选项“TapButton2”“2”# 多点触控

选项“TapButton3”“3”# 多点触控

选项“VertTwoFingerScroll”“1”#多点触控

选项“HorizTwoFingerScroll”“1”#多点触控

选项“VertEdgeScroll”“1”

选项“HorizEdgeScroll”“1”

选项“CoastingSpeed”“8”

选项“CornerCoasting”“1”

选项“CircularScrolling”“1”

选项“CircScrollTrigger”“7”

选项“EdgeMotionUseAlways”“1”

选项“LBCornerButton”“8”#浏览器“返回”按钮

选项“RBCornerButton”“9”#浏览器“前进”按钮

结束部分

  1. 重启

相关内容