blackhawk3008 n00b
Joined: 31 Dec 2005 Posts: 16 Location: Paris, France
|
Posted: Fri Jan 06, 2006 2:19 am Post subject: [ACPI] Problem after upgrading cpufreqd to 2.0.0 |
|
|
Hello !!
After I have made an update of my portage, and so cpufreqd was upgraded from 1.2.3 to 2.0.0, but cpufreqd cannot read config file anymore....
My config file is default config file installed with newest cpufreqd because syntax isn't exactly the same, here it is :
Code: | [General]
pidfile=/var/run/cpufreqd.pid
poll_interval=2
enable_plugins= programs,acpi_ac,cpu,acpi_battery
verbosity=7
[/General]
[Profile]
name=On Demand High
minfreq=40%
maxfreq=100%
policy=ondemand
[/Profile]
[Profile]
name=On Demand Low
minfreq=20%
maxfreq=80%
policy=ondemand
[/Profile]
[Profile]
name=Performance High
minfreq=100%
maxfreq=100%
policy=performance
[/Profile]
[Profile]
name=Performance Low
minfreq=80%
maxfreq=80%
policy=performance
[/Profile]
[Profile]
name=Powersave High
minfreq=70%
maxfreq=70%
policy=powersave
[/Profile]
[Profile]
name=Powersave Low
minfreq=30%
maxfreq=30%
policy=powersave
[/Profile]
[Rule]
name=AC Rule
ac=on # (on/off)
profile=Performance High
[/Rule]
[Rule]
name=AC Off - Low Battery
ac=off # (on/off)
battery_interval=0-30
profile=Powersave Low
[/Rule]
[Rule]
name=AC Off - Medium Battery
ac=off # (on/off)
battery_interval=30-70
profile=On Demand Low
[/Rule]
[Rule]
name=AC Off - High Power
ac=off # (on/off)
battery_interval=70-100
profile=On Demand High
[/Rule]
|
I've removed comments and adapted it to my laptop config which does not support temperature checks......
With this, cpufreqd complains about missing some library by syslog :
Code: | Jan 6 03:10:12 amilom1425 cpufreqd: load_plugin : Loading "/usr/lib/cpufreqd_programs.so" for plugin "programs".
Jan 6 03:10:12 amilom1425 cpufreqd: get_cpufreqd_object : Getting plugin object for "programs".
Jan 6 03:10:12 amilom1425 cpufreqd: initialize_plugin : Initializing plugin "programs-programs_plugin".
Jan 6 03:10:12 amilom1425 cpufreqd: load_plugin_list : plugin loaded: programs_plugin
Jan 6 03:10:12 amilom1425 cpufreqd: load_plugin : Loading "/usr/lib/cpufreqd_acpi_ac.so" for plugin "acpi_ac".
Jan 6 03:10:12 amilom1425 cpufreqd: load_plugin : /usr/lib/cpufreqd_acpi_ac.so: cannot open shared object file: No such file or directory
Jan 6 03:10:12 amilom1425 cpufreqd: load_plugin_list : plugin failed to load: acpi_ac
Jan 6 03:10:12 amilom1425 cpufreqd: load_plugin_list : discarded plugin acpi_ac
Jan 6 03:10:12 amilom1425 cpufreqd: load_plugin : Loading "/usr/lib/cpufreqd_cpu.so" for plugin "cpu".
Jan 6 03:10:12 amilom1425 cpufreqd: get_cpufreqd_object : Getting plugin object for "cpu".
Jan 6 03:10:12 amilom1425 cpufreqd: initialize_plugin : Initializing plugin "cpu-cpu_plugin".
Jan 6 03:10:12 amilom1425 cpufreqd: cpufreqd_cpu_init : called
Jan 6 03:10:12 amilom1425 cpufreqd: get_kversion : read kernel version 2.6.14-gentoo-r5.
Jan 6 03:10:12 amilom1425 cpufreqd: get_kversion : kernel version is 2.6.
Jan 6 03:10:12 amilom1425 cpufreqd: load_plugin_list : plugin loaded: cpu_plugin
Jan 6 03:10:12 amilom1425 cpufreqd: load_plugin : Loading "/usr/lib/cpufreqd_acpi_battery.so" for plugin "acpi_battery".
Jan 6 03:10:12 amilom1425 cpufreqd: load_plugin : /usr/lib/cpufreqd_acpi_battery.so: cannot open shared object file: No such file or directory
Jan 6 03:10:12 amilom1425 cpufreqd: load_plugin_list : plugin failed to load: acpi_battery
Jan 6 03:10:12 amilom1425 cpufreqd: load_plugin_list : discarded plugin acpi_battery
[...]
|
And indeed in /usr/lib there is not cpufreqd_acpi_battery.so and cpufreqd_acpi_ac.so........
I don't understand why, I've searched through portage but no package seems to bring these library...
So if anyone have same problem, please answer me of course... Thanks a lot...... _________________ Linux registered user #405505... |
|