cpufreqd version 2.3.3 does not work with (lib)sensors version 3.1.2

Bug #598138 reported by Nicolas Hüppelshäuser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cpufreqd (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: cpufreqd

Installing cpufreqd version 2.3.3. from ubuntu package manager depends on libsensors 3.1.2(?).

However the cpufreqd sensors plugin does not work:

Having the line
>sensor=temp4_input:53-100
in cpufreqd.conf yields in the following error:

$ cpufreqd -DV7 | grep sensors
discover_plugins : found plugin: sensors
load_plugin : Loading
"/usr/lib/cpufreqd/cpufreqd_sensors.so" for plugin "sensors".
get_cpufreqd_object : Getting plugin object for "sensors".
initialize_plugin : Initializing plugin "sensors-sensors_plugin".
load_plugin_list : plugin loaded: sensors_plugin
sensors_post_conf : using /etc/sensors.conf
plugin_handle_keyword : Plugin sensors_plugin handles keyword sensor
(value=temp4:53-100)
sensor_parse : feature "temp4" does not exist, try 'sensors
-u' to see a full list of available feature names.
plugin_handle_keyword : sensors_plugin is unable to parse this value
"temp4:53-100". Discarded
validate_plugins : sensors plugin is unused.
finalize_plugin : Finalizing plugin "sensors-sensors_plugin".
close_plugin : sensors plugin closed.

$ sensors -u
acpitz-virtual-0
Adapter: Virtual device
temp1:
  temp1_input: 37.00
  temp1_crit: 93.00

thinkpad-isa-0000
Adapter: ISA adapter
fan1:
  fan1_input: 2965.00
temp1:
  temp1_input: 37.00
temp2:
  temp2_input: 41.00
temp3:
  temp3_input: 30.00
temp4:
  temp4_input: 42.00
temp5:
  temp5_input: 32.00
temp6:
ERROR: Can't get value of subfeature temp6_input: Can't read
temp7:
  temp7_input: 27.00
temp8:
ERROR: Can't get value of subfeature temp8_input: Can't read

I was able to solve this problem by compiling cpufreqd 2.4.2. against libsensors4 from ubuntu repository after being hinted by Mattia Dongili that a newer version of cpufreqd might resolve that issue.

Hence I propose to include this or a newer version of cpufreqd into the ubuntu package repository instead of cpufreqd version 2.3.3 (and drop dependency to older version of libsensors).

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: cpufreqd (not installed)
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Thu Jun 24 17:30:55 2010
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: cpufreqd

Revision history for this message
Nicolas Hüppelshäuser (nicolas-hueppelshaeuser) wrote :

Sorry, I did a copy-and-paste error. The line in the cpufreqd.conf file is of course this:
> sensor=temp4:53-100

Just to match the output of cpufreqd further down the text...

Revision history for this message
Arie Skliarouk (skliarie) wrote :

I had the same misunderstanding. My "sensors -u" was:
root@mf:~# sensors -u
coretemp-isa-0000
Adapter: ISA adapter
Core 0:
  temp2_input: 70.00
  temp2_max: 80.00
  temp2_crit: 100.00
  temp2_crit_alarm: 1.00
Core 1:
  temp3_input: 70.00
  temp3_max: 80.00
  temp3_crit: 100.00
  temp3_crit_alarm: 1.00

so the /etc/cpufreqd.conf should have:
sensor=Core 0:50-74

BTW, the bug should be closed as INVALID, shouldn't it?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.