Changeset 274
- Timestamp:
- 02/25/99 09:37:29 (14 years ago)
- Location:
- lm-sensors/trunk/prog/detect
- Files:
-
- 2 modified
-
detect.pl (modified) (2 diffs)
-
sensors-detect (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/prog/detect/detect.pl
r273 r274 800 800 "/dev/i2c-$new_misdetected_ref->[$j]->{devnr}?!?\n"), 801 801 next; 802 i2c_set_slave_addr \*FILE,$new_misdetected_ref->[$j]->{address} or 803 print("Can't set I2C address for ", 804 "/dev/i2c-$new_misdetected_ref->[$j]->{devnr}?!?\n"), 805 next; 802 806 if (&$alias_detect ($datahash->{isa_addr},\*FILE, 803 807 $new_misdetected_ref->[$j]->{address})) { … … 815 819 open FILE,"/dev/i2c-$new_detected_ref->[$j]->{devnr}" or 816 820 print("Can't open ", 821 "/dev/i2c-$new_detected_ref->[$j]->{devnr}?!?\n"), 822 next; 823 i2c_set_slave_addr \*FILE,$new_detected_ref->[$j]->{address} or 824 print("Can't set I2C address for ", 817 825 "/dev/i2c-$new_detected_ref->[$j]->{devnr}?!?\n"), 818 826 next; -
lm-sensors/trunk/prog/detect/sensors-detect
r273 r274 800 800 "/dev/i2c-$new_misdetected_ref->[$j]->{devnr}?!?\n"), 801 801 next; 802 i2c_set_slave_addr \*FILE,$new_misdetected_ref->[$j]->{address} or 803 print("Can't set I2C address for ", 804 "/dev/i2c-$new_misdetected_ref->[$j]->{devnr}?!?\n"), 805 next; 802 806 if (&$alias_detect ($datahash->{isa_addr},\*FILE, 803 807 $new_misdetected_ref->[$j]->{address})) { … … 815 819 open FILE,"/dev/i2c-$new_detected_ref->[$j]->{devnr}" or 816 820 print("Can't open ", 821 "/dev/i2c-$new_detected_ref->[$j]->{devnr}?!?\n"), 822 next; 823 i2c_set_slave_addr \*FILE,$new_detected_ref->[$j]->{address} or 824 print("Can't set I2C address for ", 817 825 "/dev/i2c-$new_detected_ref->[$j]->{devnr}?!?\n"), 818 826 next;
