Hello list,

I'm running a recent linux kernel (v5.1.2) on a Lenovo X380 Yoga with the 
thinkpad_acpi kernel module active:

bash-4.4# dmesg | grep think
[    1.912994] thinkpad_acpi: ThinkPad ACPI Extras v0.26
[    1.913000] thinkpad_acpi: http://ibm-acpi.sf.net/
[    1.913003] thinkpad_acpi: ThinkPad BIOS R0SET39W (1.23 ), EC unknown
[    1.913006] thinkpad_acpi: Lenovo ThinkPad X380 Yoga, model 20LJS43M00
[    1.913506] thinkpad_acpi: radio switch found; radios are enabled
[    1.913571] thinkpad_acpi: Tablet mode switch found (type: GMMS), currently 
in laptop mode
[    1.913801] thinkpad_acpi: This ThinkPad has standard ACPI backlight 
brightness control, supported by the ACPI video driver
[    1.913808] thinkpad_acpi: Disabling thinkpad-acpi brightness events by 
default...
[    1.916093] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is 
unblocked
[    1.921443] thinkpad_acpi: Standard ACPI backlight interface available, not 
loading native one
[    1.921451] thinkpad_acpi: volume: disabled as there is no ALSA support in 
this kernel
[    1.926063] thinkpad_acpi: battery 1 registered (start 128, stop 128)
[    1.926126] input: ThinkPad Extra Buttons as 
/devices/platform/thinkpad_acpi/input/input7
[  130.702563] thinkpad_acpi: setting the hotkey mask to 0xffffffff is likely 
not the best way to go about it
[  130.702568] thinkpad_acpi: please consider using the driver defaults, and 
refer to up-to-date thinkpad-acpi documentation
[  130.703930] thinkpad_acpi: asked for hotkey mask 0xffffffff, but firmware 
forced it to 0xfffffffb

My problem is, that the state of the tablet mode switch - which can be 
determined by reading 
/sys/bus/platform/drivers/thinkpad_acpi/thinkpad_acpi/hotkey_tablet_mode - 
never changes, no matter how far I open or close the Yoga's lid.

Also, in a dual boot setup (Windows 10 / Linux), when I switch the Yoga to 
tablet mode in Windows, reboot it in this state to linux and then "fold" it 
back to laptop mode, the "hotkey_tablet_mode" still tells me that the Yoga is 
in tablet mode (which means that the keyboard does not work...); and I did not 
find any way to switch it back to laptop mode under linux. Only after booting 
Windows again and rebooting in laptop mode, hotkey_tablet_mode holds the 
correct value.

I suppose that there's something wrong with my kernel config, but I have no 
clue what...

Maybe someone can give me a hint?

Thanks and best regards,
Christian





_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

Reply via email to