History log of /freebsd-10.3-release/sys/dev/asmc/asmcvar.h
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 296373 04-Mar-2016 marius

- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1
builds.
- Update newvers.sh to reflect RC1.
- Update __FreeBSD_version to reflect 10.3.
- Update default pkg(8) configuration to use the quarterly branch.

Approved by: re (implicit)

# 273302 20-Oct-2014 rpaulo

MFC r271975:
Improvements to asmc(4):

1. changed the code so that 2**16 keys are supported
2. changed the number of possible fans in a system from 2 to 6
3. added write support for some fan sysctls
4. added a new sysctl which shows the ID of the fan
5. added four more apple models with their temperature keys
6. changed the maxnumber of temperature keys from 36 to 80
7. replaced several fixed buf sizes to sizeof buf

Obtained from: Denis Ahrens denis at h3q.com


# 271069 03-Sep-2014 gavin

Merge r268303 from head:

Add support to asmc(4) for Macmini 3,1.

PR: 190195
Submitted by: fbsdbugs2 sentry.org
Relnotes: yes


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

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


# 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


# 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)


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


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


# 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)