Rob Weir wrote: > Sam Halliday said > > Rob Weir wrote: > > > Sam Halliday said > > > > 1 - powernowd does not work! with cpu frequency stuff all built > > > > into the 2.6.7 kernel, the modules loaded for 2.6.6 and > > > > sysfs mounted correctly... the folder > > > > /sys/devices/system/cpu/cpu0 > > > > is completely empty! no sub folders... nothing! > > > You need a kernel patch to support cpufreq on your machine, you can get > > > it here: http://lists.linuxppc.org/linuxppc-dev/200406/msg00024.html. > > > It's been merged into Linus' BK tree. I use cpufreqd, and I've attached > > > my config file. It runs at 1GHz when on AC power, half that on battery. > > > > cool... its working now. whats the pros/cons of cpufreqd against powernowd? > > Hm, I just gave powernowd a go. It has an interesting idea of gradually > sliding the CPU speed up and down instead of stepping by hundreds of > megahertz like cpufreqd does. On the other hand, it only cares about > CPU load, and doesn't change CPU speed depending on the power source, > etc. And it didn't actually seem to lower the CPU speed according to > "cat /proc/cpuinfo", nor in /sys/, but it does (according to strace) > seem to be writing to the correct locations.
i can see the frequency change in /proc/cpuinfo. hmm... scaling on power source. that seems like a good idea. > > btw... where in /proc can i find the laptop hd/cpu temperature? there is no > > entry in /proc/cpuinfo and i set CONFIG_TAU=y (no AVERGE though) in the > > kernel build. > > You don't want tau on a ibook g4, you want CONFIG_THERM_ADT746X in the > "Device Drivers" -> Macintosh -> "Support for thermal mgmnt on laptops > with ADT 746x chipset" menu. Make it a module so you can unload it > during suspend to disk. ok, i have that module. but where (apart from running hddtemp) can i get a reading of the CPU temperature? > > > > 2 - pbbuttonsd fails with the following: > > > > this works when i compile my own kernel. i don't know why it didn't work > > with the debian kernel. odd. > > Where you perhaps using the Fn key? it didn't even start up. i have no idea what was happening. its working now though. thanks for your help! cheers, Sam -- Free High School Science Texts http://www.nongnu.org/fhsst/ Sam's Homepages http://fommil.homeunix.org/~samuel/ http://www.ma.hw.ac.uk/~samuel/
pgpLxNoTjmyqQ.pgp
Description: PGP signature