AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

    • 主页
    • 系统&网络
    • Ubuntu
    • Unix
    • DBA
    • Computer
    • Coding
    • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[trackpoint](ubuntu)

Martin Hope
VisibleReality
Asked: 2020-09-16 17:16:52 +0800 CST

Lenovo Thinkpad Helix - Trackpoint 和 Touchpad 偶尔停止工作

  • 0

我最近在旧的 Thinkpad Helix 上安装了 Kubuntu 20.04。它大部分工作正常,除了有时触摸板和跟踪点停止工作。有时会在平板电脑脱离/重新对接时发生,有时会在从睡眠中恢复后发生,有时会随机发生。

内置手写笔(wacom 数位板)和触摸屏工作正常。

键盘上的键盘和 USB 端口工作正常。

到目前为止,我发现的唯一解决方法是重新启动设备,这很烦人。

我找到了一个说要安装xserver-xorg-input-synaptics并运行synclient TouchpadOff=0但没有用的答案。

lenovo thinkpad touchpad trackpoint
  • 2 个回答
  • 592 Views
Martin Hope
rthomas
Asked: 2020-05-25 23:21:41 +0800 CST

为我的 IBM SpaceSaver II (RT3200) 在 Wayland 下启用 Trackpoing 滚动

  • 1

我有一个旧的 IBM SpaceSaver II,我已经使用了一段时间了。更新到 Ubuntu 20.04 后,我决定再试一次 Wayland。唯一让我无法完全使用它的是鼠标中键单击滚动不起作用。

在 X 下它也不能开箱即用,但您可以通过 xinput 设置滚动方法来启用它:

xinput --set-prop "USBPS2 Mouse" "libinput Scroll Method Enabled" 0, 0, 1

但我还没有找到在 Wayland 下设置它的方法。

在这个线程中,他们使用 更改内置跟踪点的属性/etc/udev/hwdb.d,但我不确定如何正确使用它以及在哪里可以找到给定设备的属性。我尝试使用:

evdev:name:USBPS2 Mouse
  MOUSE_SCROLL_METHOD=button
evdev:name:USBPS2 Mouse
  SCROLL_METHOD_ENABLED=button
evdev:name:USBPS2 Mouse
  SCROLL_METHOD_ENABLED=0,0,1

但它没有效果。你能告诉我我是否在正确的轨道上吗?如何找出设备的属性?有没有办法验证选择器?

键盘通过 PS/2 到 USB 适配器连接,因此在列出 libinput 设备时它显示为USBPS2 :

Device:           USBPS2
Kernel:           /dev/input/event18
Group:            5
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           USBPS2 Mouse
Kernel:           /dev/input/event19
Group:            5
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a

Device:           USBPS2 Consumer Control
Kernel:           /dev/input/event20
Group:            5
Seat:             seat0, default
Capabilities:     keyboard pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           USBPS2 System Control
Kernel:           /dev/input/event21
Group:            5
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

如您所见,USBPS2 鼠标具有可用的滚动方法按钮,但未启用(至少我认为是这样,因为它之前没有星号)。对于集成的 Trackpoint,它开箱即用。

wayland trackpoint 20.04
  • 1 个回答
  • 298 Views
Martin Hope
brett stevens
Asked: 2020-04-10 07:15:23 +0800 CST

19.10:Thinkpad X1 Tablet gen 2 跟踪点不工作

  • 0

我有两台 Thinkpad X1 平板电脑 gen 2。一台运行 Ubuntu 19.04,另一台运行 Ubuntu 19.10。这台机器有一个可拆卸的键盘,其中包含一个触控板和轨迹点。触控板的左下角和右下角有两个按钮。空格键下方是三个鼠标按钮。

当我购买机器时,trackpoint 无法正常工作,但它的补丁最终进入了内核(我认为是 17.10),请参阅这个线程和另一个. 它已经工作了几年,但昨天我注意到空格键下方的轨迹点和左右按钮在我的 19.10 机器上不起作用。我一个月前升级到 19.10,恐怕我没有注意到它是否停止工作,因为在过去一个月的大部分时间里,我一直用鼠标将它连接到扩展坞上。我昨天做的另一件事是从一个连接的驱动器短暂地将计算机启动到 Windows,这会破坏启动,所以我安装了一个实时的 Ubuntu 19.10 来修复 grub。在实时 Ubuntu 19.10 中,trackpoint 工作正常。

