[Dell BIOSes dated 27 Mar 2019] laptop keyboard & touchpad not working at gdm screen after boot

Bug #1822394 reported by Joe Barnett on 2019-03-30
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
libinput (Ubuntu)
Undecided
Unassigned
linux (Ubuntu)
High
Unassigned

Bug Description

On a dell XPS 15 2-in-1 with the latest 1.4.0 bios, my touchpad and keyboard are unresponsive at the gdm login screen. Keyboard works to unlock encrypted harddrive before that though. If I plug in a USB keyboard or activate my bluetooth mouse, I can use those to log in, and then after logging in the laptop touchpad and keyboard work again. Logging out of the desktop results
in the laptop touchpad and keyboard working on the gdm screen. Did not see
this behavior before upgrading from 1.2.0 bios to 1.4.0 bios, but also had
not rebooted in a while, so not sure if bios or package upgrades triggered
this behavior.

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: gdm3 3.32.0-1ubuntu1
ProcVersionSignature: Ubuntu 5.0.0-8.9-generic 5.0.1
Uname: Linux 5.0.0-8-generic x86_64
ApportVersion: 2.20.10-0ubuntu23
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Mar 29 17:51:00 2019
InstallationDate: Installed on 2018-09-26 (184 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
SourcePackage: gdm3
UpgradeStatus: Upgraded to disco on 2019-03-11 (18 days ago)

Joe Barnett (thejoe) wrote :
description: updated
description: updated
Daniel van Vugt (vanvugt) wrote :

> If I plug in a USB keyboard or activate my bluetooth mouse, I can use those to log in, and then after logging in the laptop touchpad and keyboard work again.

The login screen uses Wayland but the default user session uses Xorg. Can you please test both logging into "Ubuntu" and "Ubuntu on Wayland" and tell us if one works better than the other?

Please also run these commands after logging in:

  dpkg -l > allpackages.txt
  journalctl -b0 > journal.txt

and send us the resulting 'allpackages.txt' and 'journal.txt'.

Changed in gdm3 (Ubuntu):
status: New → Incomplete
Joe Barnett (thejoe) wrote :
Joe Barnett (thejoe) wrote :
Joe Barnett (thejoe) wrote :

will try the ubuntu sessions tomorrow. I normally run the gnome (wayland) session, but have keepass2 in startup applications. Believe that it is running via xwayland, and its approximately when keepass2 starts up and/or gains focus that my laptop touchpad/keyboard start working again.

Daniel van Vugt (vanvugt) wrote :

In that case please also try (temporarily) uninstalling keepass2. Does that avoid the bug?

Daniel van Vugt (vanvugt) wrote :

Actually, a big problem I can see is that your journal.txt (system log) is full of:

Mar 30 14:28:00 taplop gnome-shell[5876]: Failed to flip onscreen: Tried to flip inactive CRTC
Mar 30 14:28:01 taplop gnome-shell[5876]: Failed to flip onscreen: Tried to flip inactive CRTC
Mar 30 14:28:01 taplop gnome-shell[5876]: Failed to flip onscreen: Tried to flip inactive CRTC

That's a Wayland-specific issue so please do try logging into Xorg (just "Ubuntu").

Joe Barnett (thejoe) wrote :

Tests this morning seem to show that the internal devices get enabled right after any input from an external device on the gdm screen. So choice of session isn't influencing anything.

Joe Barnett (thejoe) wrote :

additionally, forcing gdm to use X11 via `WaylandEnable=false` in /etc/gdm3/custom.conf displays the same bug behavior.

Changed in gdm3 (Ubuntu):
status: Incomplete → New
summary: - laptop keyboard & touchpad not working at gdm screen after boot
+ [Dell XPS 15 9575] laptop keyboard & touchpad not working at gdm screen
+ after boot

Perhaps this is somehow related to the convertible lid hinge. Ordinarily when the laptop is in "tablet" mode (hinge open > 180 degrees), the keyboard and touchpad are disabled. Even more reliably than using an external device, switching into and then back out of tablet mode by opening/closing the hinge seems to restore keyboard/touchpad functionality. Not sure why they appear to work until the gdm screen though, or why sometimes using an external device causes them to work again.

talv (talvbansal) wrote :

I have the same issue, glad its not just me. The keyboard and touchpad only work once the hinge has been opened over 180degrees even after ive logged in so at least i have a work around till we get a proper fix.

Is there anything i can do to assist at this time?

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gdm3 (Ubuntu):
status: New → Confirmed
Changed in gnome-shell (Ubuntu):
status: New → Confirmed
Phusho (phusho) wrote :

Same problem Precision 5530 2-in-1 with 1.4.8 bios. In my case touchpad is always working, keyboard will sometime came after 15-20 seconds. Closing and opening lid will fix problem. Also if you enter password with on screen keyboard (touchscreen) and get to gnome keyboard is working again. Ubuntu 18.04 kernel 4.18, 4.19, 4.20 and 5

Daniel van Vugt (vanvugt) wrote :

Is is possible to downgrade the BIOS at all?

The bug description says:

> Did not see this behavior before upgrading from 1.2.0 bios to 1.4.0 bios

and the problematic BIOS versions are only a couple of weeks old:

https://www.dell.com/support/home/au/en/audhs1/drivers/driversdetails?driverid=p93yr
https://www.dell.com/support/home/au/en/audhs1/drivers/driversdetails?driverid=2rfmg

Unfortunately there's nothing newer yet either.

summary: - [Dell XPS 15 9575] laptop keyboard & touchpad not working at gdm screen
- after boot
+ [Dell BIOSes dated 27 Mar 2019] laptop keyboard & touchpad not working
+ at gdm screen after boot
Changed in linux (Ubuntu):
status: New → Confirmed
Joe Barnett (thejoe) wrote :

downgrading to the 1.2.0 bios on xps 9575 appears to be working properly (tested 3 reboots with no issues)

Phusho (phusho) wrote :

downgrading on precision to 1.0.5 (last available), keyboard will work again - so BIOS bug

no longer affects: gdm3 (Ubuntu)
no longer affects: gnome-shell (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → High
Robert Strube (robstrube) wrote :

I also run a Dell XPS 9575 2 in 1, with BIOS 1.40 and my system is *not* exhibiting this particular problem after a fresh 19.04 install. Keyboard and mouse work fine with GDM, but this is also after booting with the nomodeset kernel boot parameter.

Note: for other folks reading this thread wondering how I even got 19.04 installed, I had to install with nomodeset because of a kernel bug with the i915 module with certain laptop panels. I don't think the 4K panels are impacted by this bug...

Robert Strube (robstrube) wrote :

OK, after compiling 5.0.7 mainline + Ubuntu Patches + this patch from here (https://patchwork.freedesktop.org/patch/296411/) to fix the link training issue for my laptop panel, I am able to boot with modesetting.

Now I *am* noticing the problem. As others have suggested, bending back the laptop panel on it's hinge "resets" the keyboard and trackpad, then I can bend it back to a normal position and everything starts working.

One other thing worth mentioning is that the problem also exhibits itself in lightdm, not just gdm3.

Daniel van Vugt (vanvugt) wrote :

^^^
FYI that would be bug 1824216.

Tim Ryder (ryder-tim) wrote :

I have the exact same issue on Fedora 30. Bios 1.5.1 came out today and has the same exact issue.

Phusho (phusho) wrote :

I have reported already problem to Dell, but apparently they are not doing anything about this. Only update for WD19. If more people report it, may be they will start to work. Will try to connect with notebookcheck to bring some fuss up. I am not using windows at all and this is big problem for me.

Mario Limonciello (superm1) wrote :

FWIW a few other messages pop up to me in the above logs as suspicious to the described symptoms, especially with keyboard working in cryptsetup.

Mar 31 10:34:45 taplop org.gnome.Shell.desktop[5876]: libinput error: client bug: timer event25 debounce: offset negative (-111ms)
Mar 31 10:34:45 taplop org.gnome.Shell.desktop[5876]: libinput error: client bug: timer event25 debounce: offset negative (-44ms)
Mar 31 10:34:45 taplop org.gnome.Shell.desktop[5876]: libinput error: client bug: timer event25 debounce short: offset negative (-57ms)

When libinput initialized if it failed to configure those input devices, that /might/ explain the behavior. Flipping the hinge will cause them to come on/off the bus and let libinput try again.

Phusho (phusho) wrote :

There is symptom that if you wait for 30 seconds, input devices will start to work again, without flipping hinge. Also closing lid to sleep laptop and wake it again will work also. System engineer from Dell reported that default kenrel 4.15 will not have this problem, every other higher version will have it, including latest main stream version.

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

Other bug subscribers