首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >libinput和触摸屏支持

libinput和触摸屏支持
EN

Ask Ubuntu用户
提问于 2016-12-22 16:42:52
回答 1查看 3.4K关注 0票数 3

我确实有Ubuntu16.04运行在戴尔135368 2与触摸屏1,但它不工作。

X输入:

代码语言:javascript
复制
    ⎡ Virtual core pointer                      id=2    [master pointer  (3)]
    ⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
    ⎜   ↳ Logitech T400                             id=10   [slave  pointer  (2)]
    ⎜   ↳ DELL073B:00 06CB:7E7E Touchpad            id=11   [slave  pointer  (2)]
    ⎜   ↳ SynPS/2 Synaptics TouchPad                id=15   [slave  pointer  (2)]
    ⎜   ↳ Raydium Corporation Raydium Touch System  id=18   [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)]
        ↳ Sleep Button                              id=9    [slave  keyboard (3)]
        ↳ Intel Virtual Button driver               id=12   [slave  keyboard (3)]
        ↳ Intel HID events                          id=13   [slave  keyboard (3)]
        ↳ AT Translated Set 2 keyboard              id=14   [slave  keyboard (3)]
        ↳ Dell WMI hotkeys                          id=16   [slave  keyboard (3)]
        ↳ Logitech T400                             id=17   [slave  keyboard (3)]
        ↳ Integrated_Webcam_HD                      id=19   [slave  keyboard (3)]

输入列表-道具:

代码语言:javascript
复制
Device 'Raydium Corporation Raydium Touch System':
    Device Enabled (139):   1
    Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Calibration Matrix (315):  1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Calibration Matrix Default (316):  1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Send Events Modes Available (260): 1, 0
    libinput Send Events Mode Enabled (261):    0, 0
    libinput Send Events Mode Enabled Default (262):    0, 0
    Device Node (263):  "/dev/input/event11"
    Device Product ID (264):    9094, 12561
    libinput Horizonal Scroll Enabled (265):    0

/usr/share/x11/xorg.con.d/90-libinput.conf:

代码语言:javascript
复制
# Match on all types of devices but tablet devices and 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"
    Option "Tapping" "on"
EndSection

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

grep -e“使用输入驱动程序'libinput'”/var/log/Xorg.0.log

代码语言:javascript
复制
[     3.968] (II) Using input driver 'libinput' for 'Power Button'
[     4.000] (II) Using input driver 'libinput' for 'Video Bus'
[     4.013] (II) Using input driver 'libinput' for 'Power Button'
[     4.033] (II) Using input driver 'libinput' for 'Sleep Button'
[     4.045] (II) Using input driver 'libinput' for 'Logitech T400'
[     4.061] (II) Using input driver 'libinput' for 'DELL073B:00 06CB:7E7E Touchpad'
[     4.091] (II) Using input driver 'libinput' for 'Intel Virtual Button driver'
[     4.106] (II) Using input driver 'libinput' for 'Intel HID events'
[     4.124] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[     4.153] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[     4.178] (II) Using input driver 'libinput' for 'Dell WMI hotkeys'
[     4.194] (II) Using input driver 'libinput' for 'Logitech T400'
[     4.198] (II) Using input driver 'libinput' for 'Raydium Corporation Raydium Touch System'
[     4.344] (II) Using input driver 'libinput' for 'Integrated_Webcam_HD'

看来设备已启用,xinput驱动程序已加载,但无法工作。无法从设备上得到任何事件。有什么想法吗?

EN

回答 1

Ask Ubuntu用户

发布于 2018-05-18 13:31:10

首先验证一下,cat /dev/input/event11和触摸屏会给你一些终端上的数据。如果是的话,设备和内核驱动程序可以正常工作。

另外,检查您的用户是否在“输入”组中。对我来说,除了TS,一切都很好,即使没有我的用户在输入组。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/863563

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档