[PATCH 1/1]: thermal driver therm_adt746.c

Thomas Haschka haschka at gmail.com
Mon Feb 23 22:58:56 AEDT 2015


Hi everyone,

The current driver linux/drivers/macintosh/therm_adt746x.c does not take
the HDD BUTTOMSIDE sensor into account. It actually should as the 12"
Powerbooks and IBooks are build in a way that the airflow cools the
harddrive and components around it. Actually there are air intake openings
just beneath the Harddrive. If you experiance hot enviromental temperatures
as I did in summer on certain occations, you will find out that in MacOSX
the fan spins up while it doesn't in linux. As this probably causes
harddrives, and maybe other components to fail early I think this should be
regarded as a fix to a severe bug.

Hence, I created this patch for single fan 12" Albooks, Ibooks etc.

Further I changed the output /sys/devices/temperatures so that all 3
sensors are readable from this locations. The output is furhter multiplied
by 1000 in order correspond to the ranges printed by other sensor readings.
( This also makes the readings monitorable with tools such as xosview )

I sign this contribution as demanded, and hope that it will help keeping
several Powerbooks and Ibooks out there running a bit longer:

(a) The contribution was created in whole by me and I
            have the right to submit it under the GPLv2
            (Gnu Public License version 2)

(b) The contribution is based upon previous work that, to the best
            of my knowledge, is covered under an appropriate open source
            license and I have the right under that license to submit that
            work with modifications, whether created in whole or in part
            by me, under the same open source license

 (d) I understand and agree that this project and the contribution
            are public and that a record of the contribution (including all
            personal information I submit with it, including my sign-off) is
            maintained indefinitely and may be redistributed consistent with
            this project or the open source license(s) involved.

Signed-off-by: Thomas Haschka (haschka at gmail.com)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20150223/73b4ce79/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: therm_adt746x.patch
Type: text/x-patch
Size: 9346 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20150223/73b4ce79/attachment.bin>


More information about the Linuxppc-dev mailing list