OLPC XO-1.5 ebook switch

modulename: xo15-ebook.ko

configname: CONFIG_XO15_EBOOK

Linux Kernel Configuration
└─>Device Drivers
└─>X86 Platform Specific Device Drivers
└─>OLPC XO-1.5 ebook switch
In linux kernel since version 2.6.39 (release Date: 2011-05-18)  
Support for the ebook switch on the OLPC XO-1.5 laptop.

This switch is triggered as the screen is rotated and folded down to
convert the device into ebook form.

source code: