Bug 1648720

Summary: Trackpoint won't works on lenovo x1 tablet 3rd
Product: [Fedora] Fedora Reporter: chris.walg
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: airlied, bskeggs, chris.walg, dingyichen, hdegoede, ichavero, itamar, jarodwilson, jeremy, jglisse, john.j5live, jonathan, josef, kernel-maint, linville, mchehab, mjg59, peter.hutterer, stefan.ku, steved
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-29 01:31:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
udevadm-event4
none
libinput list
none
scroll.evemu
none
scroll2.evemu
none
touchpad.yml
none
trackpoint.yml
none
trackpoint-eventid-11
none
trackpoint-eventid-11.evemu none

Description chris.walg 2018-11-11 21:37:42 UTC
Description of problem: Trackpoint won't works


Version-Release number of selected component (if applicable): 29 (kernel 4.18.17) and rawhide (kernel 4.20-rc1)



Additional info: lenovo x1 tablet 3rd

Comment 1 chris.walg 2018-11-11 22:04:43 UTC
[christian@localhost ~]$ sudo dmidecode -t 21
[sudo] Passwort für christian: 
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.

Handle 0x0032, DMI type 21, 7 bytes
Built-in Pointing Device
	Type: Track Point
	Interface: PS/2
	Buttons: 3

Handle 0x0033, DMI type 21, 7 bytes
Built-in Pointing Device
	Type: Touch Pad
	Interface: PS/2
	Buttons: 2

Comment 2 Peter Hutterer 2018-11-11 22:56:40 UTC
Sorry, I'll need more info here, please see this doc for what's likely required:
https://wayland.freedesktop.org/libinput/doc/latest/reporting-bugs.html

Comment 3 chris.walg 2018-11-12 06:34:57 UTC
[christian@localhost ~]$ sudo libinput record > touchpad.yml
libinput: record is not a libinput command or not installed. See 'libinput --help'

Comment 4 chris.walg 2018-11-12 06:35:45 UTC
Created attachment 1504576 [details]
udevadm-event4

Comment 5 chris.walg 2018-11-12 06:36:14 UTC
Created attachment 1504578 [details]
libinput list

Comment 6 chris.walg 2018-11-12 06:36:54 UTC
Created attachment 1504579 [details]
scroll.evemu

Comment 7 chris.walg 2018-11-12 06:37:25 UTC
Created attachment 1504580 [details]
scroll2.evemu

Comment 8 Peter Hutterer 2018-11-12 06:38:42 UTC
you'll need to install the libinput-utils package for libinput record to exist

Comment 9 chris.walg 2018-11-12 06:42:06 UTC
Created attachment 1504581 [details]
touchpad.yml

Comment 10 Peter Hutterer 2018-11-12 23:10:34 UTC
"Chicony ThinkPad X1 Tablet Thin Keyboard Gen 3 Consumer Control"

same here as in bug 1648722, this isn't the touchpad device but some other device. I'll need the data from the "Chicony ThinkPad X1 Tablet Thin Keyboard Gen 3 Touchpad" device (/dev/input/event11 in the list-devices output but that may have changed since). That'll be the touchpad device, but I can't find a trackpoint device in the list, so this would indicate the trackpoint isn't supported by the kernel. There is only one other device that has a pointer capability and that's the one you attached. That device only has the pointer cap because it exports the horizontal scroll wheel, no x/y coordinates.

Check the touchpad device and whether you see any events when you move the trackpoint. If not, we need to punt this to the kernel to enable the trackpoint first.

Comment 11 chris.walg 2018-11-13 19:37:46 UTC
Created attachment 1505418 [details]
trackpoint.yml

event-number 11

Comment 12 chris.walg 2018-11-13 19:39:53 UTC
Created attachment 1505419 [details]
trackpoint-eventid-11

udevadm info /sys/class/input/event11

Comment 13 chris.walg 2018-11-13 19:41:54 UTC
Created attachment 1505420 [details]
trackpoint-eventid-11.evemu

Comment 14 stefan.ku 2018-11-27 14:41:09 UTC
Are there any news on this? I'm running a custom kernel so if I could get some hints of what needs to added/changed, I could try to fix it myself.

Comment 16 Peter Hutterer 2019-07-29 01:31:43 UTC
Closing based on the previous comment, thanks. Please re-open if it's still an issue.

$ git tag --contains 8d5037dca7c2089f27e5903c2aecfc5bb
v5.1
...
$ uname -r
5.1.18-300.fc30.x86_64