Changeset 4369
- Timestamp:
- 04/17/07 11:09:54 (6 years ago)
- Location:
- lm-sensors/trunk
- Files:
-
- 2 modified
-
CHANGES (modified) (1 diff)
-
prog/rrd/sens_update_rrd (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/CHANGES
r4358 r4369 7 7 Add dme1737 support 8 8 Program isadump: Detect when address bit 7 is a busy flag 9 Program sens_update_rrd: Support non-i2c devices (hwmon class) 9 10 Program sensors: Drop ddcmon and eeprom support 10 11 Add dme1737 support -
lm-sensors/trunk/prog/rrd/sens_update_rrd
r2982 r4369 30 30 then 31 31 echo "usage: $0 database.rrd sensor" 32 echo " sensor example: w83781d-isa-0290 (2.4) or 0-0290 (2.6)" 32 echo " sensor example: w83781d-isa-0290 (2.4 kernel)" 33 echo " 0-0290 (early 2.6 kernel)" 34 echo " hwmon0 (kernel 2.6.14 or later)" 33 35 exit 1 34 36 fi … … 39 41 SENSDIR=/proc/sys/dev/sensors 40 42 SDIR=/sys/bus/i2c/devices 41 if [ ! -d $SENSDIR ] 43 HWMONDIR=/sys/class/hwmon 44 SENSDEV=$2 45 if [ -d $HWMONDIR ] 42 46 then 43 if [ ! -d $SDIR ] 44 then 45 echo $0: 'No sensors found! (modprobe sensor modules?)' 46 exit 1 47 else 48 SYSFS=1 49 SENSDIR=$SDIR 50 fi 47 SYSFS=1 48 SENSDIR=$HWMONDIR 49 SENSDEV=$SENSDEV/device 50 elif [ -d $SDIR ] 51 then 52 SYSFS=1 53 SENSDIR=$SDIR 54 elif [ ! -d $SENSDIR] 55 then 56 echo $0: 'No sensors found! (modprobe sensor modules?)' 57 exit 1 51 58 fi 52 59 53 SENSDEV=$254 60 SENS=$SENSDIR/$SENSDEV 55 61 if [ ! -r $SENS ]
