Apple SMC (Motion sensor, light sensor, keyboard backlight)

modulename: applesmc.ko

configname: CONFIG_SENSORS_APPLESMC

Linux Kernel Configuration
└─>Device Drivers
└─>Hardware Monitoring support
└─>Apple SMC (Motion sensor, light sensor, keyboard backlight)
In linux kernel since version 2.6.24 (release Date: 2008-01-24)  
This driver provides support for the Apple System Management
Controller, which provides an accelerometer (Apple Sudden Motion
Sensor), light sensors, temperature sensors, keyboard backlight
control and fan control.

Only Intel-based Apple's computers are supported (MacBook Pro,
MacBook, MacMini).

Data from the different sensors, keyboard backlight control and fan
control are accessible via sysfs.

This driver also provides an absolute input class device, allowing
the laptop to act as a pinball machine-esque joystick.

Say Y here if you have an applicable laptop and want to experience
the awesome power of applesmc.

source code: