lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070307072430.c29fd723.khali@linux-fr.org>
Date:	Wed, 7 Mar 2007 07:24:30 +0100
From:	Jean Delvare <khali@...ux-fr.org>
To:	"J.A. =?ISO-8859-1?Q?Magall=F3n" ?= <jamagallon@....com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org
Subject: Re: 2.6.21-rc2-mm2

Hi J.A.,

On Tue, 6 Mar 2007 16:46:09 +0100, J.A. Magallón wrote:
> On Tue, 6 Mar 2007 00:44:08 -0800, Andrew Morton <akpm@...ux-foundation.org> wrote:
> 
> > Temporarily at
> > 
> >   http://userweb.kernel.org/~akpm/2.6.21-rc2-mm2/
> 
> I have another question about i2c...
> 
> The 'sensors' program gives me a stange message:
> 
> w83627thf-i2c-9191-290
> Can't get adapter name for bus 9191    <<<<<-----------------------------
> VCore:     +1.49 V  (min =  +1.94 V, max =  +1.94 V)       ALARM  
> +12.0V:   +11.86 V  (min = +10.82 V, max = +13.19 V)              
> + 3.3V:    +3.30 V  (min =  +3.14 V, max =  +3.47 V)              
> ...
> 
> And gnome-sensors-applet can't read the sensors. If using libsensors, no

As a side note, this is bad design from gnome-sensors-applet. They
should definitely not plain stop just because they failed to retrieve
the i2c_adapter name, when all the monitored values are otherwise
available.

> value is displayed (I suppose an applicacion bug). And the access to sensors
> directly through i2c-dev gives an error like this:
> 
> Error opening sensor device file:
> /sys/devices/platform/i2c-9191/9191-0290/....
> 
> In fact, the real path is 
> 
> /sys/devices/platform/i2c-adapter:i2c-9191/9191-0290/....
> 
> I supposed it was a kernel change not tracked by userspace, but the strange
> thing is that looking at the code the sensors applet lists the sensors
> reding directories and files in /sys (AFAICS in the code).
> So perhaps there is a little inconsistency, /sys says in some place the
> sensor is at xxxxx, when it really is at yyyyy.
> Or the 'i2c-adapter:' is a bug and should be 'i2c-adapter/'.
> 
> ???

See:
http://bugzilla.kernel.org/show_bug.cgi?id=8115

lm-sensors SVN should work fine:
http://dl.lm-sensors.org/lm-sensors/snapshots/lm-sensors-r4338-20070305.tar.bz2
If not, please report.

We will release it as lm-sensors 2.10.3 soon.

-- 
Jean Delvare
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