Touchpad and trackpoint no longer working after reattaching convertible keyboard

I have Tumbleweed running on a lenovo thinkpad helix, which is a convertible with a detachable keyboard. The keyboard has both a trackpoint and a touchpad. Up to about a week ago the trackpoint and touchpad worked fine with detaching and reattaching the keyboard.

Now, upon booting both trackpoint and touchpad work, but after detaching and reattaching the keyboard neither trackpoint nor touchpad work any longer. They keyboard still works after reattaching.

Here is the output for ‘xinput list’


⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ ITE Tech. Inc. ITE Device(8595)             id=10    [slave  pointer  (2)]
⎜   ↳ ITE Tech. Inc. ITE Device(8595)             id=11    [slave  pointer  (2)]
⎜   ↳ Wacom HID 5014 Finger touch                 id=14    [slave  pointer  (2)]
⎜   ↳ Wacom HID 114 Pen stylus                    id=15    [slave  pointer  (2)]
⎜   ↳ Synaptics TM3075-002                        id=18    [slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                       id=19    [slave  pointer  (2)]
⎜   ↳ Wacom HID 114 Pen eraser                    id=22    [slave  pointer  (2)]
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
    ↳ Video Bus                                   id=6    [slave  keyboard (3)]
    ↳ Power Button                                id=7    [slave  keyboard (3)]
    ↳ Sleep Button                                id=8    [slave  keyboard (3)]
    ↳ Integrated Rear Camera                      id=9    [slave  keyboard (3)]
    ↳ Integrated Camera                           id=12    [slave  keyboard (3)]
    ↳ Intel Virtual Button driver                 id=13    [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard                id=16    [slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                      id=17    [slave  keyboard (3)]
    ↳ ITE Tech. Inc. ITE Device(8595)             id=20    [slave  keyboard (3)]
    ↳ ITE Tech. Inc. ITE Device(8595)             id=21    [slave  keyboard (3)]


Here is the dmesg output from detaching and reattaching the keyboard:


 4020.684279] usb 1-3: USB disconnect, device number 3
 4020.684541] usb 1-3.3: USB disconnect, device number 5
 4020.685522] usb 1-3.4: USB disconnect, device number 7
 4020.735644] ACPI: \_SB_.PCI0.LPC_.EC__.BAT1: undocking
 4020.808032] usb 2-3: USB disconnect, device number 2
 4020.892370] thinkpad_acpi: unhandled HKEY event 0x4013
 4020.892681] thinkpad_acpi: please report the conditions when this event happened to ibm-acpi-devel@lists.sourceforge.net
 4020.893320] intel-vbtn INT33D6:00: unknown event index 0xcb
 4020.893614] intel-vbtn INT33D6:00: unknown event index 0xcc
 4021.000032] proc_thermal 0000:00:04.0: Unsupported event [0x91]
 4021.000340] int3403 thermal INT3403:01: Unsupported event [0x91]
 4021.000611] int3403 thermal INT3403:02: Unsupported event [0x91]
 4021.000936] int3403 thermal INT3403:03: Unsupported event [0x91]
 4021.001224] int3403 thermal INT3403:00: Unsupported event [0x91]
 4021.285239] haswell-pcm-audio haswell-pcm-audio: FW loaded, mailbox readback FW info: type 01, - version: 00.00, build 77, source commit id: 876ac6906f31a43b6772b23c7c983ce9dcb18a19
 4021.325061] thinkpad_acpi: EC reports that Thermal Table has changed
 4031.127838] rmi4_physical rmi4-00: Failed to read irqs, code=-6
 4031.844523] usb 2-3: new SuperSpeed USB device number 3 using xhci_hcd
 4032.104006] usb 2-3: New USB device found, idVendor=2109, idProduct=8110
 4032.104367] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
 4032.104724] usb 2-3: Product: USB3.0 Hub             
 4032.104987] usb 2-3: Manufacturer: VIA Labs, Inc.         
 4032.107115] hub 2-3:1.0: USB hub found
 4032.107792] hub 2-3:1.0: 4 ports detected
 4032.220371] usb 1-3: new high-speed USB device number 8 using xhci_hcd
 4032.362900] usb 1-3: New USB device found, idVendor=2109, idProduct=2811
 4032.363264] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
 4032.363639] usb 1-3: Product: USB2.0 Hub             
 4032.363877] usb 1-3: Manufacturer: VIA Labs, Inc.         
 4032.365227] hub 1-3:1.0: USB hub found
 4032.365710] hub 1-3:1.0: 4 ports detected
 4032.493632] thinkpad_acpi: EC reports that Thermal Table has changed
 4032.496986] thinkpad_acpi: unhandled HKEY event 0x4012
 4032.497228] thinkpad_acpi: please report the conditions when this event happened to ibm-acpi-devel@lists.sourceforge.net
 4032.498336] intel-vbtn INT33D6:00: unknown event index 0xcd
 4032.498688] intel-vbtn INT33D6:00: unknown event index 0xca
 4032.604458] proc_thermal 0000:00:04.0: Unsupported event [0x91]
 4032.604819] int3403 thermal INT3403:01: Unsupported event [0x91]
 4032.605194] int3403 thermal INT3403:02: Unsupported event [0x91]
 4032.605569] int3403 thermal INT3403:03: Unsupported event [0x91]
 4032.605939] int3403 thermal INT3403:00: Unsupported event [0x91]
 4032.613692] haswell-pcm-audio haswell-pcm-audio: FW loaded, mailbox readback FW info: type 01, - version: 00.00, build 77, source commit id: 876ac6906f31a43b6772b23c7c983ce9dcb18a19
 4032.676382] usb 1-3.3: new high-speed USB device number 9 using xhci_hcd
 4032.796324] usb 1-3.3: New USB device found, idVendor=0bda, idProduct=4000
 4032.796697] usb 1-3.3: New USB device strings: Mfr=3, Product=1, SerialNumber=2
 4032.797065] usb 1-3.3: Product: USB Audio
 4032.797289] usb 1-3.3: Manufacturer: Generic
 4032.797549] usb 1-3.3: SerialNumber: 200901010001
 4033.561073] SFW2-INext-DROP-DEFLT IN=wlp6s0 OUT= MAC=78:92:9c:d4:b7:1e:60:d9:a0:3d:c7:3b:08:00 SRC=192.168.1.64 DST=224.0.0.251 LEN=89 TOS=0x00 PREC=0x00 TTL=255 ID=7501 DF PROTO=UDP SPT=5353 DPT=5353 LEN=69 
 4033.820434] usb 1-3.4: new full-speed USB device number 10 using xhci_hcd
 4033.942273] usb 1-3.4: New USB device found, idVendor=17ef, idProduct=6067
 4033.942625] usb 1-3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
 4033.942989] usb 1-3.4: Product: ITE Device(8595)
 4033.943224] usb 1-3.4: Manufacturer: ITE Tech. Inc.
 4033.948495] input: ITE Tech. Inc. ITE Device(8595) as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4:1.0/0003:17EF:6067.0006/input/input31
 4034.009057] lenovo 0003:17EF:6067.0006: input,hiddev96,hidraw2: USB HID v1.10 Keyboard [ITE Tech. Inc. ITE Device(8595)] on usb-0000:00:14.0-3.4/input0
 4034.014560] input: ITE Tech. Inc. ITE Device(8595) as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4:1.1/0003:17EF:6067.0007/input/input32
 4034.076963] lenovo 0003:17EF:6067.0007: input,hiddev97,hidraw3: USB HID v1.10 Device [ITE Tech. Inc. ITE Device(8595)] on usb-0000:00:14.0-3.4/input1
 4034.388830] ACPI: \_SB_.PCI0.LPC_.EC__.BAT1: docking
 4034.401011] ACPI: Battery Slot [BAT1] (battery present)