在跟踪点工作的 19.04 机器上,当我对以下任何文件进行分类时,我会收到跟踪点和按钮事件

/开发/输入/鼠标2

/dev/input/event9

/dev/input/event10

/dev/hidraw3

前两个不显示触控板及其按钮的事件,但 event10 和 hidraw 显示触控板、轨迹点和所有按钮的事件。

event9 和 event 10 的 xinput 设备分别是“PRIMAX ThinkPad X1 Tablet Thin Keyboard Gen 2 Mouse”和“PRIMAX ThinkPad X1 Tablet Thin Keyboard Gen 2 Touchpad”。

当我跑

xinput --test "PRIMAX ThinkPad X1 Tablet Thin Keyboard Gen 2 Mouse"

我得到了跟踪点及其三个按钮的事件,但没有得到触控板的事件。当我跑

xinput --test "PRIMAX ThinkPad X1 Tablet Thin Keyboard Gen 2 Touchpad",

我得到触控板及其按钮的事件,而不是轨迹点或其按钮。

在跟踪点不起作用的运行 19.10 的机器上,两个相同的 xinput 设备都存在。它们的属性与xinput --list-props我的 19.04 机器上的相同。我从“PRIMAX ThinkPad X1 Tablet Thin Keyboard Gen 2 Touchpad”获得触控板和按钮事件,而我从“PRIMAX ThinkPad X1 Tablet Thin Keyboard Gen 2 Mouse”仅获得按钮 2 事件。当我cat /dev/input/mouse[n]或/dev/input/event9我一无所获时。 cat /dev/input/event10并/dev/hidraw3给我触控板、轨迹点和所有按钮的事件。

2020-05-11 更新

这是一些内核数据。

跟踪点在我的内核 5.0.0-38-generic 的 Ubuntu 19.04 X1 平板电脑上运行

它适用于内核分别为 5.3.0-28-generic 和 5.3.0.18-generic 的 Ubuntu live USB 18.04 和 19.10。

它不适用于内核为 5.4.0-26-generic 的 Ubuntu live USB 20.04。

thinkpad evdev trackpoint xinput
  • 2 个回答
  • 1426 Views
Martin Hope
Eirik
Asked: 2019-12-14 04:23:02 +0800 CST

如何关闭 Wayland 内的跟踪点?

  • 1

我的笔记本电脑有一个不稳定的跟踪点,不断移动鼠标。

使用 xorg 时,我可以使用此命令将其关闭: xinput -set-prop "AlpsPS/2 ALPS DualPoint Stick" "Device Enabled" 0

似乎 xinput 不是 Wayland 上的东西?快速搜索给了我 libinput,但 libinput 让我无法关闭跟踪点(据我所知)

那么我将如何关闭 Wayland 中的跟踪点?或者除了 xinput/libinput 还有其他方法吗?

系统信息:

东芝Portege Z30A

Ubuntu 19.10 GNOME

*更新:

我发现了这个讨论:https ://gist.github.com/fghaas/3406be59095de212182f1803a503a64b#file-75-input-rules

这似乎完全符合我的需要,但我不明白如何执行它。我能得到一些帮助来理解它吗?我在哪里放什么?

mouse wayland trackpoint xinput libinput
  • 1 个回答
  • 1161 Views
Martin Hope
BlandCorporation
Asked: 2019-08-27 04:32:27 +0800 CST

如何将 TrackPoint 驱动程序从默认的 libinput 更改为较新的 libinput 或改回 Synaptics?

  • 1

这款配备 Ubuntu 18.04 LTS 的 ThinkPad X390 上的 TrackPoint 动作跳动、滞后,无法用于精细的小动作。我已经确认这可能是一个软件问题,因为我已经用 TrackPoint 测试了一个外部键盘,它在 16.04 上很好,但在 18.04 上显示相同的问题。

我可以看到网上的评论表明将 libinput 切换到较新版本会有所帮助,而从 libinput 切换到 Synaptics 会有所帮助。后者怎么做?我可以从这里看到安装的可能性xserver-xorg-input-synaptics,但是,当我这样做时,我遇到了问题:

