ThinkPad X1 Yoga not deactivating keyboard & trackpad when going on tablet mode

Bug #1863824 reported by Jonas Gamao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kubuntu-meta (Ubuntu)
New
Undecided
Unassigned
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

My 4th gen ThinkPad X1 Yoga is unusable as a tablet because it won't deactivate the keyboard and trackpad when I flip it to tablet mode. It's also the same when I try it on Kubuntu 20.04.

Operating System: Kubuntu 19.10
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67.0
Qt Version: 5.12.4
Kernel Version: 5.3.0-29-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-10510U CPU @ 1.80GHz
Memory: 15.3 GiB of RAM

ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: kubuntu-desktop 1.387
ProcVersionSignature: Ubuntu 5.3.0-29.31-generic 5.3.13
Uname: Linux 5.3.0-29-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
CurrentDesktop: KDE
Date: Tue Feb 18 20:33:35 2020
InstallationDate: Installed on 2020-01-19 (30 days ago)
InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
SourcePackage: kubuntu-meta
UpgradeStatus: No upgrade log present (probably fresh install)
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu18
Architecture: amd64
CurrentDesktop: KDE
Dependencies:

DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-01-25 (29 days ago)
InstallationMedia: Kubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200120)
Package: linux-firmware 1.186
PackageArchitecture: all
ProcVersionSignature: Ubuntu 5.4.0-14.17-generic 5.4.18
Tags: focal focal
Uname: Linux 5.4.0-14-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu21
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: yamiyuki 3578 F.... pulseaudio
CurrentDesktop: KDE
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-01-19 (69 days ago)
InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
MachineType: LENOVO 20SA0002US
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-18-generic root=UUID=8644acd5-759a-4daa-a34c-75ad3f4c5c12 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.4.0-18.22-generic 5.4.24
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-18-generic N/A
 linux-backports-modules-5.4.0-18-generic N/A
 linux-firmware 1.187
Tags: focal
Uname: Linux 5.4.0-18-generic x86_64
UpgradeStatus: Upgraded to focal on 2020-03-21 (7 days ago)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 01/15/2020
dmi.bios.vendor: LENOVO
dmi.bios.version: N2QET19W (1.13 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20SA0002US
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 31
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrN2QET19W(1.13):bd01/15/2020:svnLENOVO:pn20SA0002US:pvrThinkPadX1Yoga4th:rvnLENOVO:rn20SA0002US:rvrSDK0J40697WIN:cvnLENOVO:ct31:cvrNone:
dmi.product.family: ThinkPad X1 Yoga 4th
dmi.product.name: 20SA0002US
dmi.product.sku: LENOVO_MT_20SA_BU_Think_FM_ThinkPad X1 Yoga 4th
dmi.product.version: ThinkPad X1 Yoga 4th
dmi.sys.vendor: LENOVO
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu21
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: taliara69 1813 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-03-30 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200329)
MachineType: LENOVO 20SA0002US
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-18-generic root=UUID=a29e06a9-716d-40d8-b26c-289898a3681d ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.4.0-18.22-generic 5.4.24
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-18-generic N/A
 linux-backports-modules-5.4.0-18-generic N/A
 linux-firmware 1.187
Tags: focal
Uname: Linux 5.4.0-18-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 01/15/2020
dmi.bios.vendor: LENOVO
dmi.bios.version: N2QET19W (1.13 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20SA0002US
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 31
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrN2QET19W(1.13):bd01/15/2020:svnLENOVO:pn20SA0002US:pvrThinkPadX1Yoga4th:rvnLENOVO:rn20SA0002US:rvrSDK0J40697WIN:cvnLENOVO:ct31:cvrNone:
dmi.product.family: ThinkPad X1 Yoga 4th
dmi.product.name: 20SA0002US
dmi.product.sku: LENOVO_MT_20SA_BU_Think_FM_ThinkPad X1 Yoga 4th
dmi.product.version: ThinkPad X1 Yoga 4th
dmi.sys.vendor: LENOVO
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu21
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: taliara69 1292 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-03-30 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200329)
MachineType: LENOVO 20SA0002US
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-18-generic root=UUID=a29e06a9-716d-40d8-b26c-289898a3681d ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.4.0-18.22-generic 5.4.24
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-18-generic N/A
 linux-backports-modules-5.4.0-18-generic N/A
 linux-firmware 1.187
