I have a laptop with a fold back display (Toshiba Satellite P50W). When I fold it all the way back it acts more like a tablet, however the keyboard is still active an easy to bump keys on.
I'm pretty sure these laptops have a sensor on the hinge so they can tell they are folded back and cause the keyboard to disable / go into tablet mode. This doesn't appear to work in Ubuntu. I haven't been able to find where such a sensor would be in Linux (doesn't seem to show up in the ACPI code, or in dmesg).
Does anyone know how to get it to work in Ubuntu?
acpi_listen
to see if a signal is sent when your laptop is morphed into a tablet. After that it's straight forward to disable keyboard and reenable when it morphs back from tablet to laptop.