On Sun, Jun 10, 2007 at 10:11:08PM -0400, Joey Hess wrote:
> Mattia Dongili wrote:
> > Can you try to collect some verbose log (cpufreqd -D -V7) of the
> > initialization/parsing phase to better understand what's going on?
> 
> Here's how it looks with the default config:

Ah, so you spotted a bug actually

...
> acpi_post_conf           : Initializing AC
> acpi_ac_init             : no ac adapters found, not a laptop?
> acpi_post_conf           : Initializing BATTERY
> acpi_battery_init        : no batteries found, not a laptop?
> acpi_battery_init        : exiting.
> acpi_post_conf           : Initializing TEMPERATURE
> acpi_temperature_init    : no acpi_temperature support found 
> /proc/acpi/thermal_zone/
> acpi_post_conf           : Initializing EVENT
> parse_config_profile     : [Profile] "Performance High" MAX is 2700000, MIN 
> is 2700000
> parse_config_profile     : [Profile] "Performance Low" MAX is 2025000, MIN is 
> 2025000
> parse_config_profile     : [Profile] "Powersave High" MAX is 1687500, MIN is 
> 1687500
> parse_config_profile     : [Profile] "Powersave Low" MAX is 1012500, MIN is 
> 1012500

this:
> plugin_handle_keyword    : Plugin acpi handles keyword ac (value=on)
> acpi_ac_parse            : called with: on
> acpi_ac_parse            : parsed: on

and this:
> plugin_handle_keyword    : Plugin acpi handles keyword battery_interval 
> (value=70-100)
> acpi_battery_parse       : called with: 70-100
> acpi_battery_parse       : parsed 70-100

and this:
> plugin_handle_keyword    : Plugin acpi handles keyword acpi_temperature 
> (value=55-100)
> acpi_temperature_parse   : called with: 55-100
> acpi_temperature_parse   : parsed 55-100

are not wanted given that initialization of the subcomponent failed

...
> It looks like the acpi plugin doesn't fail to load, since the machine
> does have some acpi info, but interprets an empty /proc/acpi/ac_adapter/
> as the machine not being on AC. Here's how this machine's /proc/acpi

yep, and a missing battery as completely discharged

...
> > What kind of use-case do you have in mind for desktop usage?
> 
> Avoiding wasting power in the default desktop install.
> 
> However, Pere points out that the kernelspace governors are used by
> default with cpufrequtils, so cpufreqd is probably not necessary.

yes, as you already found, cpufrequtils now tries to detect and load the
correct cpufreq driver and loads ondemand by default if this is
available.

Thanks
-- 
mattia
:wq!

Attachment: signature.asc
Description: Digital signature

Reply via email to