diff options
author | Nicolas Boichat <nicolas@boichat.ch> | 2007-05-08 03:24:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:00 -0400 |
commit | 6f2fad748ccced5b9313efce2a2c7ae4c04ef564 (patch) | |
tree | c626ac5a1d17a130e73b5648580ad20a6b518562 /drivers/hwmon/Kconfig | |
parent | ee7b9e3706b9c5f90113eb16a1a84a1c01e09f95 (diff) |
Apple SMC driver (hardware monitoring and control)
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).
[bunk@stusta.de: make drivers/hwmon/applesmc.c:backlight_work stati]
[khali@linux-fr.org: fix temperature attribute file names]
Signed-off-by: Nicolas Boichat <nicolas@boichat.ch>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r-- | drivers/hwmon/Kconfig | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 6d105a1d41b..25b72a49170 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig | |||
@@ -594,6 +594,30 @@ config SENSORS_HDAPS | |||
594 | Say Y here if you have an applicable laptop and want to experience | 594 | Say Y here if you have an applicable laptop and want to experience |
595 | the awesome power of hdaps. | 595 | the awesome power of hdaps. |
596 | 596 | ||
597 | config SENSORS_APPLESMC | ||
598 | tristate "Apple SMC (Motion sensor, light sensor, keyboard backlight)" | ||
599 | depends on HWMON && INPUT && X86 | ||
600 | select NEW_LEDS | ||
601 | select LEDS_CLASS | ||
602 | default n | ||
603 | help | ||
604 | This driver provides support for the Apple System Management | ||
605 | Controller, which provides an accelerometer (Apple Sudden Motion | ||
606 | Sensor), light sensors, temperature sensors, keyboard backlight | ||
607 | control and fan control. | ||
608 | |||
609 | Only Intel-based Apple's computers are supported (MacBook Pro, | ||
610 | MacBook, MacMini). | ||
611 | |||
612 | Data from the different sensors, keyboard backlight control and fan | ||
613 | control are accessible via sysfs. | ||
614 | |||
615 | This driver also provides an absolute input class device, allowing | ||
616 | the laptop to act as a pinball machine-esque joystick. | ||
617 | |||
618 | Say Y here if you have an applicable laptop and want to experience | ||
619 | the awesome power of applesmc. | ||
620 | |||
597 | config HWMON_DEBUG_CHIP | 621 | config HWMON_DEBUG_CHIP |
598 | bool "Hardware Monitoring Chip debugging messages" | 622 | bool "Hardware Monitoring Chip debugging messages" |
599 | depends on HWMON | 623 | depends on HWMON |