My only idea is that the driver is not being reloaded when the keyboard is reattached, but I cannot find which module might need reloading. In yast hardware info, both Synaptics TM3075-002 and TPPS/2 IBM TrackPoint show up but neither of them have a driver listed. The driver for the keyboard is usbhid, but trying ‘modprobe usbhid’ does not restore the trackpoint and touchpad.

This does not appear to be an issue with the hardware, since detaching and reattaching the keyboard still works fine in Windows.

Any pointers regarding what might be going on and how to fix it would be greatly appreciated.

Does this behaviour happen regardless of the USB port used? I notice you’ve attached it to a USB 3 port from the output you have posted. Try a USB 2 port (if available) for test purposes.

Following a reconnection of the ITE device, what is reported by the following?

/usr/sbin/hwinfo --mouse

What is reported at an Xorg level? You could watch the tail of Xorg.0.log…

tail -f /var/log/Xorg.0.log

…then reconnect and observe.

The tablet has a dedicated port which plugs into the keyboard dock, it doesn’t plug into a usb port. The keyboard dock itself has a usb 3 port. I am using the “ultrabook” keyboard, for reference you can see some pictures here https://www.pcmag.com/feature/336727/lenovo-thinkpad-helix-2nd-gen
So there is no choice in terms of what to plug the keyboard in.

