Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ACPI] Problem after upgrading cpufreqd to 2.0.0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
blackhawk3008
n00b
n00b


Joined: 31 Dec 2005
Posts: 16
Location: Paris, France

PostPosted: Fri Jan 06, 2006 2:19 am    Post subject: [ACPI] Problem after upgrading cpufreqd to 2.0.0 Reply with quote

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........ 8O
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...
Back to top
View user's profile Send private message
Gar
n00b
n00b


Joined: 12 Jan 2006
Posts: 3
Location: Berlin

PostPosted: Thu Jan 12, 2006 3:59 pm    Post subject: Reply with quote

Do you have "acpi" in your USE-flags? This is needed for the acpi-Plugins to compile since 2.0.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum