MacBook patches
Rui Paulo
rpaulo at fnop.net
Fri Jun 1 23:26:28 UTC 2007
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
More information about the freebsd-current
mailing list