From owner-freebsd-current@FreeBSD.ORG Fri Jun 1 23:26:28 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 5CC1A16A400 for ; Fri, 1 Jun 2007 23:26:28 +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 E377113C45D for ; Fri, 1 Jun 2007 23:26:27 +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 91630690AA7; Sat, 2 Jun 2007 00:24:30 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id 52C99690ABC; Sat, 2 Jun 2007 00:24:30 +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.3 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL autolearn=no version=3.1.7 Received: from epsilon.local.fnop.net (unknown [83.144.140.161]) by core.fnop.net (Postfix) with ESMTP id 9EFF6690AA7; Sat, 2 Jun 2007 00:24:28 +0100 (WEST) Date: Sat, 02 Jun 2007 00:26:19 +0100 Message-ID: <866467uuhw.wl%rpaulo@fnop.net> From: Rui Paulo To: Arne Schwabe In-Reply-To: <46609F87.9090201@uni-paderborn.de> References: <86k5vffjz8.wl%rpaulo@fnop.net> <86ejkx56y6.wl%rpaulo@fnop.net> <46609F87.9090201@uni-paderborn.de> User-Agent: Wanderlust/2.15.5 (Almost Unreal) Emacs/21.3 Mule/5.0 (SAKAKI) X-cite-me: rpaulo 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: Rui Paulo , current@freebsd.org 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: Fri, 01 Jun 2007 23:26:28 -0000 At Sat, 02 Jun 2007 00:36:55 +0200, Arne Schwabe wrote: > > Rui Paulo wrote: > > Here's a new patch including the System Management Console driver: > > http://fnop.net/~rpaulo/priv/freebsd/macbook.diff > > > > You have to apply the patch with CWD src/sys. > > > > For more comments, see: > > http://wiki.freebsd.org/AppleMacbook > > > > Have fun. > > > I tried this on my shiny Macbook Pro. :) > > dmesg http://plai.de/freebsd/dmesg.mbp. Did you use any trick to start the second core? > sysctl -a |grep asmc > hw.asmc.fan.0.speed: 4498 > hw.asmc.fan.0.safespeed: 1200 > hw.asmc.fan.0.minspeed: 2000 > hw.asmc.fan.0.maxspeed: 6000 > hw.asmc.fan.0.targetspeed: 4492 > hw.asmc.fan.1.speed: 4489 > hw.asmc.fan.1.safespeed: 1200 > hw.asmc.fan.1.minspeed: 2000 > hw.asmc.fan.1.maxspeed: 6000 > hw.asmc.fan.1.targetspeed: 4492 > hw.asmc.temp.enclosure: 54 > hw.asmc.temp.northbridge1: 118 > ^^^ This seems to be bogus and it . Values jump between 65 and 125. > > hw.asmc.temp.northbridge2: 56 > hw.asmc.temp.heatsink1: 54 > hw.asmc.temp.heatsink2: 111 > ^^^ Same here. I'm still investigating about this problem. > % sysctl dev.cpu dev.cpufreq dev.acpi_throttle > dev.cpu.0.%desc: ACPI CPU > dev.cpu.0.%driver: cpu > dev.cpu.0.%location: handle=\_PR_.CPU0 > dev.cpu.0.%pnpinfo: _HID=none _UID=0 > dev.cpu.0.%parent: acpi0 > dev.cpu.0.freq: 2316 > dev.cpu.0.freq_levels: 2316/-1 2026/-1 1737/-1 1447/-1 1158/-1 868/-1 > 579/-1 289/-1 > dev.cpu.0.cx_supported: C1/1 C2/1 > dev.cpu.0.cx_lowest: C1 > dev.cpu.0.cx_usage: 100.00% 0.00% > dev.cpu.0.temperature: 62 > dev.cpu.1.%desc: ACPI CPU > dev.cpu.1.%driver: cpu > dev.cpu.1.%location: handle=\_PR_.CPU1 > dev.cpu.1.%pnpinfo: _HID=none _UID=0 > dev.cpu.1.%parent: acpi0 > dev.cpu.1.cx_supported: C1/1 C2/1 > dev.cpu.1.cx_lowest: C1 > dev.cpu.1.cx_usage: 100.00% 0.00% > dev.cpu.1.temperature: 65 > > freq_levels are missing for cpu1. Is this by design or a bug? They are present in dev.{est,p4tcc}. What does sysctl dev.est show? > The backlight module does nothing for my MBP. At least it does not crash > it :) Yes, I'm still porting it to the MBP. > The msrtemp module was not build with the kernel. But doing cd > /usr/src/sys/modules/msrtemp ; make obj all install worked for me: Cool. > But still may thanks for your work. No problem. Thanks ;-) -- Rui Paulo