Hello Nicolas! I want to use the AppleSMC sensors with lm-sensors. I found the following patch on the mailing-list. Is it still needed? If so, why isn't is in the mactel patches?
From: http://www.mail-archive.com/[EMAIL PROTECTED]/msg01064.html 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]> -- 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; Mit freundlichen Grüßen Sven Anders -- Sven Anders <[EMAIL PROTECTED]> () Ascii Ribbon Campaign /\ Support plain text e-mail ANDURAS service solutions AG Innstraße 71 - 94036 Passau - Germany Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55 Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht Passau HRB 6032 Mitglieder des Vorstands: Sven Anders, Marcus Junker Vorsitzender des Aufsichtsrats: Dipl. Kfm. Thomas Träger
begin:vcard fn:Sven Anders n:Anders;Sven org:ANDURAS AG;Research and Development adr;quoted-printable:;;Innstra=C3=9Fe 71;Passau;Bavaria;94036;Germany email;internet:[EMAIL PROTECTED] title:Dipl. Inf. tel;work:++49 (0)851 / 490 50 -0 tel;fax:++49 (0)851 / 590 50 - 55 x-mozilla-html:FALSE url:http://www.anduras.de version:2.1 end:vcard
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- 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-devel mailing list Mactel-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel