[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ibook2.2's thermal control dilemma



On Wed, 2005-02-23 at 22:03 +1100, Cedric Pradalier wrote:

> If Ben really don't want to specify what is on the bus, then we can say that there can be
> everything on the bus:
> --- i2c-keywest.c.orig 2004-07-24 22:39:04.000000000 +0200
> +++ 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;
> +                chan->adapter.class = I2C_CLASS_ALL;
>                  chan->adapter.algo = &keywest_algorithm;
>                  chan->adapter.algo_data = NULL;
>                  chan->adapter.client_register = NULL;
> 
> Anyway, we cannot expect the i2c people to change their design,  so I think putting the
> I2C_CLASS_HWMON would be harmless, and finally make lm-sensors work on ibook. 

As long as people don't start blowing up their machines by screwing up
thermal control like i've heard happens regulary on x86...

Ben.




Reply to: