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 / 问题

问题[touchscreen](ubuntu)

Martin Hope
Ruud Helderman
Asked: 2020-12-22 05:06:05 +0800 CST

eTurboTouch 不适用于 Xubuntu Focal Fossa

  • 0

我在旧的 Medion Akoya P4001 D 上安装了 Xubuntu 20.04.1 LTS(可能可以追溯到 2010 年)。一切正常,除了触摸屏;系统没有响应我将手指放在屏幕上。我确定没有硬件问题;我已经看到触摸屏在原始操作系统(我不得不放弃的自定义 Linux 发行版)以及我使用的旧 Ubuntu 版本(16.04 或 18.04,我不记得)上运行良好。

我尝试了一些终端命令来挖掘一些信息。

$ lsusb | grep -i touch
Bus 003 Device 002: ID 22b9:0008 eTurboTouch Technology, Inc. eTurboTouch

我在制造商的网站上搜索了驱动程序支持。似乎完全过时了(Ubuntu 9.04,内核 2.6);不想烧我的手。
http://www.eturbotouch.com/english/s_download_center.asp

没关系,我已经看到它可以在旧的 Ubuntu 发行版上运行,开箱即用。它应该在没有专有驱动程序的情况下工作。

$ sudo lsinput | grep -i touch -A4 -B5
/dev/input/event5
   bustype : BUS_USB
   vendor  : 0x22b9
   product : 0x8
   version : 257
   name    : "eTurboTouch eTurboTouch"
   phys    : "usb-0000:00:04.0.6/input0"
   uniq    : ""
   bits ev : (null) (null) (null) (null)

现在我们知道了设备,让我们轮询它。

$ sudo cat /dev/input/event5

每当我按下屏幕时,我都会看到二进制数据填满屏幕。所以它确实有效。(好的,用 Ctrl-C
打破正在进行的......)cat

$ sudo xinput list

我看到一个包含其他指针和键盘设备的简短列表,但没有触摸屏!

$ lsmod | grep -i 'hid\|touch\|dwav'
mac_hid                16384  0
hid_generic            16384  0
usbhid                 57344  0
hid                   131072  2  usbhid,hid_generic

我在很多地方读到了你需要 module hid-multitouch。该模块已安装(modinfo hid_multitouch提供信息),但显然udev不需要加载它。

我非常绝望地强制加载模块。hid-multitouch我在 file 的底部添加了一行/etc/modules。我创建了一个新文件/etc/rc.local(它还不存在),使其可执行,并放入这些行(如此 处和 此处所建议的那样):

#!/bin/sh -e
echo 3 22b9 0008 1 > /sys/module/hid_multitouch/drivers/hid\:hid-multitouch/new_id

(上面一行中的MT_CLASS1)是一个疯狂的猜测。我还尝试了 3(因为这似乎与此处提到的“类”相匹配)和 259(因为我 在这里读到的评论“eGalax Touchkit 包括 eTurboTouch CT-410/510/700” )。

重启后,hid-multitouch确实加载了模块,但触摸屏仍然死机。

我检查了 and 的输出dmesg,journalctl -b但在那里找不到任何可疑和与触摸相关的内容。

我应该怎么做才能让我的触摸屏在 Xubuntu Focal Fossa 上用作指针设备?

touchscreen
  • 1 个回答
  • 568 Views
Martin Hope
Tzahi Serruya
Asked: 2020-11-12 15:19:35 +0800 CST

如何在多显示器设置中映射外部触摸屏以忽略笔记本电脑?

  • 1

Kubuntu 20.04 扩展显示。笔记本电脑屏幕没有触摸。外屏是触摸屏。当触摸外部屏幕的中心时,鼠标指向两个屏幕之间的边界。它的计算方式好像触摸屏的宽度是两个屏幕的宽度。

如何使触摸屏仅适合外部屏幕?此外,它是一个便携式屏幕。所以我想在断开连接之间进行永久更改。

sza@sza-Lenovo-ThinkBook-15-IIL:~$ xinput
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Logitech M705                             id=12   [slave  pointer  (2)]
⎜   ↳ Logitech K750                             id=13   [slave  pointer  (2)]
⎜   ↳ G2Touch Multi-Touch by G2TSP              id=9    [slave  pointer  (2)]
⎜   ↳ Elan Touchpad                             id=14   [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)]
    ↳ Integrated Camera: Integrated C           id=11   [slave  keyboard (3)]
    ↳ Ideapad extra buttons                     id=15   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=16   [slave  keyboard (3)]
    ↳ Logitech K750                             id=17   [slave  keyboard (3)]

