Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758590AbXENSHk (ORCPT ); Mon, 14 May 2007 14:07:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756673AbXENSHe (ORCPT ); Mon, 14 May 2007 14:07:34 -0400 Received: from smtp-101-monday.nerim.net ([62.4.16.101]:4117 "EHLO kraid.nerim.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756636AbXENSHd (ORCPT ); Mon, 14 May 2007 14:07:33 -0400 Date: Mon, 14 May 2007 20:08:19 +0200 From: Jean Delvare To: "Antonino Ingargiola" Cc: "Linus Torvalds" , "Linux Kernel Mailing List" Subject: Re: Linux 2.6.22-rc1 Message-ID: <20070514200819.12fdb184@hyperion.delvare> In-Reply-To: <5486cca80705140904p307138bdx511bf2f186a07221@mail.gmail.com> References: <5486cca80705131010h2011487dnc948a3c57ce6decc@mail.gmail.com> <5486cca80705131150u313eeb43i30bf040e160ac419@mail.gmail.com> <20070514081022.7fcee97f@hyperion.delvare> <5486cca80705140134r318296b8k37ad6f4562b4b535@mail.gmail.com> <20070514141437.631fcfd1@hyperion.delvare> <5486cca80705140628w5ff43ebdqf6a5413203226d5@mail.gmail.com> <20070514172138.1c870793@hyperion.delvare> <5486cca80705140904p307138bdx511bf2f186a07221@mail.gmail.com> X-Mailer: Sylpheed-Claws 2.5.5 (GTK+ 2.10.6; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3226 Lines: 87 Hi Antonino, On Mon, 14 May 2007 18:04:00 +0200, Antonino Ingargiola wrote: > Hi Jean! > > 2007/5/14, Jean Delvare : > > > > Sure. On 2.6.21.1: > > > > > > via686a-isa-6000 > > > Adapter: ISA adapter > > > CPU core: +1.63 V (min = +0.06 V, max = +3.10 V) > > > +2.5V: +2.45 V (min = +0.06 V, max = +3.10 V) > > > I/O: +3.52 V (min = +3.12 V, max = +3.45 V) ALARM > > > +5V: +5.05 V (min = +4.73 V, max = +5.20 V) > > > +12V: +12.30 V (min = +11.35 V, max = +12.48 V) > > > CPU Fan: 0 RPM (min = 42187 RPM, div = 2) > > > P/S Fan: 2657 RPM (min = 42187 RPM, div = 2) ALARM > > > > Hint: increase the fan clock dividers to 4. > > I've not found an obvious way to set it in sensors.conf. Could you > point me to some doumentation, thanks. sensors.conf supposedly _is_ the the documentation ;) Search for the following line in /etc/sensors.conf: chip "via686a-*" After this line, add: set fan1_div 4 set fan2_div 4 Save, quit, run "sensors -s" (as root), that should do it. > > > while on 2.6.22-rc1: > > > > > > via686a-i2c-9191-6000 > > > ERROR: Can't get adapter or algorithm?!? > > > > Ah, interesting. Could it be that the gnome applet quits because it > > fails to get the adapter name? That wouldn't be very smart, but that's > > possible. > > Just for the record. Does not quit. It displays on the panel "Chip not found.". > > > This is a side effect of an i2c-core cleanup. This is already fixed in > > lm_sensors 2.10.3 (libsensors.so.3.1.3). Care to give it a try and > > confirm it fixes the problem? Note that it might be a bit tricky to get > > the gnome applet to use your own libsensors rather than the system one. > > You might need to set the LD_LIBRARY_PATH environment variable before > > the applet starts, or something similar. > > Luckily the 2.10.3 lm-sensors version is on unstable. The backport to > Debian Etch was straightforward. Now the applet works again! And the > P/S fan indicator (you may have noted that showed 0 in the 2.6.22-rc1 > case) works too. Many thanks ;-). Great, this is good news. The 0 RPM reading isn't related to the problem you had, this is a coincidence. 2657 RPM (which your other example shows) is the lowest fan speed this chip can measure with a fan clock divider of 2, anything slower is reported as 0 RPM. That's the reason why I suggested switching the divider to 4. > Is this new version required only for the via686 chip or should be a > general advise for Debian Etch users to upgrade to lm-sensors >= > 2.10.3 for kernels >= 2.6.22? The problem affects almost all hardware monitoring chips, so this is a general advice. I've added a note about it on the lm-sensors website. Alternatively though, you could have recompiled your kernel with CONFIG_SYSFS_DEPRECATED=y, then lm_sensors 2.10.1 would have worked fine again. Sorry for not mentioning this before, this might have been easier than upgrading lm_sensors. -- Jean Delvare - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/