Touchscreen Does Not Work After Sleep/Resume

blackhaz

Member

Thanks: 12
Messages: 66

#1
Hi All,

Running FreeBSD 11.2-RELEASE-p2 on ThinkPad X1 Yoga.

rc.conf:
Code:
webcamd_enable="YES"
webcamd_0_flags="-N Chicony-Electronics-Co--Ltd--Integrated-Camera"
webcamd_1_flags="-N Wacom-Co--Ltd--Pen-and-multitouch-sensor"
xorg.conf:
Code:
Section "InputDevice"
        Identifier      "Touchscreen"
        Driver          "evdev"
        Option          "Device" "/dev/input/event0"
EndSection

Section "InputDevice"
        Identifier      "TouchscreenPen"
        Driver          "evdev"
        Option          "Device" "/dev/input/event1"
EndSection

Section "ServerLayout"
        Identifier      "MyLayout"
        InputDevice     "Touchscreen"
    InputDevice    "TouchscreenPen"
EndSection
Touchscreen is for finger events, TouchscreenPen is for pen events. Everything works great until I sleep and resume the laptop. After that, Xorg does not react on touchscreen events, although evemu-record shows both event0 and event1 as available, and also shows events when I touch screen. Does this look like a bug?
 
Top