sza@sza-Lenovo-ThinkBook-15-IIL:~$ xinput list-props 9
Device 'G2Touch Multi-Touch by G2TSP':
        Device Enabled (172):   1
        Coordinate Transformation Matrix (174): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Calibration Matrix (312):      1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Calibration Matrix Default (313):      1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Send Events Modes Available (295):     1, 0
        libinput Send Events Mode Enabled (296):        0, 0
        libinput Send Events Mode Enabled Default (297):        0, 0
        Device Node (298):      "/dev/input/event4"
        Device Product ID (299):        10900, 22093

sza@sza-Lenovo-ThinkBook-15-IIL:~$ xrandr
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080     60.06*+  60.01    59.97    59.96    59.93  
   ...
DP-1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 344mm x 195mm
   1920x1080     60.00*+  50.00    59.94    30.00    29.97  
   ...
HDMI-1 disconnected (normal left inverted right x axis y axis)
multiple-monitors kubuntu touchscreen
  • 2 个回答
  • 909 Views
Martin Hope
Peeyush Kushwaha
Asked: 2020-10-22 05:27:15 +0800 CST

使用命令行启用/禁用屏幕键盘

  • 6

目前,我可以导航到“辅助功能设置”并使用设置 GUI 打开或关闭屏幕键盘。

如何通过命令行执行此操作?以便它可以成为脚本的一部分。一个类似的问题有依赖第三方代码的答案。

但是,必须有一种本地方式来切换此设置吗?(因为它是linux)。

什么是原生方式?dconf可以自定义其他设置,这个也可以吗?

gnome touchscreen dconf
  • 1 个回答
  • 5450 Views
Martin Hope
Peter
Asked: 2020-09-15 05:23:40 +0800 CST

“坐标变换矩阵”和“libinput 校准矩阵”——它们有什么关系?

  • 2

“libinput Calibration Matrix”的确切格式是什么(即它的每个元素代表什么)以及它与“坐标变换矩阵”有什么关系?如果“坐标变换矩阵”负责将触摸屏点映射到显示点,为什么还不够,为什么还需要“libinput 校准矩阵”?每个矩阵负责校准过程的哪一部分?

我还没有找到一个参考站点来解释“libinput Calibration Matrix”代表什么元素(与“坐标变换矩阵”相反)。我设法找到的是相关系数的以下“定义”:

a = (screen_x * 6 / 8) / (c3_x - c0_x)
c = ((screen_x / 8) - (a * c0_x)) / screen_x
e = (screen_y * 6 / 8) / (c3_y - c0_y)
f = ((screen_y / 8) - (e * c0_y)) / screen_y

没有任何解释它们是如何派生的/它们应该代表什么。总结一下:“libinput校准矩阵”的“官方”定义是什么,它与“坐标变换矩阵”有什么不同?

xorg touchscreen xinput libinput
  • 1 个回答
  • 3417 Views
Martin Hope
Edwin Fellows
Asked: 2020-05-22 10:41:50 +0800 CST

我必须使用什么“坐标变换矩阵”才能让我的触摸屏正常工作?

  • 2

有人可以帮助我吗,我在这里拉头发。我已经尝试了好几天来解决这个问题。

Ubuntu 18.04.4 显示设置:右触摸框:IRTOUCH 系统

如果我在终端中使用以下命令尝试校准我的触摸,我会得到以下结果

xinput set-prop "USB Touchscreen 6615:0001"  --type=float "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1

我的左/右是正确的,但我的上/下是不正确的

如果我使用

xinput set-prop "USB Touchscreen 6615:0001"  --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1

我的左/右不正确,但我的上/下是正确的

我试图弄清楚使用什么组合来正确配置我的触摸。我尝试安装从制造商处下载的驱动程序,但也无法正常工作。有谁知道我必须使用什么“坐标变换矩阵”来让我的左/右和上/下正常工作。

touchscreen xinput
  • 2 个回答
  • 5040 Views
Martin Hope
Hugal31
Asked: 2020-01-07 08:53:42 +0800 CST

Wacom 触摸屏产生鼠标事件

  • 0

我有一台戴尔 Latitude 7200 2 合 1 可转换笔记本电脑,上面装有 Ubuntu 16.04。触摸屏被正确识别,我可以用它来移动窗口并在终端模拟器中选择文本。

然而,在 Qt 应用程序中,触摸行为真的很奇怪:单击工作正常,但拖放工作就像我单击两次一样,一次在开头,一次在结尾。

经过一些调查,并与外部工作触摸屏(与 evdev 一起工作)进行比较后,我发现集成的触摸屏通过运行产生常规的“鼠标事件”(ButtonPress、Motion 和 ButtonRelease)而不是触摸事件(TouchBegin、TouchUpdate 和 TouchEnd) xinput test-xi2.

我能做些什么 ?

xinput 集成触摸屏设置:

Device 'Wacom HID 48CC Finger touch':
        Device Enabled (140):   1
        Coordinate Transformation Matrix (142): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        Device Accel Profile (266):     0
        Device Accel Constant Deceleration (267):       1.000000
        Device Accel Adaptive Deceleration (268):       1.000000
        Device Accel Velocity Scaling (269):    10.000000
        Device Node (262):      "/dev/input/event13"
        Wacom Tablet Area (312):        0, 0, 10368, 6912
        Wacom Rotation (313):   0
        Wacom Pressurecurve (314):      0, 0, 100, 100
        Wacom Serial IDs (315): 18636, 1, 3, 0, 0
        Wacom Serial ID binding (316):  0
        Wacom Pressure Threshold (317): 0
        Wacom Sample and Suppress (318):        2, 4
        Wacom Enable Touch (319):       1
        Wacom Enable Touch Gesture (321):       1
        Wacom Touch Gesture Parameters (322):   455, 202, 250
        Wacom Tool Type (323):  "TOUCH" (330)
        Wacom Button Actions (324):     "Wacom button action 0" (325), "Wacom button action 1" (326), "Wacom button action 2" (327)
        Wacom button action 0 (325):    1572865
        Wacom button action 1 (326):    1572866
        Wacom button action 2 (327):    1572867
        Device Product ID (261):        1386, 18636
        Wacom Debug Levels (329):       0, 0

外部触摸屏,用于比较:

Device 'Weida Hi-Tech                CoolTouchR System           ':
        Device Enabled (140):   1
        Coordinate Transformation Matrix (142): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        Device Accel Profile (266):     0
        Device Accel Constant Deceleration (267):       1.000000
        Device Accel Adaptive Deceleration (268):       1.000000
        Device Accel Velocity Scaling (269):    10.000000
        Device Product ID (261):        9589, 266
        Device Node (262):      "/dev/input/event20"
        Evdev Axis Inversion (661):     0, 0
        Evdev Axis Calibration (662):   <no items>
        Evdev Axes Swap (663):  0
        Axis Labels (664):      "Abs MT Position X" (580), "Abs MT Position Y" (581), "None" (0), "None" (0)
        Button Labels (665):    "Button Unknown" (660), "Button Unknown" (660), "Button Unknown" (660), "Button Wheel Up" (146), "Button Wheel Down" (147)
        Evdev Scrolling Distance (666): 0, 0, 0
        Evdev Middle Button Emulation (667):    0
        Evdev Middle Button Timeout (668):      50
        Evdev Middle Button Button (669):       2
        Evdev Third Button Emulation (670):     0
        Evdev Third Button Emulation Timeout (671):     1000
        Evdev Third Button Emulation Button (672):      3
        Evdev Third Button Emulation Threshold (673):   20
        Evdev Wheel Emulation (674):    0
        Evdev Wheel Emulation Axes (675):       0, 0, 4, 5
        Evdev Wheel Emulation Inertia (676):    10
        Evdev Wheel Emulation Timeout (677):    200
        Evdev Wheel Emulation Button (678):     4
        Evdev Drag Lock Buttons (679):  0

集成触摸屏xinput test-xi2事件示例:

EVENT type 15 (RawButtonPress)
    device: 14 (14)
    detail: 1
    flags:
    valuators:
          0: 5688.00 (5688.00)
          1: 550.00 (550.00)
          2: 0.00 (0.00)
          3: 0.00 (0.00)
          4: 0.00 (0.00)
          5: 0.00 (0.00)

EVENT type 4 (ButtonPress)
    device: 14 (14)
    detail: 1
    flags:
    root: 1053.23/101.84
    event: 98.23/49.84
    buttons:
    modifiers: locked 0 latched 0 base 0 effective: 0
    group: locked 0 latched 0 base 0 effective: 0
    valuators:
        0: 5688.00
        1: 550.00
        2: 0.00
        3: 0.00
        4: 0.00
        5: 0.00
    windows: root 0x194 event 0x3c00001 child 0x0
EVENT type 17 (RawMotion)
    device: 14 (14)
    detail: 0
    flags:
    valuators:
          0: 5665.00 (5665.00)
          1: 762.00 (762.00)
          2: 0.00 (0.00)
          3: 0.00 (0.00)
          4: 0.00 (0.00)
          5: 0.00 (0.00)

EVENT type 6 (Motion)
    device: 14 (14)
    detail: 0
    flags:
    root: 1048.97/140.09
    event: 93.97/88.09
    buttons: 1
    modifiers: locked 0 latched 0 base 0 effective: 0
    group: locked 0 latched 0 base 0 effective: 0
    valuators:
        0: 5665.00
        1: 762.00
        2: 0.00
        3: 0.00
        4: 0.00
        5: 0.00
    windows: root 0x194 event 0x3c00001 child 0x3c00002
EVENT type 16 (RawButtonRelease)
    device: 14 (14)
    detail: 1
    flags:
    valuators:

EVENT type 5 (ButtonRelease)
    device: 14 (14)
    detail: 1
    flags:
    root: 1048.97/141.09
    event: 93.97/89.09
    buttons: 1
    modifiers: locked 0 latched 0 base 0 effective: 0
    group: locked 0 latched 0 base 0 effective: 0
    valuators:
    windows: root 0x194 event 0x3c00001 child 0x3c00002

工作外部触摸屏事件示例,用于比较:

EVENT type 22 (RawTouchBegin)
    device: 20 (20)
    detail: 121
    valuators:
          0: 20730.00 (20730.00)
          1: 5477.00 (5477.00)

EVENT type 6 (Motion)
    device: 20 (20)
    detail: 0
    flags: emulated
    root: 1237.65/67.95
    event: 1172.65/43.95
    buttons:
    modifiers: locked 0 latched 0 base 0 effective: 0
    group: locked 0 latched 0 base 0 effective: 0
    valuators:
        0: 20730.00
        1: 5477.00
    windows: root 0x194 event 0x3c00001 child 0x0
EVENT type 18 (TouchBegin)
    device: 20 (20)
    detail: 121
    flags: emulating
    root: 1214.65/213.95
    event: 1149.65/189.95
    buttons:
    modifiers: locked 0 latched 0 base 0 effective: 0
    group: locked 0 latched 0 base 0 effective: 0
    valuators:
        0: 20730.00
        1: 5477.00
    windows: root 0x194 event 0x3c00001 child 0x3c00001
EVENT type 23 (RawTouchUpdate)
device: 20 (20)
detail: 119
valuators:
0: 12568.00 (12568.00)
1: 11399.00 (0.00)

EVENT type 19 (TouchUpdate)
device: 20 (20)
detail: 119
flags: emulating
root: 736.41/445.27
event: 671.41/421.27
buttons:
modifiers: locked 0 latched 0 base 0 effective: 0
group: locked 0 latched 0 base 0 effective: 0
valuators:
0: 12568.00
1: 11399.00
windows: root 0x194 event 0x3c00001 child 0x3c00001
EVENT type 24 (RawTouchEnd)
device: 20 (20)
detail: 119
valuators:
0: 12568.00 (0.00)
1: 11399.00 (0.00)

EVENT type 20 (TouchEnd)
device: 20 (20)
detail: 119
flags: emulating
root: 736.41/445.27
event: 671.41/421.27
buttons:
modifiers: locked 0 latched 0 base 0 effective: 0
group: locked 0 latched 0 base 0 effective: 0
valuators:
0: 12568.00
1: 11399.00
    windows: root 0x194 event 0x3c00001 child 0x3c00001

wacom touchscreen
  • 1 个回答
  • 220 Views
Martin Hope
Syranolic
Asked: 2019-12-19 02:00:05 +0800 CST

如何将校准参数应用于 Elo 串行触摸屏?

  • 1

在 Xubuntu 18.04 中,我尝试将校准参数应用于触摸屏但没有成功。这是我到目前为止...

我可以手动连接设备并执行如下校准:

$ sudo /usr/bin/inputattach --daemon --always -elo /dev/ttyS2
$ xinput set-int-prop "Elo Serial TouchScreen" "Evdev Axis Calibration" 32 0 4095 0 4095
$ xinput_calibrator --output-type xinput
$ xinput set-int-prop "Elo Serial TouchScreen" "Evdev Axis Calibration" 32 -97 4087 -48 4108

