如何在触控板上进行双指滚动?

我有一台新的联想Yoga 2 11“可转换笔记本电脑,据我所知,它有一个Elantech触控板。双指滚动和双指敲击在Windows和Fedora中运行良好,但在Ubuntu中不起作用。我怎样才能让它发挥作用?

我注意到在Fedora(其中一切正常),我的触摸板被报告为’ETPS / 2 Elantech触摸板’,而在Ubuntu它被报告为通用的“PS / 2鼠标”,但它肯定不是。 我有一种感觉这与驱动程序,配置或其他东西有关,但我不确定如何正确设置它。

这是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=0001 Version=0000 N: Name="Power Button" P: Phys=PNP0C0C/button/input0 S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1 U: Uniq= H: Handlers=kbd event1 B: PROP=0 B: EV=3 B: KEY=10000000000000 0 I: Bus=0019 Vendor=0000 Product=0001 Version=0000 N: Name="Power 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 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/LNXVIDEO:00/input/input6 U: Uniq= H: Handlers=kbd event5 B: PROP=0 B: EV=3 B: KEY=3e000b00000000 0 0 0 I: Bus=0003 Vendor=03eb Product=8c1d Version=0111 N: Name="Atmel Atmel maXTouch Digitizer" P: Phys=usb-0000:00:14.0-7/input0 S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb2/2-7/2-7:1.0/0003:03EB:8C1D.0002/input/input7 U: Uniq= H: Handlers=mouse1 event6 B: PROP=2 B: EV=b B: KEY=400 0 0 0 0 0 B: ABS=260800000000003 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=event7 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=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=8" P: Phys=ALSA S: Sysfs=/devices/pci0000:00/0000:00:03.0/sound/card0/input10 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 PCH Mic" P: Phys=ALSA S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card1/input11 U: Uniq= H: Handlers=event10 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/input12 U: Uniq= H: Handlers=event11 B: PROP=0 B: EV=21 B: SW=4 I: Bus=0003 Vendor=1bcf Product=2c66 Version=0003 N: Name="Lenovo EasyCamera" P: Phys=usb-0000:00:14.0-1/button S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.0/input/input13 U: Uniq= H: Handlers=kbd event12 B: PROP=0 B: EV=3 B: KEY=100000 0 0 0 I: Bus=0011 Vendor=0002 Product=0001 Version=0000 N: Name="PS/2 Generic Mouse" P: Phys=isa0060/serio1/input0 S: Sysfs=/devices/platform/i8042/serio1/input/input15 U: Uniq= H: Handlers=mouse0 event4 B: PROP=0 B: EV=7 B: KEY=70000 0 0 0 0 B: REL=3 

我最近通过修补psmouse内核模块来识别触控板,这对于朋友的瑜伽2有所帮助。 这是我如何做到的(从内存和浏览器历史记录):

 wget 'https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1166442/+attachment/3941591/+files/psmouse-elantech-x551c.tar.gz' sudo dkms ldtarball --force psmouse-elantech-x551c.tar.gz sudo dkms install -m psmouse -v elantech-x551c sudo rmmod psmouse && sudo modprobe psmouse 

之后您必须重新启动X(或重新启动)。

资料来源:

  • Ubuntu bugreport特别评论#137和#161
  • Evilcodingmonkey

万一它不起作用给我们输出:

 cat /proc/bus/input/devices 

Jon如果输出为xinput -list – >>>>↳ETPS / 2 Elantech触控板看到链接:

http://www.yourownlinux.com/2014/10/how-to-install-linux-kernel-3-18-rc1-in-linux.html或http://linuxg.net/how-to-install-内核3-18-RC2-上的ubuntu-14-10-的ubuntu-14-04-和衍生物/

重新启动你的ubuntu:

1 – 单击“选项设置系统”(Ubuntu启动栏上的齿轮图标)。 您还可以通过单击顶部栏Ubuntu上时钟旁边的图标来访问相同的选项。

2 – 在“系统设置”中,单击“鼠标和触摸板选项”。

3 – 在打开的窗口中,查找“选项触摸板”。 如果它未激活(“开”),请单击位于右侧的“按钮关闭”以激活它。

4 – 现在通过单击选项旁边的框选择“选项滚动两个手指”。

准备! 现在,您可以随时使用两个手指在Ubuntu中进行滚动。

尝试以下线程中提到的以下内容:

