Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197075 - >=gnome-extra/sensors-applet-1.7.12 applet shows incorrect values
Summary: >=gnome-extra/sensors-applet-1.7.12 applet shows incorrect values
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-25 20:08 UTC by Néstor Amigo Cairo
Modified: 2009-05-17 18:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Néstor Amigo Cairo 2007-10-25 20:08:13 UTC
When I use gnome-sensors-1.7.12 (or latest-1.8.1 version), I can see CPU Temperature of my board, and HDD Temperature, but all the other values (Voltages, and so on) show as ERROR. When using sensors application, I get the correct values, so it should be some parsing/library malfunction.



Reproducible: Always

Steps to Reproduce:
1. Load lm_sensors
2. Load gnome-sensors applet
3. Some values are shown as 'ERROR'

Actual Results:  
I can't see all the values correctly

Expected Results:  
I should be able to see the values as follows ('sensors' output): 

it8716-i2c-9191-228
 ERROR: Can't get adapter or algorithm?!?
VCore:     +1.09 V  (min =  +0.00 V, max =  +4.08 V)   
VDDR:      +1.87 V  (min =  +0.00 V, max =  +4.08 V)   
+3.3V:     +3.30 V  (min =  +0.00 V, max =  +4.08 V)   
+5V:       +4.92 V  (min =  +0.00 V, max =  +6.85 V)   
+12V:     +12.10 V  (min =  +0.00 V, max = +16.32 V)   
in5:       +3.17 V  (min =  +0.00 V, max =  +4.08 V)   
in6:       +1.14 V  (min =  +0.00 V, max =  +4.08 V)   
5VSB:      +4.92 V  (min =  +0.00 V, max =  +6.85 V)   
VBat:      +3.07 V
fan1:     1254 RPM  (min =    0 RPM)                   
fan2:        0 RPM  (min =    0 RPM)                   
temp1:       +31°C  (low  =  +127°C, high =  +127°C)   sensor = thermistor   
temp2:       +29°C  (low  =  +127°C, high =  +127°C)   sensor = thermistor   
temp3:       +22°C  (low  =  +127°C, high =  +127°C)   sensor = diode   
vid:      +1.100 V

k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:
             +29°C
Core1 Temp:
             +30°C

#    /etc/conf.d/sensors - Defines modules loaded by /etc/init.d/lm_sensors
#    Copyright (c) 1998 - 2001  Frodo Looijaard <frodol@dds.nl>
#
#    This program is free software; you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation; either version 2 of the License, or
#    (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program; if not, write to the Free Software
#    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
#
# See also the lm_sensors homepage at:
#     http://www.lm-sensors.org/
#
# This file is used by /etc/init.d/lm_sensors and defines the modules to
# be loaded/unloaded. This file is sourced into /etc/init.d/lm_sensors.
#
# The format of this file is a shell script that simply defines the modules
# in order as normal variables with the special names:
#    MODULE_0, MODULE_1, MODULE_2, etc.
#
# Please note that the numbers in MODULE_X must start at 0 and increase in
# steps of 1. Any number that is missing will make the init script skip the
# rest of the modules. Use MODULE_X_ARGS for arguments.
#
# List the modules that are to be loaded for your system
#
# Generated by sensors-detect on Sat Oct 13 01:29:07 2007

# Load modules at startup
LOADMODULES=no

# Initialize sensors at startup
INITSENSORS=yes

MODULE_0=k8temp
MODULE_1=it87
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-10-25 20:17:48 UTC
please paste your emerge --info and include the steps that lead you to find this problem (any recent updates, kernel change, whatever)
Comment 2 Néstor Amigo Cairo 2007-10-25 20:25:38 UTC
I'm always having this problem. I have further investigated it, and it is related to the way the applet handles the text output of 'sensors' application.

Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Thu, 18 Oct 2007 20:30:09 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 arts avivo bash-completion berkdb bitmap-fonts bzip2 cairo calendar cddb cdparanoia cdr cli cracklib crypt cscope css cups dbus dga dri dts dvd dvdr dvdread eds emboss encode esd evo examples exif fam ffmpeg fftw firefox flac foomaticdb fortran gdbm gif glut gnome gnutls gphoto2 gpm gstreamer gtk hal iconv idn ieee1394 ipv6 isdnlog java javascript jikes jpeg jpeg2k kde kerberos ldap libsamplerate lm_sensors mad midi mikmod mime mmap mmx mng mono mp3 mpeg mpi mplayer msn mudflap musicbrainz ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcntl pcre pda pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection scanner sdl session sharedmem slp speex spell spl sse sse2 ssl svg symlink tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis wifi wmf x264 xattr xcomposite xine xinerama xml xorg xpm xprint xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="rate" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" USERLAND="GNU" VIDEO_CARDS="fglrx radeon vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-10-02 22:26:59 UTC
did you report this upstream ? doesn't look like it's a problem at our level.
Comment 4 Pacho Ramos gentoo-dev 2008-10-24 16:16:30 UTC
I don't have this problem with 1.8.2 and lm_sensors-2.10.7
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-16 11:37:06 UTC
adding upstream to CC.
Comment 6 Alex Murray 2009-04-02 10:40:57 UTC
(In reply to comment #2)
> I'm always having this problem. I have further investigated it, and it is
> related to the way the applet handles the text output of 'sensors' application.
> 
sensors-applet doesn't parse the output from the sensors command - it either uses the libsensors library (if you have USE=lm_sensors - which it appears you do) or it directly accesses the sensor device files (if you don't have USE=lm_sensors).

Can you confirm if this still occurs with the latest version of sensors-applet (2.2.3)?
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-17 18:52:41 UTC
please get back to us.