Bug 1597240

Summary: X1 Carbon 3rd Gen touchpad not disabled when notebook lid closed
Product: Red Hat Enterprise Linux 7 Reporter: Oliver Ilian <oliver>
Component: systemdAssignee: Michal Sekletar <msekleta>
Status: CLOSED ERRATA QA Contact: Frantisek Sumsal <fsumsal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.5CC: fsumsal, msekleta, oliver, peter.hutterer, systemd-maint-list, systemd-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: systemd-219-59.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 11:32:23 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
libinput_debug_output none

Description Oliver Ilian 2018-07-02 10:59:12 UTC
Description of problem:
On a Lenovo X1 Carbon 3rd gen, the touchpad is not disabled while the lid is closed. If you connect an external monitor and close the lid, the mouse cursor is uncontrollably moving.

Version-Release number of selected component (if applicable):
RHEL 7.5
xorg-x11-drv-libinput-0.25.0-2.el7.x86_64
libinput-1.8.4-2.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. connect a display to the aX1 Carbon 3rd gen
2. close the lid

Actual results:
mouse cursor moves uncontrollably 

Expected results:
The mouse cursor should not move

Additional info:

Comment 2 Peter Hutterer 2018-07-04 06:22:13 UTC
Can you attach a libinput debug-events --verbose output from this device please? Thanks.

Comment 3 Peter Hutterer 2018-07-18 22:18:19 UTC
Ping?

Comment 4 Oliver Ilian 2018-07-19 07:17:49 UTC
Created attachment 1459907 [details]
libinput_debug_output

Comment 5 Peter Hutterer 2018-07-19 07:27:16 UTC
I'm punting this to systemd for now because the source of the issue is that the lid switch isn't labelled as ID_INPUT_SWITCH. that's systemd upstream commit 64083a6078630372623bb1013a45d3bf31d8a836 but I'll let the systemd guys decide whether they want to add this to 7.6. If not, please punt it back to libinput and I'll work out some libinput-specific solution for RHEL only.

Comment 6 Michal Sekletar 2018-07-19 07:39:03 UTC
(In reply to Peter Hutterer from comment #5)
> I'm punting this to systemd for now because the source of the issue is that
> the lid switch isn't labelled as ID_INPUT_SWITCH. that's systemd upstream
> commit 64083a6078630372623bb1013a45d3bf31d8a836 but I'll let the systemd
> guys decide whether they want to add this to 7.6. If not, please punt it
> back to libinput and I'll work out some libinput-specific solution for RHEL
> only.

I think we should be able to deliver the fix in RHEL-7.6. Btw, thank you very much for submitting the upstream patch.

Comment 9 Lukáš Nykrýn 2018-07-25 11:00:30 UTC
fix merged to staging branch -> https://github.com/lnykryn/systemd-rhel/pull/224 -> post

Comment 13 errata-xmlrpc 2018-10-30 11:32:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3245