trying to scale the cpu freq

Matthew Garrett mjg59 at
Thu Sep 23 10:52:15 UTC 2004

On Thu, 2004-09-23 at 11:34 +0100, Mark Shuttleworth wrote:
> Matthew
> Do you think it would be possible to guess which modules are 
> appropriate, and have those configured for loading during the 
> installation process?

The kernel knows the necessary information - /proc/cpuinfo exports
everything. There's a couple of minor sticking points regarding old
Pentium IIIs (what module you have to use can depend on the motherboard
chipset, IIRC). On the other hand, I don't think there's currently any
sort of hotplug event generated for processors.

The easiest answer at the moment is probably to have a boot-time or
install-time script that parses /proc/cpuinfo and loads the appropriate
module. On x86, if that fails the next best thing would be to try the
acpi cpufreq module - ACPI exposes the processor performance states as
well, but often provides less control.

Matthew Garrett | mjg59 at

More information about the ubuntu-users mailing list