/usr/sbin/hwinfo --mouse

output:


34: PS/2 00.0: 10500 PS/2 Mouse                                 
  [Created at input.249]
  Unique ID: AH6Q.putoaI8f9k6
  Hardware Class: mouse
  Model: "Wacom HID 5014 Finger"
  Vendor: 0x056a 
  Device: 0x5014 "Wacom HID 5014 Finger"
  Compatible to: int 0x0210 0x0000
  Device File: /dev/input/mice (/dev/input/mouse0)
  Device Files: /dev/input/mice, /dev/input/mouse0, /dev/input/event13, /dev/input/by-path/platform-INT3432:00-event
  Device Number: char 13:63 (char 13:32)
  Driver Info #0:
    Buttons: 0
    Wheels: 0
    XFree86 Protocol: explorerps/2
    GPM Protocol: exps2
  Config Status: cfg=no, avail=yes, need=no, active=unknown

35: PS/2 00.0: 10500 PS/2 Mouse
  [Created at input.249]
  Unique ID: AH6Q.CUROeCRAHAD
  Hardware Class: mouse
  Model: "Wacom HID 114 Pen"
  Vendor: 0x056a 
  Device: 0x0114 "Wacom HID 114 Pen"
  Compatible to: int 0x0210 0x0000
  Device File: /dev/input/mice (/dev/input/mouse1)
  Device Files: /dev/input/mice, /dev/input/mouse1, /dev/input/event14, /dev/input/by-path/platform-INT3433:00-event-mouse, /dev/input/by-path/platform-INT3433:00-mouse
  Device Number: char 13:63 (char 13:33)
  Driver Info #0:
    Buttons: 0
    Wheels: 0
    XFree86 Protocol: explorerps/2
    GPM Protocol: exps2
  Config Status: cfg=no, avail=yes, need=no, active=unknown

36: PS/2 00.0: 10500 PS/2 Mouse
  [Created at input.249]
  Unique ID: AH6Q.Nr3_VAzqGGF
  Hardware Class: mouse
  Model: "Synaptics TM3075-002"
  Vendor: 0x06cb 
  Device: "Synaptics TM3075-002"
  Compatible to: int 0x0210 0x0001
  Device File: /dev/input/mice (/dev/input/mouse2)
  Device Files: /dev/input/mice, /dev/input/mouse2, /dev/input/event18
  Device Number: char 13:63 (char 13:34)
  Driver Info #0:
    Buttons: 1
    Wheels: 0
    XFree86 Protocol: explorerps/2
    GPM Protocol: exps2
  Config Status: cfg=no, avail=yes, need=no, active=unknown

37: PS/2 00.0: 10500 PS/2 Mouse
  [Created at input.249]
  Unique ID: AH6Q.7qlGUQk7T34
  Hardware Class: mouse
  Model: "TPPS/2 IBM TrackPoint"
  Vendor: 0x0002 
  Device: 0x000a "TPPS/2 IBM TrackPoint"
  Compatible to: int 0x0210 0x0003
  Device File: /dev/input/mice (/dev/input/mouse3)
  Device Files: /dev/input/mice, /dev/input/mouse3, /dev/input/event21
  Device Number: char 13:63 (char 13:35)
  Driver Info #0:
    Buttons: 3
    Wheels: 0
    XFree86 Protocol: explorerps/2
    GPM Protocol: exps2
  Config Status: cfg=no, avail=yes, need=no, active=unknown

tail -f /var/log/Xorg.0.log

had some interesting information. It showed the touchpad and trackpoint as events 18 and 21 respectively, before detaching, but these events do not show up again after reattaching.