打开你的/etc/X11/xorg.conf.d/10-evdev.conf并用#s注释掉这一段:

 #Section "InputClass" # Identifier "evdev touchpad catchall" # MatchIsTouchpad "on" # MatchDevicePath "/dev/input/event*" # Driver "evdev" #EndSection 

现在创建一个名为/etc/X11/xorg.conf.d/10-synaptics.conf的文件,其中包含以下内容:

 Section "Module" Load "synaptics" EndSection Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Option "TapButton1" "1" Option "TapButton2" "2" Option "TapButton3" "3" Option "VertEdgeScroll" "on" EndSection 

现在注销,然后重新登录。 重启,如果你不介意。 然后你可以尝试运行这些命令:

 synclient VertTwoFingerScroll=1 synclient HorizTwoFingerScroll=0 #or 1 if you need it synclient EmulateTwoFingerMinY=5 synclient EmulateTwoFingerMinZ=48 

并检查两个手指滚动是否有效。

如果是这样,您必须在每次登录GUI时找到运行上述行的方法。

安装

只需通过apt-get安装synaptic包

 sudo apt-get update sudo apt-get install synaptic 

配置 :(您可以通过设置>>触摸板中的GUI进行配置,但需要更多配置:

/etc/X11/xorg.conf.d/50-synaptics.conf

 Section "InputClass" Identifier "touchpad" Driver "synaptics" MatchIsTouchpad "on" Option "TapButton1" "1" Option "TapButton2" "2" Option "TapButton3" "3" Option "VertEdgeScroll" "on" Option "VertTwoFingerScroll" "on" Option "HorizEdgeScroll" "on" Option "HorizTwoFingerScroll" "on" Option "CircularScrolling" "on" Option "CircScrollTrigger" "2" Option "EmulateTwoFingerMinZ" "40" Option "EmulateTwoFingerMinW" "8" Option "CoastingSpeed" "0" Option "FingerLow" "35" Option "FingerHigh" "40" ... 

救命:

 TapButton1 (integer) configures which mouse-button is reported on a non-corner, one finger tap. TapButton2 (integer) configures which mouse-button is reported on a non-corner, two finger tap TapButton3 (integer) configures which mouse-button is reported on a non-corner, three finger tap ... VertEdgeScroll (boolean) enables vertical scrolling while dragging across the right edge of the touch pad. HorizEdgeScroll (boolean) enables horizontal scrolling while dragging across the bottom edge of the touch pad. VertTwoFingerScroll (boolean) enables vertical scrolling using two fingers. HorizTwoFingerScroll (boolean) enables horizontal scrolling using two fingers. ... 

来源: https : //wiki.archlinux.org/index.php/Touchpad_Synaptics#Installation

我有一个Yoga 2 Pro,但它有一个synaptics触摸板。 我的Elantech经验有限。 我很确定这是一个内核回归。 Yoga 2 Pro也存在其他内核问题(特别是WiFi),但它们是通过14.10发行版修复的。

elantech触摸板 – 多点触控不适用于内核3.13.0-35-generic

此主题指向错误报告,这可能是您的问题所在。

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1166442/+index?comments=all

首先,尝试转到终端并输入synclient,看看它是否返回了触控板配置。 如果是这样,VertTwoFingerScroll会显示什么? 如果它显示VertTwoFingerScroll = 0,则运行:

synclient VertTwoFingerScroll = 1

看它是否开始工作。 我的理解是xinput已经过时了。

如果这使它工作,那么你需要学习50-synaptics.conf,因为这是在启动时使synclient设置的配置文件。 这个我理解得很好,因为我需要在Yoga Pro 2上进行大量的突触修改以使其可用。 瑜伽2 Pro 14.10的触控板内核问题是PalmDetect不起作用。 它可以通过内核补丁修复。 我应该能够帮助您使配置文件正常工作。 这很神秘。

如果您想充分利用触控板和微调设置,您需要知道如何使用synclient和50-synaptics.conf。

如果它不起作用,我相信是Elantech硬件的一个深刻的黑暗内核问题,它无法识别它。 从上面提到的链接,尝试安装旧版本的Ubuntu,看看触控板是否工作。 我认为这将certificate核回归理论。

您可以在14.10上面的上述链接中尝试内核补丁。 你一直在搞乱很多配置,所以如果你要经历内核补丁的麻烦,我会全新安装14.10。 详细研究错误报告,因为我认为内核补丁最初来自错误报告。 错误报告和成功的补丁实现中有最新post。