History log of /freebsd-9.3-release/sys/dev/asmc/
Revision Date Author Comments
267654 20-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


235743 21-May-2012 jhb

Toss bogus mergeinfo.


235738 21-May-2012 sbruno

MFC r235634

Fix and update battery status bits according to linux driver


225736 23-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


197202 14-Sep-2009 rpaulo

Use %zu for size_t.
Fix printf format string (again)

Pointed out by: bde, ed


197195 14-Sep-2009 rpaulo

Fix previous commit. I got it backwards.

MFC after: 1 week


197193 14-Sep-2009 rpaulo

Fix printf format string in asmc_key_dump().

Spotted by: tinderbox
MFC after: 1 week


197190 14-Sep-2009 rpaulo

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


196455 23-Aug-2009 rpaulo

Make dev.asmc.N.light.control writable by everyone.

Submitted by: Patrick Lamaiziere <patfbsd at davenulle.org>
MFC after: 1 week


195046 26-Jun-2009 rpaulo

Add support for MacBook4,1.

Submitted by: Christoph Langguth <christoph at rosenkeller.org>
MFC after: 2 weeks
Approved by: re (kib)


193530 05-Jun-2009 jkim

Import ACPICA 20090521.


185433 29-Nov-2008 rpaulo

Check for non-existing model DMI string.

Submitted by: ganbold
Found with: Coverity Prevent(tm)
CID: 2434
MFC after: 1 week


182850 07-Sep-2008 rpaulo

Add support for MacBook Air. (not tested)

Obtained from: mactel-linux


178145 12-Apr-2008 rpaulo

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.


178122 11-Apr-2008 rpaulo

Don't call acpi_disabled() because we are not part of the acpi.ko
module. Instead, use resource_disabled() that doesn't depend on any
module.

Noticed by: Ian FREISLICH <ianf at clue.co.za>


178118 11-Apr-2008 rpaulo

Style nit. No functional change.


177979 07-Apr-2008 rpaulo

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.


177977 07-Apr-2008 rpaulo

* 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.


177976 07-Apr-2008 rpaulo

"Prettyfy" numbers in hexadecimal. No functional change.


177972 07-Apr-2008 rpaulo

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.


177941 05-Apr-2008 jhb

Move INTR_FILTER from opt_global.h to its own header.


173851 22-Nov-2007 rpaulo

Move ASMC_FAN_FUNCS in the Macmini structure declaration one line up
so that this macro expands in the right place.

Submitted by: Ed Schouten <ed at fxq.nl>
Approved by: njl (mentor)


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)