Unfortunately, I somehow managed to shut down the server, so that I cannot copy any content from the log.

  1205.685] (II) UnloadModule: "evdev"
  1205.685] (II) evdev: Integrated Rear Camera: Close
  1205.686] (II) UnloadModule: "evdev"
  1205.686] (II) evdev: Sleep Button: Close
  1205.686] (II) UnloadModule: "evdev"
  1205.686] (II) evdev: Power Button: Close
  1205.686] (II) UnloadModule: "evdev"
  1205.686] (II) evdev: Video Bus: Close
  1205.686] (II) UnloadModule: "evdev"
  1205.827] (II) Server terminated successfully (0). Closing log file.


I think what did this was uninstalling the x86-libinputj package. The Xorg log showed that libinput is what takes care of registering devices. I had previously uninstalled libinput because the trackpoint is so stiff even at the most sensitive setting (that I have been able to work out). Instead I had been using xinput to set the trackpoint sensitivity, which worked much better. A recent update must have reinstalled libinput, so I tried unistalling again, and since then the tail of the Xorg log shows the above, and the file has not been modifed since then.

xinput enable "TPPS/2 IBM TrackPoint"

does not do anything after the keyboard is reattached, though disabling and enabling with xinput work before the keyboard is detached.

A regular usb mouse attached to the usb 3 port on the keyboard dock works as expected when plugged in.

I also have a thinkpad usb keyboard with a trackpoint. The trackpoint on that also works fine when plugged into the usb port on the keyboard dock. Even when I detach the tablet from the dock and reattach the trackpoint on the usb keyboard works.

The hwinfo output looks as expected. Let’s see which Xorg input driver is handling the devices from boot

grep "Using input driver" /var/log/Xorg.0.log

and for a complete picture please confirm which Xorg input driver packages you have installed

zypper se -si xf86-input

The libinput driver is replacing both the evdev and synaptics drivers, but for some input devices the legacy drivers still offer better support. In fact Xorg can be configured to use a particular driver for a given device if necessary.

grep "Using input driver" .local/xorg/Xorg.0.log

gives the following. This seems to be where the xorg log is now, the one in /var/log has not been modified since yesterday.


    11.867] (II) Using input driver 'evdev' for 'Video Bus'
    11.878] (II) Using input driver 'evdev' for 'Power Button'
    11.915] (II) Using input driver 'evdev' for 'Sleep Button'
    11.918] (II) Using input driver 'evdev' for 'Integrated Rear Camera'
    11.920] (II) Using input driver 'evdev' for 'Integrated Camera'
    11.921] (II) Using input driver 'evdev' for 'Intel Virtual Button driver'
    11.924] (II) Using input driver 'wacom' for 'Wacom HID 5014 Finger'
    12.118] (II) Using input driver 'wacom' for 'Wacom HID 114 Pen'
    12.138] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
    12.141] (II) Using input driver 'evdev' for 'ThinkPad Extra Buttons'
    12.144] (II) Using input driver 'synaptics' for 'Synaptics TM3075-002'
    12.155] (II) Using input driver 'wacom' for 'Wacom HID 114 Pen eraser'
    12.192] (II) Using input driver 'synaptics' for 'Synaptics TM3075-002'
    12.240] (II) Using input driver 'evdev' for 'Integrated Rear Camera'
    12.280] (II) Using input driver 'evdev' for 'Integrated Camera'
    12.281] (II) Using input driver 'evdev' for 'TPPS/2 IBM TrackPoint'
    12.282] (II) Using input driver 'evdev' for 'TPPS/2 IBM TrackPoint'
    12.295] (II) Using input driver 'evdev' for 'ITE Tech. Inc. ITE Device(8595)'
    12.334] (II) Using input driver 'evdev' for 'ITE Tech. Inc. ITE Device(8595)'


zypper se -si xf86-input

gives


