[ibm-acpi-devel] Lid sensor on Yoga 11e
Linux kernel driver for ThinkPad laptops
Brought to you by:
akw,
hmholschuh
From: Steven P. <st...@pr...> - 2017-09-20 14:41:41
|
Hi Thinkpad ACPI folks, I recently bought a Thinkpad Yoga 11e (20GA001FUS). It's a multimode tablet/laptop and thus has a more-complicated than normal lid sensor. Unfortunately, this lid sensor doesn't work under linux - meaning the keyboard and touchpad exposed and active when in tablet mode. I'm a software person, so I'm a little lost trying to figure out which device/sensor/hardware I need to be looking at for this functionality. However, once I know which device/sensor/hardware to use, I'm happy to write and submit a patch to enable it. I was hoping you all could help me locate the right device/sensor/hardware. From what I've gathered so far: - There is a BOSCH 0200 accelerometer that Windows uses to detect orientation. Under Windows, disabling this sensor also disables the lid detection - but this doesn't seem to be the only device involved. Under linux it shows up as /sys/devices/pci0000:00/808622C1:02/i2c-3/i2c-BOSC0200:00, /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/808622C1:02/BOSC0200:00, /sys/bus/acpi/devices/BOSC0200:00 and /sys/bus/12c/devices/i2c-BPSC0200:00 - I have /sys/bus/acpi/devices/MSFT9001:00/ (and probably other locations). Under Windows, this is a (software?) lid sensor. This doesn't seem to work, but I have no idea why. I'm sure there is critical information I just don't know enough to give you - for that I apologize and I would be happy to send it along. Any help you can offer is much appreciated. Thank you, Steve |