From owner-p4-projects@FreeBSD.ORG Mon Jul 9 20:47:07 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id E0D7116A473; Mon, 9 Jul 2007 20:47:06 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A547116A400; Mon, 9 Jul 2007 20:47:06 +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 1F5D413C4DE; Mon, 9 Jul 2007 20:47:05 +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 97332690D5A; Mon, 9 Jul 2007 21:41:54 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id 57257690D5D; Mon, 9 Jul 2007 21:41:54 +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=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.7 Received: from epsilon.local (62.169.81.27.rev.optimus.pt [62.169.81.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by core.fnop.net (Postfix) with ESMTP id 3BC99690D5A; Mon, 9 Jul 2007 21:41:53 +0100 (WEST) Message-ID: <46929EB9.9080804@fnop.net> Date: Mon, 09 Jul 2007 21:46:49 +0100 From: Rui Paulo User-Agent: Thunderbird 2.0.0.4 (X11/20070704) MIME-Version: 1.0 To: Eric Anderson References: <200707090212.l692ClZQ011342@repoman.freebsd.org> <46919A1B.8050909@fnop.net> <46923893.5090404@freebsd.org> <46923B2B.9050204@fnop.net> In-Reply-To: <46923B2B.9050204@fnop.net> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: Perforce Change Reviews Subject: Re: PERFORCE change 123168 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2007 20:47:07 -0000 Rui Paulo wrote: > Eric Anderson wrote: >> Rui Paulo wrote: >>> Rui Paulo wrote: >>>> http://perforce.freebsd.org/chv.cgi?CH=123168 >>>> >>>> Change 123168 by rpaulo@rpaulo_epsilon on 2007/07/09 02:12:16 >>>> >>>> Add support for keyboard backlight control (found on MacBook >>>> Pros). dev.asmc.N.light.{left,right} sysctl tree is now created. >>>> Setting a value on the "right" or "left" nodes sets the >>>> keyboard backlight level. Reading those sysctl nodes, gives >>>> the each sensor raw >>> I did not test this as I don't own a MacBook Pro, but it should work. >>> If anyone has a MacBook Pro and is willing to test, it would be much >>> appreciated. >>> >>> Regards. >> >> I have one of the newer MacBook Pros - with the LED backlight, etc. I've >> been thinking of using bootcamp to also run FreeBSD on this laptop. >> >> Do you have a wiki, or some info on how to best integrate your P4 tree >> on an -CURRENT system? > > http://wiki.freebsd.org/AppleMacbook > > To grab my p4 branch just setup your p4 view so that > //depot/projects/soc2007/rpaulo-macbook/... matches to something locally. > > I'm interested in knowing what works and what doesn't on the new MBPs. Also, the new drivers that you might want include on your kernel config are: msrtemp, backlight (doesn't work on MBPs) and asmc. -- Rui Paulo