[Wayland-bugs] [Bug 106498] X1 Yoga (Gen 3) touchpad not suspended in tablet mode

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun May 13 04:44:03 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106498

            Bug ID: 106498
           Summary: X1 Yoga (Gen 3) touchpad not suspended in tablet mode
           Product: Wayland
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libinput
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: z at zxmth.us

Created attachment 139538
  --> https://bugs.freedesktop.org/attachment.cgi?id=139538&action=edit
libinput record

Hardware: Lenovo Thinkpad X1 Yoga (Gen 3)
libinput version 1.10.5 (packaged with Fedora 28)


When entering tablet mode, the touchpad is not suspended/disabled and touch and
click are still registered.

Tablet mode is entered by folding the screen back and around. The touchpad and
clicks to the touchpad are not disabled. The pointer continues to move and also
register clicks. The keyboard and trackpoint stick and associated buttons are
disabled so it is only the touchpad that is not properly disabled.

output of 'libinput debug-events --verbose' shows the device entering tablet
mode and announcing "event8  - tablet-mode: suspending touchpad", however you
can also see a few gestures recorded soon after that message and before I fold
the screen back to disable tablet mode.

--- libinput debug-events --verbose ---
event2  - Power Button: is tagged by udev as: Keyboard
event2  - Power Button: device is a keyboard
event7  - Video Bus: is tagged by udev as: Keyboard
event7  - Video Bus: device is a keyboard
event1  - Lid Switch: is tagged by udev as: Switch
event1  - Lid Switch: device is a switch device
event0  - Sleep Button: is tagged by udev as: Keyboard
event0  - Sleep Button: device is a keyboard
event5  - Wacom Pen and multitouch sensor Finger: is tagged by udev as:
Touchscreen
event5  - Wacom Pen and multitouch sensor Finger: device is a touch device
event6  - Wacom Pen and multitouch sensor Pen: is tagged by udev as: Tablet
event6  - Wacom Pen and multitouch sensor Pen: tablet 'Wacom Pen and multitouch
sensor Pen' unknown to libwacom
event6  - Wacom Pen and multitouch sensor Pen: device is a tablet
event4  - Integrated Camera: Integrated C: is tagged by udev as: Keyboard
event4  - Integrated Camera: Integrated C: device is a keyboard
event10 - HDA Intel PCH Mic: is tagged by udev as: Switch
event11 - HDA Intel PCH Headphone: is tagged by udev as: Switch
event12 - HDA Intel PCH HDMI/DP,pcm=3: is tagged by udev as: Switch
event13 - HDA Intel PCH HDMI/DP,pcm=7: is tagged by udev as: Switch
event14 - HDA Intel PCH HDMI/DP,pcm=8: is tagged by udev as: Switch
event15 - HDA Intel PCH HDMI/DP,pcm=9: is tagged by udev as: Switch
event16 - HDA Intel PCH HDMI/DP,pcm=10: is tagged by udev as: Switch
event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
event3  - AT Translated Set 2 keyboard: device is a keyboard
event1  - lid: keyboard paired with Lid Switch<->AT Translated Set 2 keyboard
event9  - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch
event9  - ThinkPad Extra Buttons: device is a keyboard
event9  - ThinkPad Extra Buttons: device is a switch device
event3  - tablet_mode_switch: activated for AT Translated Set 2
keyboard<->ThinkPad Extra Buttons
event8  - Synaptics TM3293-011: is tagged by udev as: Touchpad
event8  - using pressure-based touch detection (25:30)
event8  - palm: pressure threshold is 130
event8  - thumb: enabled thumb detection (+pressure)
event8  - Synaptics TM3293-011: device is a touchpad
event8  - lid_switch: activated for Synaptics TM3293-011<->Lid Switch
event8  - palm: dwt activated with Synaptics TM3293-011<->AT Translated Set 2
keyboard
event8  - tablet_mode_switch: activated for Synaptics TM3293-011<->ThinkPad
Extra Buttons
event17 - TPPS/2 Elan TrackPoint: is tagged by udev as: Mouse Pointingstick
event17 - TPPS/2 Elan TrackPoint: trackpoint does not have a specified range,
guessing... see
https://wayland.freedesktop.org/libinput/doc/1.10.5/trackpoints.html
event17 - TPPS/2 Elan TrackPoint: trackpoint device set to range 20
event17 - TPPS/2 Elan TrackPoint: device is a pointer
event17 - tablet_mode_switch: activated for TPPS/2 Elan TrackPoint<->ThinkPad
Extra Buttons
-event2   DEVICE_ADDED     Power Button                      seat0 default
group1  cap:k
-event7   DEVICE_ADDED     Video Bus                         seat0 default
group2  cap:k
-event1   DEVICE_ADDED     Lid Switch                        seat0 default
group3  cap:S
-event0   DEVICE_ADDED     Sleep Button                      seat0 default
group4  cap:k
-event5   DEVICE_ADDED     Wacom Pen and multitouch sensor Finger seat0 default
group5  cap:t  size 309x174mm calib
-event6   DEVICE_ADDED     Wacom Pen and multitouch sensor Pen seat0 default
group5  cap:T  size 309x174mm calib
-event4   DEVICE_ADDED     Integrated Camera: Integrated C   seat0 default
group6  cap:k
-event10  DEVICE_ADDED     HDA Intel PCH Mic                 seat0 default
group7  cap:
-event11  DEVICE_ADDED     HDA Intel PCH Headphone           seat0 default
group7  cap:
-event12  DEVICE_ADDED     HDA Intel PCH HDMI/DP,pcm=3       seat0 default
group7  cap:
-event13  DEVICE_ADDED     HDA Intel PCH HDMI/DP,pcm=7       seat0 default
group7  cap:
-event14  DEVICE_ADDED     HDA Intel PCH HDMI/DP,pcm=8       seat0 default
group7  cap:
-event15  DEVICE_ADDED     HDA Intel PCH HDMI/DP,pcm=9       seat0 default
group7  cap:
-event16  DEVICE_ADDED     HDA Intel PCH HDMI/DP,pcm=10      seat0 default
group7  cap:
-event3   DEVICE_ADDED     AT Translated Set 2 keyboard      seat0 default
group8  cap:k
-event9   DEVICE_ADDED     ThinkPad Extra Buttons            seat0 default
group9  cap:kS
-event8   DEVICE_ADDED     Synaptics TM3293-011              seat0 default
group10 cap:pg  size 97x60mm tap(dl off) left scroll-nat scroll-2fg-edge
click-buttonareas-clickfinger dwt-on
-event17  DEVICE_ADDED     TPPS/2 Elan TrackPoint            seat0 default
group11 cap:p left scroll-nat scroll-button
event17 - tablet-mode: suspending device
event8  - tablet-mode: suspending touchpad
event3  - tablet-mode: suspending device
-event9   SWITCH_TOGGLE     +4.56s      switch tablet-mode state 1
event8  - pressure: begin touch
event8  - thumb state: THUMB_STATE_MAYBE → THUMB_STATE_NO
event8  - button state: from BUTTON_STATE_NONE, event BUTTON_EVENT_IN_AREA to
BUTTON_STATE_AREA
-event8   POINTER_MOTION    +6.51s       -3.22/ -1.29
 event8   POINTER_MOTION    +6.52s      -10.93/ -3.64
 event8   POINTER_MOTION    +6.53s      -14.57/ -5.10
 event8   POINTER_MOTION    +6.53s      -19.67/ -6.56
 event8   POINTER_MOTION    +6.54s      -18.21/ -5.83
 event8   POINTER_MOTION    +6.55s      -16.75/ -5.10
 event8   POINTER_MOTION    +6.56s      -16.02/ -4.37
 event8   POINTER_MOTION    +6.56s      -13.11/ -3.64
 event8   POINTER_MOTION    +6.57s      -12.38/ -2.91
 event8   POINTER_MOTION    +6.58s      -11.65/ -2.19
 event8   POINTER_MOTION    +6.59s       -8.74/ -1.46
 event8   POINTER_MOTION    +6.59s       -6.56/ -0.73
 event8   POINTER_MOTION    +6.60s       -4.37/  0.00
 event8   POINTER_MOTION    +6.61s       -3.64/  0.00
 event8   POINTER_MOTION    +6.62s       -2.19/  0.00
 event8   POINTER_MOTION    +6.63s       -1.46/  0.00
 event8   POINTER_MOTION    +6.63s       -0.73/  0.00
 event8   POINTER_MOTION    +6.67s        0.66/  0.00
 event8   POINTER_MOTION    +6.68s        1.32/  0.00
 event8   POINTER_MOTION    +6.69s        2.91/ -0.73
 event8   POINTER_MOTION    +6.70s        3.64/ -0.73
 event8   POINTER_MOTION    +6.70s        5.10/ -1.46
 event8   POINTER_MOTION    +6.71s        6.56/ -2.91
 event8   POINTER_MOTION    +6.72s       12.38/ -3.64
 event8   POINTER_MOTION    +6.73s       15.30/ -4.37
 event8   POINTER_MOTION    +6.73s       16.02/ -3.64
 event8   POINTER_MOTION    +6.74s       18.94/ -2.91
 event8   POINTER_MOTION    +6.75s       20.39/ -1.46
 event8   POINTER_MOTION    +6.76s       24.04/  0.73
 event8   POINTER_MOTION    +6.76s       21.85/  0.73
 event8   POINTER_MOTION    +6.77s       22.58/  1.46
 event8   POINTER_MOTION    +6.78s       23.31/  2.19
 event8   POINTER_MOTION    +6.79s       16.02/  2.19
 event8   POINTER_MOTION    +6.80s       14.57/  2.19
 event8   POINTER_MOTION    +6.80s       15.30/  1.46
 event8   POINTER_MOTION    +6.81s       14.57/  1.46
 event8   POINTER_MOTION    +6.82s       12.38/  0.73
 event8   POINTER_MOTION    +6.83s       10.20/  0.00
 event8   POINTER_MOTION    +6.83s       10.93/ -0.73
