On Mon, 2007-05-07 at 16:59 +0200, Soeren Sonnenburg wrote:
> well actually it is a #?$%load of amazing 16 sensors !
> 
> to make it work get the lm-sensors 2.10.3 package and apply this patch
> 
> http://strongm.ath.cx/patches/sensors-applesmc.patch
> 
> or alternatively download the debs (for debian sid-current, etc) from
> here:
> 
> http://strongm.ath.cx/debian/libsensors-dev_2.10.3-2_i386.deb
> http://strongm.ath.cx/debian/libsensors3_2.10.3-2_i386.deb
> http://strongm.ath.cx/debian/lm-sensors_2.10.3-2.dsc
> http://strongm.ath.cx/debian/lm-sensors_2.10.3-2.tar.gz
> http://strongm.ath.cx/debian/lm-sensors_2.10.3-2_i386.changes
> http://strongm.ath.cx/debian/lm-sensors_2.10.3-2_i386.deb
> http://strongm.ath.cx/debian/sensord_2.10.3-2_i386.deb

ahh and for it to work you need the attached kernel patch too...

Soeren
Let the applesmc device export its address to userspace. libsensors
needs this to recognize the device and give it a unique ID.

Signed-off-by: Jean Delvare <[EMAIL PROTECTED]>
---
 drivers/hwmon/applesmc.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- linux-2.6.21-git.orig/drivers/hwmon/applesmc.c	2007-05-07 14:20:42.000000000 +0200
+++ linux-2.6.21-git/drivers/hwmon/applesmc.c	2007-05-07 14:23:12.000000000 +0200
@@ -1190,7 +1190,8 @@ static int __init applesmc_init(void)
 	if (ret)
 		goto out_region;
 
-	pdev = platform_device_register_simple("applesmc", -1, NULL, 0);
+	pdev = platform_device_register_simple("applesmc", APPLESMC_DATA_PORT,
+					       NULL, 0);
 	if (IS_ERR(pdev)) {
 		ret = PTR_ERR(pdev);
 		goto out_driver;
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mactel-linux-users mailing list
Mactel-linux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mactel-linux-users

Reply via email to