Gavin Atkinson
764442e03d
Add support to asmc(4) for Macmini 3,1.
...
PR: 190195
Submitted by: fbsdbugs2 sentry.org
MFC after: 1 week
Relnotes: yes
2014-07-05 21:34:37 +00:00
Rui Paulo
1269f4d431
Make the sudden motion sensor work on older models and add a bit of
...
debugging.
Submitted by: Christoph Langguth <christoph at rosenkeller.org>
MFC after: 1 week
2009-09-14 11:46:43 +00:00
Rui Paulo
be80e49a01
Add support for MacBook4,1.
...
Submitted by: Christoph Langguth <christoph at rosenkeller.org>
MFC after: 2 weeks
Approved by: re (kib)
2009-06-26 10:23:17 +00:00
Rui Paulo
941f9f10b2
Add support for MacBook Air. (not tested)
...
Obtained from: mactel-linux
2008-09-07 18:15:34 +00:00
Rui Paulo
d8246db039
Match the Mac Pro with 8 cores. This machine reports 35 temperature
...
sensors and some fans.
As I don't own this machine, I could not test this patch.
Obtained from: applesmc Linux driver.
2008-04-12 12:04:09 +00:00
Rui Paulo
b75dfbe80d
Actually, I was looking at the wrong Linux .c file. Set INIT2 to its
...
previous value.
While there, lower the delay for the misterious key.
2008-04-07 12:58:43 +00:00
Rui Paulo
4fb9bf66ad
* Add missing #else in the #ifdef DEBUG section.
...
* Fix the login in asmc_init().
* Change the INIT2 constant to reflect the same change in the Linux driver.
2008-04-07 12:09:59 +00:00
Rui Paulo
2208c50409
"Prettyfy" numbers in hexadecimal. No functional change.
2008-04-07 11:38:42 +00:00
Rui Paulo
4470f0f388
The SMC is represented on the acpi tables, so we can completely remove
...
dependency on isa. We are now an acpi child.
Also:
* Add compile time debugging activation
* Increase the delay for the SMS init flag.
2008-04-07 11:22:12 +00:00
Rui Paulo
32a8088fef
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)
2007-11-07 20:05:13 +00:00