From 103a2bb87ffea12eeb85ed2ca030bbe5b56a06e9 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Sat, 23 Sep 2000 01:42:32 +0000 Subject: [PATCH] (mds) Remove "Unwritten" on lm87 driver. Add information message on where to download i2c-riva module if it is not found. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@883 7894878c-1315-0410-8ee3-d5d059ff63e0 --- prog/detect/sensors-detect | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 1c06166a..0468f1e2 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -421,7 +421,7 @@ use subs qw(lm78_detect lm78_isa_detect lm78_alias_detect lm75_detect }, { name => "National Semiconductor LM87", - driver => "Unwritten (LM87)", + driver => "lm87", i2c_addrs => [0x2c..0x2e], i2c_detect => sub { lm87_detect @_} , }, @@ -2263,6 +2263,10 @@ sub main unless ( =~ /^\s*[Nn]/) { if (system ("modprobe", $adapter)) { print "Loading failed ($!)... skipping.\n"; + if ($adapter eq "i2c-riva") { + print "** Note: i2c-riva module is available at \n"; + print "** http://drama.obuda.kando.hu/~fero/cgi-bin/rivatv.shtml\n"; + } } else { print "Module loaded succesfully.\n"; }