Problems with a hybrid laptop after kernel 4.13.5-200 (F26)
I have a ThinkPad Yoga 11e running Fedora 26, which is a convertible notebook/tablet device. Prior to a recent kernel update, it worked just fine as a plain laptop, and there was no support for the tablet fcuntionality.
After upgrading to kernel 4.13.5-200, the laptop is no longer usable.
There appears to be support for setting the screen orientation based on the accelerometer. Unfortunately, the orientation is 90° out of sync.
The device is stuck in "tablet" mode, which means that the keyboard and mouse are disabled. The touch screen works and I can get an on-screen keyboard, but I'd like to use the actual keyboard.
It looks like the screen orientation issue can be solved by a simple patch to the udev hwdb. However, I'm less certain why the device thinks it's in tablet mode. In the kernel logs, I see:
[ 8.875546] thinkpad_acpi: Tablet mode switch found (type: MHKG), currently in laptop mode
...which is exactly what I saw in previous kernels (and in any case would not seem to be the source of getting stuck in tablet mode).
While it would be super awesome to have the laptop/tablet conversion working, I would prefer "just act like a laptop" over "just act like a tablet", because having no functioning keyboard and mouse makes life difficult. Where should I be looking for clues?
There is a slightly different set of modules loaded in 4.13.x vs. the working 4.11 kernel:
# diff -U0 modules.4.11.8-300.fc26.x86_64 modules.4.13.9-200.fc26.x86_64
--- modules.4.11.8-300.fc26.x86_64 2017-10-28 09:37:43.548039245 -0400
+++ modules.4.13.9-200.fc26.x86_64 2017-10-28 09:18:57.448781996 -0400
@@ -3,0 +4,2 @@
+bmc150_accel_core
+bmc150_accel_i2c
@@ -23,0 +26 @@
+ecdh_generic
@@ -29,2 +31,0 @@
-i2c_designware_core
-i2c_designware_platform
@@ -34,0 +36,2 @@
+industrialio
+industrialio_triggered_buffer
@@ -35,0 +39 @@
+intel_int0002_vgpio
@@ -57,0 +62 @@
+kfifo_buf
@@ -138,0 +144 @@
+wmi_bmof
I have that model and those problems as well. I found the same solution regarding the accelerometer, glad someone was able to successfully submit a patch for it. Until Fedora receives the updated systemd, I have the tilt locked.
As far as keyboard and mouse, it seems to be this issue: https://bbs.archlinux.org/viewtopic.p... . However, those instructions don't seem to work for Fedora. The issue is supposed to be patched for 4.14. I have an external keyboard and mouse plugged in while trying to troubleshoot this.
I'm pretty sure that's not the problem, the
input-polldev
module isn't loaded on my system. I've updated the question to show thelsmod
difference between the working and non-working kernels.