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

ibook2.2's thermal control dilemma



hi guys,
i own an ibook2.2 witch has adm1030 thermal control chip.

i've used for a while the kernel module written by cedric pradalier, but
now he suggest to use lm-sensors.

However i2c-keywest does not support lm-sensors, a little patch is needed:

--- 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;
+               if (i==1)
+                       chan->adapter.class = I2C_CLASS_HWMON;
                chan->adapter.algo = &keywest_algorithm;
                chan->adapter.algo_data = NULL;
                chan->adapter.client_register = NULL;


Ben does not like this patch. He also has explained why but i didn't
understood (the problem is my little tech skill :) ).


So, what i have to do?
- Patch every kernel with unsupported cedric's patch?
- Patch every kernel with unwelcome i2c-keywest patch?
- Live without thermal control?

The third way could be dangerous also for my not-so-hot machine?

TIA
	Luca

-- 
Beware of programmers who carry screwdrivers.
			-- Leonard Brandwein

Linux Registered User # 286841



Reply to: