libinput и поддержка с сенсорным экраном

У меня действительно есть работа Ubuntu 16.04 Dell 13 5368 2 в 1 с сенсорным экраном, но это не работает.

xinput:

    ⎡ 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)]

опоры списка xinput:

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.conf.d/90-libinput.conf:

# 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

[     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 загруженный драйвер, но это не работает. Невозможно получить события от устройства. Какие-либо идеи?

2
задан 22 December 2016 в 19:42

1 ответ

Сначала проверьте, это cat /dev/input/event11 и касание экрана даст Вам некоторые данные по терминалу. В случае, если, делает, драйвер устройства и драйвер ядра работают правильно.

Другая вещь, проверьте, находится ли Ваш пользователь во "входной" группе. Для меня все кроме TS работало хорошо, даже без моего пользователя, находящегося во входной группе.

0
ответ дан 2 December 2019 в 09:36

Другие вопросы по тегам:

Похожие вопросы: