From owner-freebsd-current@FreeBSD.ORG Mon May 14 23:42:54 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED99316A402 for ; Mon, 14 May 2007 23:42:54 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by mx1.freebsd.org (Postfix) with ESMTP id 6816713C43E for ; Mon, 14 May 2007 23:42:54 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by core.fnop.net (Postfix) with ESMTP id DD5DD6909C1 for ; Tue, 15 May 2007 00:42:29 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id 99E666909C5; Tue, 15 May 2007 00:42:29 +0100 (WEST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on core.fnop.net X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=AWL, BAYES_00, FORGED_RCVD_HELO, RCVD_IN_DSBL,RCVD_IN_SORBS_DUL autolearn=no version=3.1.7 Received: from epsilon.local.fnop.net (87-196-125-241.net.novis.pt [87.196.125.241]) by core.fnop.net (Postfix) with ESMTP id 5FFE46909C1 for ; Tue, 15 May 2007 00:42:28 +0100 (WEST) Date: Tue, 15 May 2007 00:42:33 +0100 Message-ID: <86mz07ynti.wl%rpaulo@fnop.net> From: Rui Paulo To: current@freebsd.org In-Reply-To: <86k5vffjz8.wl%rpaulo@fnop.net> References: <86k5vffjz8.wl%rpaulo@fnop.net> User-Agent: Wanderlust/2.15.5 (Almost Unreal) Emacs/21.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: ClamAV using ClamSMTP Cc: Subject: Re: MacBook patches X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 May 2007 23:42:55 -0000 I have a driver for Apple SMC (System Management Console). If you want to play with all kinds of sensors (Sudden Motion Sensor aka SMS, Fan and Temperature), this is your chance. I'm interested mostly in people with MacBook Pros and Intel Mac Minis. Here's a sysctl output on a MacBook: hw.asmc.fan.0.speed: 2170 hw.asmc.fan.0.safespeed: 1200 hw.asmc.fan.0.minspeed: 1500 hw.asmc.fan.0.maxspeed: 6200 hw.asmc.fan.0.targetspeed: 2172 hw.asmc.temps: 33 61 58 63 46 59 59 hw.asmc.sms.x: 22 hw.asmc.sms.y: 9 hw.asmc.sms.z: 275 I also have ported the hdaps-gl utility from the Mactel-Linux svn. Basically, if your system has the Sudden Motion Sensor (MacBooks and MacBook Pros) you can have a OpenGL representation of how your laptop is in the physical world. Something like this: http://fnop.net/~rpaulo/priv/accelerometer.png (Yes, I was holding the laptop in air while taking the screenshot :-) The driver isn't yet in Perforce, so please contact me directly to get it. Thanks. P.S.: Now if anyone wants to make a clone of the MacSaber program for X11... -- Rui Paulo