libinput disables bluetooth input devices when in tablet-mode
I am using a thinkpad yoga370. My set-up is such that I want to use the thinkpad as a pure tablet with an external bluetooth keyboard for regular keyboard/mouse inputs. However, when turning the lid, the bluetooth keyboard gets disabled.
My workaround is to use an evemu-recording that I did when switching from tablet mode to normal mode. The recording is replayed after libinput switches to tablet mode. In that way I keep the bluetooth keyboard activated.
Version: 1.10.4-1
xinput -list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ETPS/2 Elantech Touchpad id=13 [slave pointer (2)]
⎜ ↳ ETPS/2 Elantech TrackPoint id=14 [slave pointer (2)]
⎜ ↳ Wacom Pen and multitouch sensor Finger touch id=9 [slave pointer (2)]
⎜ ↳ Wacom Pen and multitouch sensor Pen stylus id=10 [slave pointer (2)]
⎜ ↳ Wacom Pen and multitouch sensor Pen eraser id=16 [slave pointer (2)]
⎜ ↳ ThinkPad Compact Bluetooth Keyboard with TrackPoint id=17 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Integrated Camera: Integrated C id=11 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=15 [slave keyboard (3)]
↳ ThinkPad Compact Bluetooth Keyboard with TrackPoint id=18 [slave keyboard (3)]
Recording of bluetooth keyboard when in tablet mode: switch_to_tablet_btkeyboard.evemu
Recording when switching to tablet mode: switch_to_tablet.evemu
My recording that i automatically replayed: tablet.evemu
Edited by Peter Hutterer