但是我设置的新参数没有效果,即使xinput列出了更新的值。我找到的所有信息都相当陈旧。有人建议evdev应该使用它来代替libinput(稍后会详细介绍),但它无法安装。

这是我在图形服务器配置中自动附加输入和处理校准的操作:

$ cat /etc/udev/rules.d/99-elographics.rules
ACTION=="add|change", SUBSYSTEM=="tty|pnp", KERNEL=="ttyS2", TAG+="systemd", ENV{SYSTEMD_WANTS}+="elo-inputattach@%k.service"

$ cat /etc/systemd/system/elo-inputattach@.service
[Unit]
Description=inputattach for elo serial devices

[Service]
Type=simple
ExecStart=/usr/bin/inputattach -elo /dev/%I

$ cat /usr/share/X11/xorg.conf.d/99-calibration.conf
Section "InputClass"
        Identifier      "calibration"
        MatchProduct    "Elo Serial TouchScreen"
        Option  "MinX"  "-1587"
        Option  "MaxX"  "66954"
        Option  "MinY"  "-690"
        Option  "MaxY"  "67633"
        Option  "SwapXY"        "0" # unless it was already set to 1
        Option  "InvertX"       "0"  # unless it was already set
        Option  "InvertY"       "0"  # unless it was already set
EndSection

在 99-calibration.conf 我尝试了各种选项,例如

Option  "Calibration"  "-97 4087 -48 4108"

我还尝试evdev在该部分中将驱动程序设置为,但它恢复为libinput.

以下是 /var/log/Xorg.0.log 的摘录:

[  1446.102] (II) config/udev: Adding input device Elo Serial TouchScreen (/dev/input/event15)
[  1446.102] (**) Elo Serial TouchScreen: Applying InputClass "libinput touchscreen catchall"
[  1446.102] (**) Elo Serial TouchScreen: Applying InputClass "calibration"
[  1446.102] (II) Using input driver 'libinput' for 'Elo Serial TouchScreen'
[  1446.102] (**) Elo Serial TouchScreen: always reports core events
[  1446.102] (**) Option "Device" "/dev/input/event15"
[  1446.102] (**) Option "_source" "server/udev"
[  1446.103] (II) event15 - Elo Serial TouchScreen: is tagged by udev as: Touchscreen
[  1446.103] (II) event15 - Elo Serial TouchScreen: device is a touch device
[  1446.103] (II) event15 - Elo Serial TouchScreen: device removed
[  1446.135] (**) Option "config_info" "udev:/sys/devices/pnp0/00:08/tty/ttyS2/serio1/input/input7/event15"
[  1446.135] (II) XINPUT: Adding extended input device "Elo Serial TouchScreen" (type: TOUCHSCREEN, id 13)
[  1446.135] (**) Option "AccelerationScheme" "none"
[  1446.135] (**) Elo Serial TouchScreen: (accel) selected scheme none/0
[  1446.135] (**) Elo Serial TouchScreen: (accel) acceleration factor: 2.000
[  1446.135] (**) Elo Serial TouchScreen: (accel) acceleration threshold: 4
[  1446.136] (II) event15 - Elo Serial TouchScreen: is tagged by udev as: Touchscreen
[  1446.136] (II) event15 - Elo Serial TouchScreen: device is a touch device
[  1446.137] (II) config/udev: Adding input device Elo Serial TouchScreen (/dev/input/mouse1)
[  1446.137] (**) Elo Serial TouchScreen: Applying InputClass "calibration"
[  1446.137] (II) No input driver specified, ignoring this device.
[  1446.137] (II) This device may have been added with another device file.
xubuntu touchscreen
  • 1 个回答
  • 1593 Views
Martin Hope
Chris Keller
Asked: 2019-11-14 20:10:38 +0800 CST

Toughbook CF-19 上的 xinput_calibrator 出现问题

  • 0

使用 Xubuntu 19.10,我正在尝试校准 Toughbook CF-19 MK5 的触摸屏。我已经xinput_calibrator按照其他人的建议使用它完成并给了我一个片段以复制到 xorg.conf 文件中,但是有一个问题:

chris@helmhorn:~$ sudo xinput_calibrator -v
Calibrating standard Xorg driver "Fujitsu Component USB Touch Panel Pen (0)"
        current calibration values: min_x=0, max_x=16777215 and min_y=0, max_y=16777215
        If these values are estimated wrong, either supply it manually with the --precalib option, or run the 'get_precalib.sh' script to automatically get it (through HAL).