$ sudo apt install xserver-xorg-input-synaptics
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 xserver-xorg-input-synaptics : Depends: xserver-xorg-core (>= 2:1.18.99.901)
E: Unable to correct problems, you have held broken packages.

$ sudo apt install xserver-xorg-core
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libunity-gtk2-parser0 libunity-gtk3-parser0 libxatracker2 unity-gtk-module-common xinput
Use 'sudo apt autoremove' to remove them.
Suggested packages:
  xfonts-100dpi | xfonts-75dpi
The following packages will be REMOVED
  ubuntu-desktop ubuntu-mate-core ubuntu-mate-desktop ubuntu-unity-desktop xorg
  xserver-xorg-core-hwe-18.04 xserver-xorg-hwe-18.04 xserver-xorg-input-all-hwe-18.04
  xserver-xorg-input-libinput-hwe-18.04 xserver-xorg-input-synaptics-hwe-18.04
  xserver-xorg-input-wacom-hwe-18.04 xserver-xorg-video-all-hwe-18.04
  xserver-xorg-video-amdgpu-hwe-18.04 xserver-xorg-video-ati-hwe-18.04
  xserver-xorg-video-fbdev-hwe-18.04 xserver-xorg-video-intel-hwe-18.04
  xserver-xorg-video-nouveau-hwe-18.04 xserver-xorg-video-qxl-hwe-18.04
  xserver-xorg-video-radeon-hwe-18.04 xserver-xorg-video-vesa-hwe-18.04
  xserver-xorg-video-vmware-hwe-18.04
The following NEW packages will be installed
  xserver-xorg-core
0 to upgrade, 1 to newly install, 21 to remove and 11 not to upgrade.
Need to get 1,351 kB of archives.
After this operation, 5,808 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

如何进行?


编辑:根据@Pilot6 here的建议,我安装了xserver-xorg-input-synaptics-hwe-18.04(似乎已经成功)并检查了目录中的文件/usr/share/X11/xorg.conf.d:

10-amdgpu.conf
10-quirks.conf
10-radeon.conf
40-libinput.conf
51-synaptics-quirks.conf
70-synaptics.conf
70-wacom.conf

我删除了文件40-libinput.conf并重新启动,希望 Synaptics 驱动程序能够启动。它没有,导致键盘和 TrackPoint(和触摸板)没有响应。幸运的是,触摸屏和屏幕键盘可以替换文件40-libinput.conf。我不确定下一步该怎么做。

内容40-libinput.conf如下:

# Match on all types of devices but joysticks
Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

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

Section "InputClass"
        Identifier "libinput touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

内容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
synaptics trackpoint libinput 18.04
  • 2 个回答
  • 2004 Views
Martin Hope
Al Fahad
Asked: 2018-08-13 22:28:34 +0800 CST

我们如何在 Ubuntu 18.04 中禁用鼠标 Pointstick?

  • 0

我想禁用我的鼠标 PointStick。在 Windows 10 中,我通过在系统托盘中的 Windows 10 中提供的“戴尔指针设备软件”中禁用 PointStick 来做到这一点。

我可以在 Ubuntu 18.04 中做这样的事情吗?请帮助我为 Ubuntu 18.04 重复同样的事情。

command-line mouse trackpoint
  • 1 个回答
  • 422 Views
Martin Hope
AndroidDragon
Asked: 2018-08-10 08:48:53 +0800 CST

无法在 18.04 的 Lenovo T450s 上调整跟踪点速度

  • 1

我一直在尝试在 18.04 中调整跟踪点速度的速度,但没有成功。我尝试在设置应用程序中更改鼠标速度,但即使使用我从未使用过的触摸板也没有任何变化。在 gnome-tweaks 中,我尝试将名为加速配置文件的设置调整为自适应,它确实使它更快,但它启用了我不想要的鼠标加速。我在网上搜索过,看到有人提到编辑道具,xinput但list没有显示我的跟踪点,即使它工作正常

⎡ Virtual core pointer                          id=2    [master pointer (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ PS/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)]
    ↳ Sleep Button                              id=8    [slave  keyboard (3)]
    ↳ Integrated Camera: Integrated C           id=9    [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=10   [slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                    id=12   [slave  keyboard (3)]

如何更改它并在重新启动后使其保持不变。

lenovo mouse touchpad trackpoint 18.04
  • 2 个回答
  • 2530 Views
Martin Hope
Claudio C.
Asked: 2018-05-25 23:58:26 +0800 CST

Dell Latitude 5590 - 如何使用中央按钮滚动

  • 4

我有一个戴尔 Latitude 5590,Ubuntu 18.04 与 Windows 10 一起安装在双引导中。

在 Windows 中,我可以通过按住中央按钮并移动 trackpoint 来滚动页面。

在Ubuntu内部,这种滚动功能不起作用。

有任何想法吗?

提前致谢。

(顺便说一下,同样的滚动功能在 Ubuntu 18.04 和 Lenovo Thinkpads 上也能工作)

dell mouse-scroll trackpoint
  • 2 个回答
  • 1655 Views
Martin Hope
avila
Asked: 2018-04-29 00:27:24 +0800 CST

thinkpad t420s [UBUNTU 18.04] 上跟踪点的不稳定行为

  • 8

我刚刚升级到 Ubuntu 18.04,跟踪点显示出不稳定的行为。向一个方向移动光标时,它首先向某个方向移动,然后向右移动。

这是一种奇怪的行为,就好像在我休息一段时间后再次开始移动时释放的轨迹点中有某种动量(惯性)“卡住”了。

该问题仅发生在跟踪点上,并且仅当两个移动都与跟踪点无关时。(也就是说,如果我用鼠标(或触摸板)移动,然后用轨迹点移动,没问题。)

它在 UBUNTU 17.10 上运行良好。

这是相关命令的输出。

avila@t420s ~> xinput list-props "TPPS/2 IBM TrackPoint"

Device 'TPPS/2 IBM TrackPoint':
Device Enabled (142):   1
Coordinate Transformation Matrix (144): 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 (285):    0, 0, 1
libinput Scroll Method Enabled (286):   0, 0, 1
libinput Scroll Method Enabled Default (287):   0, 0, 1
libinput Button Scrolling Button (288): 2
libinput Button Scrolling Button Default (289): 2
libinput Middle Emulation Enabled (290):    0
libinput Middle Emulation Enabled Default (291):    0
libinput Accel Speed (292): -0.683453
libinput Accel Speed Default (293): 0.000000
libinput Accel Profiles Available (294):    1, 1
libinput Accel Profile Enabled (295):   1, 0
libinput Accel Profile Enabled Default (296):   1, 0
libinput Left Handed Enabled (297): 0
libinput Left Handed Enabled Default (298): 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/event8"
Device Product ID (270):    2, 10
libinput Drag Lock Buttons (283):   <no items>
libinput Horizontal Scroll Enabled (284):   1
thinkpad trackpoint libinput 18.04
  • 1 个回答
  • 2790 Views
Martin Hope
veo
Asked: 2018-01-27 04:27:12 +0800 CST

如何反转跟踪点方向?

  • 1

我想问以下问题。我在 Thinkpad X1C 5th gen 上安装了 Ubuntu 17.10.1。放置内核选项“psmouse.proto=bare”后,Trackpoint 工作。但是,我不能改变滚动方向。现在,向上推动跟踪点(朝向显示屏)向下滚动一个窗口,向下推动跟踪点(朝向触控板)向上滚动一个窗口。我怎样才能扭转这种滚动?

我创建了具有以下内容的文件 /usr/share/X11/xorg.conf.d/90-evdev.conf:


“InputClass”
标识符 “Touchpad/TrackPoint”
MatchProduct “PS/2 Generic Mouse”
MatchDriver “evdev”
选项 “EmulateWheel” “1”
选项 “EmulateWheelButton” “2”
选项 “Emulate3Buttons” “0”
选项 “XAxisMapping” “7 6 "
选项 "YAcisMapping" "5 4"
EndSection


然后,我将 XAxisMapping 更改为“6 7”。但是,即使在注销/登录之后,滚动也没有任何变化。我应该怎么做?先感谢您。

lenovo xorg 17.10 scrolling trackpoint
  • 1 个回答
  • 1325 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助
subwaysurfers
my femboy roommate

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve