[aadk-commits] dbailey: uClinux/trunk r148 -
/uClinux/trunk/uClinux-dist/vendors/Digium/S800I/
aadk-commits at lists.digium.com
aadk-commits at lists.digium.com
Tue Feb 6 09:58:27 MST 2007
Author: dbailey
Date: Tue Feb 6 10:58:26 2007
New Revision: 148
URL: http://svn.digium.com/view/aadk?view=rev&rev=148
Log:
Added hwmon and sysfs into the startup to report temperature
Added new config build defines to handle the ADT75 devices.
Modified:
uClinux/trunk/uClinux-dist/vendors/Digium/S800I/config.linux-2.6.x
uClinux/trunk/uClinux-dist/vendors/Digium/S800I/rc
Modified: uClinux/trunk/uClinux-dist/vendors/Digium/S800I/config.linux-2.6.x
URL: http://svn.digium.com/view/aadk/uClinux/trunk/uClinux-dist/vendors/Digium/S800I/config.linux-2.6.x?view=diff&rev=148&r1=147&r2=148
==============================================================================
--- uClinux/trunk/uClinux-dist/vendors/Digium/S800I/config.linux-2.6.x (original)
+++ uClinux/trunk/uClinux-dist/vendors/Digium/S800I/config.linux-2.6.x Tue Feb 6 10:58:26 2007
@@ -842,6 +842,7 @@
# CONFIG_I2C_BFIN_GPIO is not set
CONFIG_I2C_BFIN_TWI=m
CONFIG_TWICLK_KHZ=100
+CONFIG_TWI_HWMON=y
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_STUB is not set
# CONFIG_I2C_PCA_ISA is not set
@@ -906,6 +907,7 @@
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_LM63 is not set
CONFIG_SENSORS_LM75=m
+CONFIG_SENSORS_ADT75_VARIANT=y
# CONFIG_SENSORS_LM77 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM80 is not set
Modified: uClinux/trunk/uClinux-dist/vendors/Digium/S800I/rc
URL: http://svn.digium.com/view/aadk/uClinux/trunk/uClinux-dist/vendors/Digium/S800I/rc?view=diff&rev=148&r1=147&r2=148
==============================================================================
--- uClinux/trunk/uClinux-dist/vendors/Digium/S800I/rc (original)
+++ uClinux/trunk/uClinux-dist/vendors/Digium/S800I/rc Tue Feb 6 10:58:26 2007
@@ -22,8 +22,14 @@
modprobe blackfin_wd
modprobe i2c-bfin-twi
modprobe i2c-dev
+modprobe hwmon
+modprobe lm75
modprobe sx00i_cfgswx
+# mount sysfs to get access to i2c devices
+mount -t sysfs none /sys
+
+
CFGSWX=`cat /proc/cfgswx | grep CFGSWX=1`
if [ "$CFGSWX" = "CFGSWX=1" ]; then
sleep 1
More information about the aadk-commits
mailing list