298937 |
02-May-2016 |
adrian |
[asmc] add support for more models and restore keyboard backlight after resume.
This patch adds support for restoring backlight after resume and adds models Macbook3,1 MacbookAir5,1 MacbookAir5,2
It also incorporates fixes for bug #175260, bug #203610 and bug #203512 so those can be closed if this patch is applied.
PR: kern/209156 PR: kern/175260 PR: kern/203610 PR: kern/203512 Submitted by: Johannes Lundberg <johannes@brilliantservice.co.jp>
|
173426 |
07-Nov-2007 |
rpaulo |
Driver for the Apple System Management Console (SMC). This hardware is present on the MacBook, MacBook Pro, and Intel MacMini.
This driver exports information via sysctl in its private sysctl tree dev.asmc.*. You can get information about temperatures, fan speeds, the keyboard light sensor and the Sudden Motion Sensor (SMS). The SMS is very useful to park the disk heads when the laptop is moved. Basically, the SMS is setup so that, under movement, we get an interrupt on irq 6 and a devd notification is sent.
Sponsored by: Google Summer of Code 2007 Approved by: njl (mentor) Reviewed by: attilio (previous version, but very similar), jhb (interrupt specific review)
|