Index of /kernel/hwmon/adm9240
Name Last modified Size
Parent Directory 17-Feb-2010 18:32 -
adm9240.c 05-Oct-2008 09:07 24k
adm9240.txt 05-Oct-2008 09:07 8k
sensors.conf 05-Oct-2008 09:07 1k
sensors3.conf 05-Oct-2008 09:07 1k
adm9240
````````
Grant's first linux-kernel driver, completing an orphaned port from
2.4 to 2.6 begun by Michiel Rook. This project started for Grant in
March 2005 and the driver was in -mm from May 2005. Driver appeared
in mainline linux-kernel 2.6.13, in August 2005.
This driver also demonstrates automatic fan speed measurement clock
adjustment to prevent the common no-fan-speed-indication issue, more
info here.
status
```````
2008-01-07 test for libsensors 3.0.0 and 2.6.24-rc6, new sensors3.conf
file
2005-09-17 cleanup patches for 2.6.14-rc1 accepted for upstream.
Files above are now the latest driver for 2.6.14
2005-09-14 linux-2.6.14-rc1
````````````````````````````
Split patch into cleanups then dynamic sysfs, submit against 14-rc1,
forget half-bit offset, rounds to zero... A thinko.
before:
# lsmod
Module Size Used by
adm9240 16312 0
hwmon_vid 1984 1 adm9240
convert to dynamic sysfs
# lsmod
Module Size Used by
adm9240 14104 0
hwmon_vid 1984 1 adm9240
2005-09-13 updating the driver
```````````````````````````````
linux-2.6.13-mm3b with whitespace patch already accepted
# lsmod
Module Size Used by
adm9240 16472 0
hwmon_vid 2144 1 adm9240
linux-2.6.13-mm3c cleanups
remove half-bit offset from scaled zero value [Oops: remove this bit]
remove i2c read/write debug wrappers
change kmalloc + memset to kzalloc
test okay
linux-2.6.13-mm3d convert temperature to dynamic sysfs
done temperature:
# lsmod
Module Size Used by
adm9240 16120 0
hwmon_vid 2144 1 adm9240
done voltage:
# lsmod
Module Size Used by
adm9240 14584 0
hwmon_vid 2144 1 adm9240
done fans:
# lsmod
Module Size Used by
adm9240 14264 0
hwmon_vid 2144 1 adm9240
### -->> adm9240-cleanup-convert-dyn-sysfs-attr
linux-2.6.13[.n]
----------------
Driver is now in vanilla kernel and requires lm_sensors 2.9.2+ userspace
tools.
linux-2.6.12[.n], linux-2.6.11[.n]
----------------------------------
Driver and interim lm_sensors 2.9.1 patches are available from
ftp://bugsplatter.mine.nu/adm9240/.
plans
``````
Cleanup driver, target is 2.6.15. Shrink driver footprint using the
dynamic sysfs stuff, cleanup patch accepted, yet to start on driver.
thanks
```````
Jean Delvare aided Grant's stormy introduction to linux-kernel coding :o)
Dave Serls tested this driver on DS1780 and his feedback helped make a
better driver and improved lm_sensors userspace.
______________________________________________________________________________
/home/hwmon/adm9240/ Copyright (C) 2005 Grant Coady <gcoady.lk@gmail.com>