Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 173821

Summary: ksensors-0.7.3 does not handle readings from coretemp driver temp sensors
Product: Gentoo Linux Reporter: Paul Roberts <raulpoberts>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 116661, 120350    

Description Paul Roberts 2007-04-09 04:18:15 UTC
When using the coretemp driver with lm_sensors-2.10.2, the sensors command reports each core as having a single temp sensor and gives correct readings:

# sensors

coretemp-isa-0000 
Adapter: ISA adapter
temp1:       +69 C  (high =  +100 C)

coretemp-isa-0001
Adapter: ISA adapter
temp1:       +67 C  (high =  +100 C)

However, ksensors lists the two coretemp instances, but does not show any available sensors. This has been brought up at http://bugs.kde.org/show_bug.cgi?id=138593 and the problem stems from ksensors not validating temperature sensors without configurable min and max values. The patch available at the above URL corrects the problem in my case on a T2500 core duo laptop.

NOTE: I did not create the patch. It comes from Ben Voigt. It appears to me that the patch has not been passed on to the developers of ksensors.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-09 17:03:00 UTC
Upstream abandoned this package, multiple issus, patches available. Two options: Someone volunteers or we punt it.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-09 17:03:42 UTC
.
Comment 3 Michael Mauch 2007-04-11 22:11:48 UTC
http://bugs.gentoo.org/show_bug.cgi?id=171208 has an ebuild which uses the Debian patches from mirror://debian. The Debian ksensors maintainer is also one of the upstream maintainers.
Comment 4 Wulf Krueger (RETIRED) gentoo-dev 2007-04-15 02:10:15 UTC
This has been fixed by using the Debian patchset from bug 171208. I've just committed ksensors-0.7.3-r1 to CVS.