S  | Name                 | Type    | Version    | Arch   | Repository             
---+----------------------+---------+------------+--------+------------------------
i+ | xf86-input-evdev     | package | 2.10.5-2.1 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | xf86-input-joystick  | package | 1.6.3-1.3  | x86_64 | openSUSE-Tumbleweed-Oss
i+ | xf86-input-keyboard  | package | 1.9.0-1.3  | x86_64 | openSUSE-Tumbleweed-Oss
i+ | xf86-input-mouse     | package | 1.9.2-1.3  | x86_64 | openSUSE-Tumbleweed-Oss
i+ | xf86-input-synaptics | package | 1.9.0-2.1  | x86_64 | openSUSE-Tumbleweed-Oss
i+ | xf86-input-vmmouse   | package | 13.1.0-6.1 | x86_64 | openSUSE-Tumbleweed-Oss
i+ | xf86-input-void      | package | 1.4.1-3.1  | x86_64 | openSUSE-Tumbleweed-Oss
i  | xf86-input-wacom     | package | 0.34.2-4.1 | x86_64 | openSUSE-Tumbleweed-Oss


Here is the output of

tail -f .local/share/xorg/Xorg.0.log

from before detaching the keyboard dock, then reattaching the dock.


    12.335] (**) Option "xkb_layout" "us"
    12.335] (II) evdev: ITE Tech. Inc. ITE Device(8595): initialized for relative axes.
    12.335] (WW) evdev: ITE Tech. Inc. ITE Device(8595): ignoring absolute axes.
    12.335] (**) ITE Tech. Inc. ITE Device(8595): (accel) keeping acceleration scheme 1
    12.335] (**) ITE Tech. Inc. ITE Device(8595): (accel) acceleration profile 0
    12.335] (**) ITE Tech. Inc. ITE Device(8595): (accel) acceleration factor: 2.000
    12.335] (**) ITE Tech. Inc. ITE Device(8595): (accel) acceleration threshold: 4
    12.891] (II) intel(0): EDID vendor "LGD", prod id 1121
    12.891] (II) intel(0): Printing DDC gathered Modelines:
    12.891] (II) intel(0): Modeline "1920x1080"x0.0  138.12  1920 1968 2000 2052  1080 1083 1089 1122 +hsync -vsync (67.3 kHz eP)
   241.337] (II) config/udev: removing device ITE Tech. Inc. ITE Device(8595)
   241.338] (II) evdev: ITE Tech. Inc. ITE Device(8595): Close
   241.338] (II) UnloadModule: "evdev"
   241.338] (II) systemd-logind: releasing fd for 13:83
   241.397] (II) config/udev: removing device ITE Tech. Inc. ITE Device(8595)
   241.399] (II) evdev: ITE Tech. Inc. ITE Device(8595): Close
   241.399] (II) UnloadModule: "evdev"
   241.399] (II) systemd-logind: releasing fd for 13:85
   257.759] (II) config/udev: Adding input device ITE Tech. Inc. ITE Device(8595) (/dev/input/event19)
   257.759] (**) ITE Tech. Inc. ITE Device(8595): Applying InputClass "evdev keyboard catchall"
   257.759] (**) ITE Tech. Inc. ITE Device(8595): Applying InputClass "system-keyboard"
   257.759] (**) ITE Tech. Inc. ITE Device(8595): Applying InputClass "evdev keyboard catchall"
   257.759] (II) Using input driver 'evdev' for 'ITE Tech. Inc. ITE Device(8595)'
   257.760] (II) systemd-logind: got fd for /dev/input/event19 13:83 fd 32 paused 0
   257.760] (**) ITE Tech. Inc. ITE Device(8595): always reports core events
   257.760] (**) evdev: ITE Tech. Inc. ITE Device(8595): Device: "/dev/input/event19"
   257.760] (--) evdev: ITE Tech. Inc. ITE Device(8595): Vendor 0x17ef Product 0x6067
   257.760] (--) evdev: ITE Tech. Inc. ITE Device(8595): Found 2 mouse buttons
   257.760] (--) evdev: ITE Tech. Inc. ITE Device(8595): Found scroll wheel(s)
   257.760] (--) evdev: ITE Tech. Inc. ITE Device(8595): Found relative axes
   257.760] (II) evdev: ITE Tech. Inc. ITE Device(8595): Forcing relative x/y axes to exist.
   257.760] (--) evdev: ITE Tech. Inc. ITE Device(8595): Found absolute axes
   257.760] (II) evdev: ITE Tech. Inc. ITE Device(8595): Forcing absolute x/y axes to exist.
   257.760] (--) evdev: ITE Tech. Inc. ITE Device(8595): Found keys
   257.760] (II) evdev: ITE Tech. Inc. ITE Device(8595): Configuring as mouse
   257.760] (II) evdev: ITE Tech. Inc. ITE Device(8595): Configuring as keyboard
   257.760] (II) evdev: ITE Tech. Inc. ITE Device(8595): Adding scrollwheel support
   257.760] (**) evdev: ITE Tech. Inc. ITE Device(8595): YAxisMapping: buttons 4 and 5
   257.760] (**) evdev: ITE Tech. Inc. ITE Device(8595): EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
   257.760] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4:1.0/0003:17EF:6067.0006/input/input31/event19"
   257.760] (II) XINPUT: Adding extended input device "ITE Tech. Inc. ITE Device(8595)" (type: KEYBOARD, id 19)
   257.760] (**) Option "xkb_rules" "evdev"
   257.760] (**) Option "xkb_layout" "us"
   257.760] (II) evdev: ITE Tech. Inc. ITE Device(8595): initialized for relative axes.
   257.760] (WW) evdev: ITE Tech. Inc. ITE Device(8595): ignoring absolute axes.
   257.761] (**) ITE Tech. Inc. ITE Device(8595): (accel) keeping acceleration scheme 1
   257.761] (**) ITE Tech. Inc. ITE Device(8595): (accel) acceleration profile 0
   257.761] (**) ITE Tech. Inc. ITE Device(8595): (accel) acceleration factor: 2.000
   257.761] (**) ITE Tech. Inc. ITE Device(8595): (accel) acceleration threshold: 4
   257.767] (II) config/udev: Adding input device ITE Tech. Inc. ITE Device(8595) (/dev/input/event21)
   257.767] (**) ITE Tech. Inc. ITE Device(8595): Applying InputClass "evdev keyboard catchall"
   257.767] (**) ITE Tech. Inc. ITE Device(8595): Applying InputClass "system-keyboard"
   257.767] (**) ITE Tech. Inc. ITE Device(8595): Applying InputClass "evdev keyboard catchall"
   257.767] (II) Using input driver 'evdev' for 'ITE Tech. Inc. ITE Device(8595)'
   257.817] (II) systemd-logind: got fd for /dev/input/event21 13:85 fd 54 paused 0
   257.817] (**) ITE Tech. Inc. ITE Device(8595): always reports core events
   257.817] (**) evdev: ITE Tech. Inc. ITE Device(8595): Device: "/dev/input/event21"
   257.817] (--) evdev: ITE Tech. Inc. ITE Device(8595): Vendor 0x17ef Product 0x6067
   257.818] (--) evdev: ITE Tech. Inc. ITE Device(8595): Found 10 mouse buttons
   257.818] (--) evdev: ITE Tech. Inc. ITE Device(8595): Found scroll wheel(s)
   257.818] (--) evdev: ITE Tech. Inc. ITE Device(8595): Found relative axes
   257.818] (II) evdev: ITE Tech. Inc. ITE Device(8595): Forcing relative x/y axes to exist.
   257.818] (--) evdev: ITE Tech. Inc. ITE Device(8595): Found absolute axes
   257.818] (II) evdev: ITE Tech. Inc. ITE Device(8595): Forcing absolute x/y axes to exist.
   257.818] (--) evdev: ITE Tech. Inc. ITE Device(8595): Found keys
   257.818] (II) evdev: ITE Tech. Inc. ITE Device(8595): Configuring as mouse
   257.818] (II) evdev: ITE Tech. Inc. ITE Device(8595): Configuring as keyboard
   257.818] (II) evdev: ITE Tech. Inc. ITE Device(8595): Adding scrollwheel support
   257.818] (**) evdev: ITE Tech. Inc. ITE Device(8595): YAxisMapping: buttons 4 and 5
   257.818] (**) evdev: ITE Tech. Inc. ITE Device(8595): EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
   257.818] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4:1.1/0003:17EF:6067.0007/input/input32/event21"
   257.818] (II) XINPUT: Adding extended input device "ITE Tech. Inc. ITE Device(8595)" (type: KEYBOARD, id 20)
   257.818] (**) Option "xkb_rules" "evdev"
   257.818] (**) Option "xkb_layout" "us"
   257.821] (II) evdev: ITE Tech. Inc. ITE Device(8595): initialized for relative axes.
   257.821] (WW) evdev: ITE Tech. Inc. ITE Device(8595): ignoring absolute axes.
   257.823] (**) ITE Tech. Inc. ITE Device(8595): (accel) keeping acceleration scheme 1
   257.823] (**) ITE Tech. Inc. ITE Device(8595): (accel) acceleration profile 0
   257.823] (**) ITE Tech. Inc. ITE Device(8595): (accel) acceleration factor: 2.000
   257.823] (**) ITE Tech. Inc. ITE Device(8595): (accel) acceleration threshold: 4
 

