Date: Wed, 7 Nov 2007 20:05:13 +0000 (UTC) From: Rui Paulo <rpaulo@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/asmc asmc.c asmcvar.h Message-ID: <200711072005.lA7K5DES032770@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rpaulo 2007-11-07 20:05:13 UTC
FreeBSD src repository
Added files:
sys/dev/asmc asmc.c asmcvar.h
Log:
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)
Revision Changes Path
1.1 +981 -0 src/sys/dev/asmc/asmc.c (new)
1.1 +160 -0 src/sys/dev/asmc/asmcvar.h (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711072005.lA7K5DES032770>