Tags: focal
Uname: Linux 5.4.0-18-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 01/15/2020
dmi.bios.vendor: LENOVO
dmi.bios.version: N2QET19W (1.13 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20SA0002US
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 31
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrN2QET19W(1.13):bd01/15/2020:svnLENOVO:pn20SA0002US:pvrThinkPadX1Yoga4th:rvnLENOVO:rn20SA0002US:rvrSDK0J40697WIN:cvnLENOVO:ct31:cvrNone:
dmi.product.family: ThinkPad X1 Yoga 4th
dmi.product.name: 20SA0002US
dmi.product.sku: LENOVO_MT_20SA_BU_Think_FM_ThinkPad X1 Yoga 4th
dmi.product.version: ThinkPad X1 Yoga 4th
dmi.sys.vendor: LENOVO
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu21
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: taliara69 1292 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-03-30 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200329)
MachineType: LENOVO 20SA0002US
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-18-generic root=UUID=a29e06a9-716d-40d8-b26c-289898a3681d ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.4.0-18.22-generic 5.4.24
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-18-generic N/A
 linux-backports-modules-5.4.0-18-generic N/A
 linux-firmware 1.187
Tags: focal
Uname: Linux 5.4.0-18-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 01/15/2020
dmi.bios.vendor: LENOVO
dmi.bios.version: N2QET19W (1.13 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20SA0002US
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 31
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrN2QET19W(1.13):bd01/15/2020:svnLENOVO:pn20SA0002US:pvrThinkPadX1Yoga4th:rvnLENOVO:rn20SA0002US:rvrSDK0J40697WIN:cvnLENOVO:ct31:cvrNone:
dmi.product.family: ThinkPad X1 Yoga 4th
dmi.product.name: 20SA0002US
dmi.product.sku: LENOVO_MT_20SA_BU_Think_FM_ThinkPad X1 Yoga 4th
dmi.product.version: ThinkPad X1 Yoga 4th
dmi.sys.vendor: LENOVO

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :
Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : ProcCpuinfoMinimal.txt

apport information

tags: added: apport-collected focal
description: updated
Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : ProcEnviron.txt

apport information

Revision history for this message
Seth Forshee (sforshee) wrote :

This is not likely to be an issue in the firmware from linux-firmware. It's possible the issue is in the kernel though, so changing this to the linux package instead.

affects: linux-firmware (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1863824

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

think iio-sensor-proxy is affected, too?

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : AlsaInfo.txt

apport information

description: updated
Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : CRDA.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : IwConfig.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : Lspci.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : Lsusb.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : Lsusb-t.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : Lsusb-v.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : ProcEnviron.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : ProcModules.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : PulseList.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : RfKill.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : UdevDb.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : WifiSyslog.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

Also, when I ran it, I got this:

$ apport-collect 1863824
The authorization page:
 (https://launchpad.net/+authorize-token?oauth_token=RGg2DtBMHkdS526whTt3&allow_permission=DESKTOP_INTEGRATION)
should be opening in your browser. Use your browser to authorize
this program to access Launchpad on your behalf.
Waiting to hear from Launchpad about your decision...
Package kubuntu-meta not installed and no hook available, ignoring
dpkg-query: no packages found matching linux
yamiyuki@Kuroneko-ThinkPadX1Yoga4th:~$

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Does this also happen to the default Ubuntu Gnome desktop?

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

Just tested, and it doesn't work there, either.

description: updated
description: updated
Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : AlsaInfo.txt

apport information

description: updated
Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : CRDA.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : IwConfig.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : Lspci.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : Lsusb.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : Lsusb-t.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : Lsusb-v.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : ProcEnviron.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : ProcModules.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : PulseList.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : RfKill.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : UdevDb.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote : WifiSyslog.txt

apport information

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

Whoops, ignore the ones at #26 to #42. Ran the apport-collect after I locked the rotation.

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

Reason why I reported that rotation doesn't work on stock Ubuntu with GNOME, even though I never explicitly reported it when I use Kubuntu, is because I heard that GNOME supports display rotation.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

I am a bit confused. Isn't tablet mode and screen rotation a bit different?

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

Yes, they are.

I only mentioned to the screen rotation because it could've been missing drivers related to the X1 Yoga. Figured that extra info might help. Maybe missing drivers or something. Sorry if that confuses things.

Revision history for this message
AaronMa (mapengyu) wrote :

Hi Jonas:

The keyboard and touchpad is controlled by BIOS/EC not in kernel drivers.
KB/Touchpad should be disabled when you flap it to tablet mode.

Looks like it is a hw relevant issue.
Could you try Windows10? if it is not disabled on Windows10, please contact Lenovo for warranty.

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

It seems that installing libinput-tools (and its dependencies) solved the problem, somewhat.

Now, after flipping to tablet mode, it works, but it flipping back to laptop mode doesn't activate the keyboard and trackpad.

I also installed a screen rotator tool, which works for about few seconds after flipping to tablet mode, but it stops working after, which I believe is related to the issue I'm experiencing I think,

Screen rotator GitHub page: https://github.com/GuLinux/ScreenRotator

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

I'd like to add that in laptop mode, the screen rotator tool works as expected, and no issues. Only after flipping to tablet mode will the rotation work for few seconds.

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

Further observation: keyboard and trackpad doesn't deactivate in tablet mode after at boot. It only does after going to sleep first, but it doesn't activate if it's in tablet mode after a few seconds.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.