From what I understand evdev just ‘forgets’ about the trackpoint, though when reattaching something is configured as a mouse, while synaptics does not get called on again to reload the touchpad.

This is the case when Gnome is running as Xorg runs non-root.

Just wondering - Did this loss of the traackpoint device also occur when using libinput?

I also wonder whether the kernel driver is binding to the wrong device somehow.

though when reattaching something is configured as a mouse, while synaptics does not get called on again to reload the touchpad.

I recall a recent kernel bug that may be at play here. I’ll see if I can dig out the details.

Found it, but not sure that it is relevant to what’s going on here…
https://bugs.freedesktop.org/show_bug.cgi?id=100345

That’s good to know. I am trying out gnome since touch actions have become completely unusable in kde/qt (lifting a finger off the screen does not register as a button release, so any kind of click action is next to impossible now - as a bonus autorotate works in gnome), at least on this device.

Just wondering - Did this loss of the trackpoint device also occur when using libinput?

Yes. Just to make sure, and for good measure, I reinstalled xf86-input-libinput and uninstalled xf86-input-synaptics and xf86-input-evdev.


grep "Using input driver" .local/share/xorg/Xorg.0.log
    12.059] (II) Using input driver 'libinput' for 'Video Bus'
    12.062] (II) Using input driver 'libinput' for 'Power Button'
    12.064] (II) Using input driver 'libinput' for 'Sleep Button'
    12.068] (II) Using input driver 'libinput' for 'Integrated Rear Camera'
    12.070] (II) Using input driver 'libinput' for 'Integrated Camera'
    12.072] (II) Using input driver 'libinput' for 'Intel Virtual Button driver'
    12.077] (II) Using input driver 'wacom' for 'Wacom HID 5014 Finger'
    12.266] (II) Using input driver 'wacom' for 'Wacom HID 114 Pen'
    12.278] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
    12.281] (II) Using input driver 'libinput' for 'ThinkPad Extra Buttons'
    12.285] (II) Using input driver 'libinput' for 'Synaptics TM3075-002'
    12.304] (II) Using input driver 'wacom' for 'Wacom HID 114 Pen eraser'
    12.305] (II) Using input driver 'libinput' for 'TPPS/2 IBM TrackPoint'
    12.563] (II) Using input driver 'libinput' for 'PixArt USB Optical Mouse'
    12.596] (II) Using input driver 'libinput' for 'ITE Tech. Inc. ITE Device(8595)'
    12.634] (II) Using input driver 'libinput' for 'ITE Tech. Inc. ITE Device(8595)'
    12.635] (II) Using input driver 'libinput' for 'ITE Tech. Inc. ITE Device(8595)'
    12.637] (II) Using input driver 'libinput' for 'ITE Tech. Inc. ITE Device(8595)'

so both trackpoint and touchpad are recognised after boot, but they never come up again in the xorg log.

I recall a recent kernel bug that may be at play here. I’ll see if I can dig out the details.

Given that my problem occurs even without synaptics installed, it would seem not. However I have had some of the same problems with mentioned in that bug, so that is good to keep an eye on.

Since this problem occurs with either libinput, or evdev+synaptics, it would seem that the problem is not with them but something else. What else could that be? Xorg? What else might be responsible for recognising hotplugged peripherals? udev?

It does seem to be kernel related from what you’ve posted so far. You could watch/capture the kernel output when the reattaching the problem device.

dmesg -w

Yes, that was the clue I needed! I downgraded the kernel to version 4.11.7 from the current TW kernel, and reattaching the keyboard now works as expected. I’ll file a bug report, and keep this older kernel until it gets fixed.

Many thanks for your help!

Glad to have been of assistance. Post a link to the bug report so that others who come searching can easily find it.

Bug report posted here: https://bugzilla.kernel.org/show_bug.cgi?id=196953