Re: libsensors keywest configuration
On Tue, Aug 17, 2004 at 02:06 PM, Luca Bigliardi - shammash wrote:
> sensors-detect find successfully ADM1030 device over
> uni-n 1 bus, but i cannot find any doc about configuration
> of this bus in "sensors.conf".
i've found the solution (thanks to lm-sensors guys!):
the problem is that in 2.6.8.1 uni-n is not seen as sensors bus,
the solution is this patch:
--- linux-2.6.8.1/drivers/i2c/busses/i2c-keywest.c.orig 2004-07-24 22:39:04.000000000 +0200
+++ linux-2.6.8.1/drivers/i2c/busses/i2c-keywest.c 2004-08-17 21:03:23.000000000 +0200
@@ -618,6 +618,8 @@
chan->iface = iface;
chan->chan_no = i;
chan->adapter.id = I2C_ALGO_SMBUS;
+ if (i==1)
+ chan->adapter.class = I2C_CLASS_HWMON;
chan->adapter.algo = &keywest_algorithm;
chan->adapter.algo_data = NULL;
chan->adapter.client_register = NULL;
ciao
Luca
--
BOFH excuse #372:
Forced to support NT servers; sysadmins quit.
Linux Registered User # 286841
Reply to: