Sensors plugin does not obey "ignore" configuration line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cpufreqd (Debian) |
Fix Released
|
Unknown
|
|||
cpufreqd (Ubuntu) |
Fix Released
|
Low
|
Julien Lavergne | ||
Bug Description
Binary package hint: cpufreqd
Release: Ubuntu 9.04
Package: cpufreqd 2.3.3-4
Current behavior: The sensors plugin does not honor the "ignore" line in sensors.conf. This makes it impossible to choose between two features with the same name on different chips.
My sensors.conf:
chip "it8716-*"
chip "k8temp-*"
ignore temp1
Both chips have a feature named temp1, but the one for k8temp is garbage.
Cpufreqd.conf line: sensor=temp1:55-100
On my system, cpufreqd picks the first feature named "temp1" it finds, which is the one attached to k8temp. There is no way to make it pick the it8716 chip.
Expected behavior: if a certain feature on a chip is set to "ignore" in sensors.conf, cpufreqd's sensor plugin will not use it.
A patch is attached that fixes the problem for me. I have reported the bug upstream but I'm not sure how often it is updated.
ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelMo
Package: cpufreqd 2.3.3-4
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cpufreqd
Uname: Linux 2.6.28-13-generic x86_64
Related branches
Changed in cpufreqd (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in cpufreqd (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Julien Lavergne (gilir) |
Changed in cpufreqd (Debian): | |
status: | Unknown → New |
Changed in cpufreqd (Debian): | |
status: | New → Fix Released |
Patch against 2.3.3-4 package