event8  - button state: from BUTTON_STATE_AREA, event BUTTON_EVENT_UP to
BUTTON_STATE_NONE
event17 - tablet-mode: resuming device
event8  - tablet-mode: resume touchpad
event1  - lid: keyboard paired with Lid Switch<->AT Translated Set 2 keyboard
event8  - palm: dwt activated with Synaptics TM3293-011<->AT Translated Set 2
keyboard
event3  - tablet-mode: resuming device
-event9   SWITCH_TOGGLE     +9.36s      switch tablet-mode state 0
-event3   KEYBOARD_KEY     +10.94s      *** (-1) pressed
 event3   KEYBOARD_KEY     +11.15s      *** (-1) pressed

event2  - Power Button: device removed
event7  - Video Bus: device removed
event1  - Lid Switch: device removed
event0  - Sleep Button: device removed
event5  - Wacom Pen and multitouch sensor Finger: device removed
event6  - Wacom Pen and multitouch sensor Pen: device removed
event4  - Integrated Camera: Integrated C: device removed
event10 - HDA Intel PCH Mic: device removed
event11 - HDA Intel PCH Headphone: device removed
event12 - HDA Intel PCH HDMI/DP,pcm=3: device removed
event13 - HDA Intel PCH HDMI/DP,pcm=7: device removed
event14 - HDA Intel PCH HDMI/DP,pcm=8: device removed
event15 - HDA Intel PCH HDMI/DP,pcm=9: device removed
event16 - HDA Intel PCH HDMI/DP,pcm=10: device removed
event3  - AT Translated Set 2 keyboard: device removed
event9  - ThinkPad Extra Buttons: device removed
event8  - Synaptics TM3293-011: device removed
event17 - TPPS/2 Elan TrackPoint: device removed
--- end ---

--- udevadm info ---
P: /devices/rmi4-00/input/input20/event8
N: input/event8
E: DEVNAME=/dev/input/event8
E: DEVPATH=/devices/rmi4-00/input/input20/event8
E: ID_BUS=rmi
E: ID_INPUT=1
E: ID_INPUT_HEIGHT_MM=59
E: ID_INPUT_TOUCHPAD=1
E: ID_INPUT_TOUCHPAD_INTEGRATION=internal
E: ID_INPUT_WIDTH_MM=96
E: ID_SERIAL=noserial
E: LIBINPUT_DEVICE_GROUP=1d/6cb/0:rmi4-00
E: MAJOR=13
E: MINOR=72
E: SUBSYSTEM=input
E: USEC_INITIALIZED=7032368

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20180513/0360c797/attachment-0001.html>


More information about the wayland-bugs mailing list