We found out that the touchscreen is disabled by libinput after suspend/resume:
Check the following properties (the touchscreen is id=10 for our DUT, see 
`xinput list`)

before suspend:
$ xinput list-props 10
Device 'CUST0000:00 0EEF:C003':
        [...snip...]
        libinput Send Events Mode Enabled (328):        0, 0

after suspend:
$ xinput list-props 10
Device 'CUST0000:00 0EEF:C003':
        [...snip...]
        libinput Send Events Mode Enabled (328):        1, 0

According to libinput documentation
https://wayland.freedesktop.org/libinput/doc/latest/configuration.html,
Send Events Mode is used to turn on/off the device input in libinput.

The touchscreen function can be re-enabled after suspend, by entering the 
following command:
  xinput set-prop 10 328 0 0

We are still unknown why the device is turned off after suspend.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/2087831

Title:
  touchscreen has no response after resume from suspend in Xorg session

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/2087831/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to