@marmuta. Can you please share your fix in revision 2217 ? I thought of looking at ideapad-laptop driver today. I kinda have a hacky solution working locally. I would appreciate if you share revision 2217 so that I can do a full test. If it looks okay, I may try pushing it to the Linux kernel. It is a hacky trick but maybe they'll accept it. 00:37:35.527 INFO AutoShow can_hide_keyboard: locks=[] 00:37:35.527 DEBUG HardwareSensorTracker Opening '/sys/devices/platform/hp-wmi/tablet' failed: [Errno 2] No such file or directory: '/sys/devices/platform/hp-wmi/tablet' 00:37:35.528 INFO HardwareSensorTracker read tablet_mode=False from '/sys/bus/platform/devices/VPC2004:00/tablet_mode' with pattern '1' 00:37:35.528 INFO AutoShow can_show_keyboard: locks=[] tablet_mode=False 00:37:35.528 DEBUG AutoShow request_keyboard_visible(False): lock_visible=False can_hide=True can_show=False 00:37:36.496 INFO HardwareSensorTracker global key press 23 received Traceback (most recent call last): File "/usr/lib/python3/dist-packages/Onboard/XInput.py", line 395, in _on_device_event callback(ev) File "/usr/lib/python3/dist-packages/Onboard/GlobalKeyListener.py", line 175, in _on_device_event self.emit("key-press", event) File "/usr/lib/python3/dist-packages/Onboard/utils.py", line 1314, in emit callback(*args, **kwargs) File "/usr/lib/python3/dist-packages/Onboard/AutoHide.py", line 67, in _on_key_press s = self._key_listener.get_key_event_string(event) AttributeError: 'GlobalKeyListener' object has no attribute 'get_key_event_string' 00:37:36.581 DEBUG OnboardGtk keyboard state changed to 0x0 00:37:36.581 DEBUG Onboard.Keyboard set_modifiers(0) False None False 00:37:36.738 INFO AutoShow can_hide_keyboard: locks=[] 00:37:36.738 DEBUG HardwareSensorTracker Opening '/sys/devices/platform/hp-wmi/tablet' failed: [Errno 2] No such file or directory: '/sys/devices/platform/hp-wmi/tablet' 00:37:36.739 INFO HardwareSensorTracker read tablet_mode=False from '/sys/bus/platform/devices/VPC2004:00/tablet_mode' with pattern '1' 00:37:36.739 INFO AutoShow can_show_keyboard: locks=[] tablet_mode=False 00:37:36.740 DEBUG AutoShow request_keyboard_visible(True): lock_visible=False can_hide=True can_show=False I'm also not sure if that sysfs path would apply to the entire Yoga series. But that's something to think about later. root@learner:/sys/kernel/debug/ideapad# cat status Backlight max: 16 Backlight now: 3 BL power value: On ===================== Radio status: Off(0) Wifi status: Off(0) BT status: Off(0) 3G status: Off(0) ===================== Touchpad status:Off(0) SW_TABLET_MODE: On(1) Camera status: On(1) root@learner:/sys/kernel/debug/ideapad# cat status Backlight max: 16 Backlight now: 3 BL power value: On ===================== Radio status: Off(0) Wifi status: Off(0) BT status: Off(0) 3G status: Off(0) ===================== Touchpad status:On(1) SW_TABLET_MODE: Off(0) Camera status: On(1) rrs@learner:~$ cat /sys/bus/platform/devices/VPC2004:00/tablet_mode 0 2017-01-29 / 00:44:22 ♒♒♒ ☺ rrs@learner:~/rrs-home/Community/linux-upstream_GIT (tempsquash)$ cat /var/tmp/0001-Add-sysfs-interface-for-tablet-mode.patch From a2856f7cfbac5e63731feadc6510ba10c3ac040a Mon Sep 17 00:00:00 2001 From: Ritesh Raj Sarraf