DEBUG: Name 'Fujitsu Component USB Touch Panel Pen (0)' does not match any in '/sys/class/input/event*/device/name'
        --> Making the calibration permanent <--
  copy the snippet below into '/etc/X11/xorg.conf.d/99-calibration.conf' (/usr/share/X11/xorg.conf.d/ in some distro's)
Section "InputClass"
        Identifier      "calibration"
        MatchProduct    "!!Name_Of_TouchScreen!!"
        Option  "MinX"  "1267029"
        Option  "MaxX"  "16165546"
        Option  "MinY"  "615310"
        Option  "MaxY"  "14567195"
        Option  "SwapXY"        "0" # unless it was already set to 1
        Option  "InvertX"       "0"  # unless it was already set
        Option  "InvertY"       "0"  # unless it was already set
EndSection

Change '!!Name_Of_TouchScreen!!' to your device's name in the config above.

未应用校准,将代码段/usr/share/X11/xorg.conf.d/99-calibration.conf与其他 xorg 文件放在一起并重新启动无效。我怀疑错误信息Name 'Fujitsu Component USB Touch Panel Pen (0)' does not match any in '/sys/class/input/event*/device/name'是关键,但通过谷歌找不到太多信息。

比较来自两个相关来源的设备名称:

chris@helmhorn:~$ cat /sys/class/input/event*/device/name | grep Fujitsu
Fujitsu Component USB Touch Panel
chris@helmhorn:~$ sudo xinput_calibrator --list
Device "Fujitsu Component USB Touch Panel Pen (0)" id=13

设备名称不完全匹配,将这些值中的任何一个放在 xorg.conf.d 文件中都没有效果。

编辑:我在谷歌上能找到的最好的信息是这个韩语网站,我必须和翻译一起阅读;基本上它建议使用不同的匹配器,如MatchUSBID "28bd: 000c".

这是迄今为止我发现的最清晰的信息:

chris@helmhorn:~$ sudo xinput --list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ PS/2 Generic Mouse                        id=11   [slave  pointer  (2)]
⎜   ↳ Fujitsu Component USB Touch Panel Pen (0) id=13   [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)]
    ↳ Fujitsu Component USB Touch Panel         id=9    [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=10   [slave  keyboard (3)]
    ↳ Panasonic Laptop Support                  id=12   [slave  keyboard (3)]
chris@helmhorn:~$ sudo xinput_calibrator --list
Device "Fujitsu Component USB Touch Panel Pen (0)" id=13

它仍然没有告诉我出了什么问题,但它将触摸面板和笔显示为单独的设备,并且校准器正在尝试使用笔。

编辑:我在同一硬件上发现了一个有非常相似问题的人最近发表的一篇博文。在 xorg.conf 不起作用后,他们决定创建一个xinput set-prop在登录时调用的脚本。我会看看他们的解决方案是否适合我。作为奖励,他们谈到了我也需要的屏幕键盘。

xorg touchscreen xinput
  • 1 个回答
  • 2161 Views
Martin Hope
Angular Orbit
Asked: 2019-09-26 02:30:11 +0800 CST

无法使用触摸屏拖动禁用标题栏的 Firefox 窗口

  • 0

当我启用标题栏时,我可以用我的触摸屏拖动一个 Firefox 窗口。但是当我禁用它时,我必须使用鼠标或触摸板。我可以正常拖动其他应用程序的窗口。

firefox touchscreen window
  • 1 个回答
  • 267 Views
Martin Hope
Wilfredo Velázquez-Rodríguez
Asked: 2019-08-29 17:26:11 +0800 CST

Ubuntu 可以在我的华硕 q406da br5t6 笔记本电脑上运行吗?(二合一)

  • 0

对于华硕 q406da br5t6(这似乎是与华硕 Zenbook 非常相似的硬件)。

我一直在尝试各种 Linux 发行版实时映像,看看他们对这台笔记本电脑有什么支持,包括 Ubuntu 18.04 和 19.04 我注意到的是不支持自动切换到平板电脑模式(实际上我看到不支持完全切换到平板电脑模式?)当拉回屏幕时,这将执行诸如禁用键盘和触摸板、旋转屏幕等操作。

我做错了什么和/或这只是实时图像中的限制的可能性有多大?我看到其他人说它“应该可以 ootb”,但有时他们没有考虑它的平板电脑部分,这也是我想使用这个模型的重要原因。

即使您没有确切的答案,我也很感激任何指示。感谢任何帮助!

tablet laptop touchscreen touchpad asus
  • 2 个回答
  • 570 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

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve