Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265211AbUAJP7j (ORCPT ); Sat, 10 Jan 2004 10:59:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265216AbUAJP7j (ORCPT ); Sat, 10 Jan 2004 10:59:39 -0500 Received: from mail2.speakeasy.net ([216.254.0.202]:8647 "EHLO mail2.speakeasy.net") by vger.kernel.org with ESMTP id S265211AbUAJP7d (ORCPT ); Sat, 10 Jan 2004 10:59:33 -0500 Date: Sat, 10 Jan 2004 09:59:11 -0600 From: John Lash To: gene.heskett@verizon.net Cc: Kernel Mailing List Subject: Re: Q re /proc/bus/i2c Message-Id: <20040110095911.7b99d40c.jlash@speakeasy.net> In-Reply-To: <200401100754.47752.gene.heskett@verizon.net> References: <200401100117.42252.gene.heskett@verizon.net> <3FFF59A0.2080503@clanhk.org> <200401100754.47752.gene.heskett@verizon.net> X-Mailer: Sylpheed version 0.9.6claws71 (GTK+ 1.2.10; i686-pc-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: 3808 Lines: 121 In a 2.6.x kernel, the sensors information is kept in sysfs. I haven't actually tried installing lmsensors on my 2.6 system, but if I look in: /sys/bus/i2c/devices/0-002d/ I can see files for all of the sensors on my system. Check below in your last mail where it is complaining about "Algorithm: Unavailable from sysfs". --john On Sat, 10 Jan 2004 07:54:47 -0500 Gene Heskett wrote: > On Friday 09 January 2004 20:47, J. Ryan Earl wrote: > >Gene Heskett wrote: > >>Greetings; > >> > >>I'm still trying to make sensors (and gkrellm) work when booted to > >> a 2.6.x kernel. > >> > >>The lm_sensors people say it should "just work", but so far no one > >> has acknowledged that it doesn't work here because I don't have an > >> "i2c" in my /proc/bus directory. Browsing all the > >> sensors-detection stuff, in particular the bus detection script, > >> this thing is hard coded to look for /proc/bus/i2c by default, or > >> you can pass it an argument. > >> > >>I don't have a "/proc/bus/i2c". Passing this script the > >> /sys/bus/i2c argument only gets an error return complaining that > >> its a directory. > > > >You've run the "sensors-detect" script and have all the proper > > modules loaded for your hardware? You should be able to just run > > "sensors" to see if everything is working. > > > I've also got a bttv card, whose init seems to be done quite early in > the bootup, and that requires I have i2c-dev in the kernel. So I > might as well put it all in, the current situation. All in, or all > out, it doesn't work. A run of sensors right now, returns this: > > [root@coyote lm_sensors-2.8.2]# sensors > eeprom-i2c-1-51 > Adapter: SMBus Via Pro adapter at 5000 > Algorithm: Unavailable from sysfs > Memory type: Unavailable > > eeprom-i2c-1-50 > Adapter: SMBus Via Pro adapter at 5000 > Algorithm: Unavailable from sysfs > Memory type: Unavailable > > eeprom-i2c-0-57 > Adapter: bt878 #0 [sw] > Algorithm: Unavailable from sysfs > Memory type: Unavailable > > eeprom-i2c-0-56 > Adapter: bt878 #0 [sw] > Algorithm: Unavailable from sysfs > Memory type: Unavailable > > eeprom-i2c-0-55 > Adapter: bt878 #0 [sw] > Algorithm: Unavailable from sysfs > Memory type: Unavailable > > eeprom-i2c-0-54 > Adapter: bt878 #0 [sw] > Algorithm: Unavailable from sysfs > Memory type: Unavailable > > eeprom-i2c-0-53 > Adapter: bt878 #0 [sw] > Algorithm: Unavailable from sysfs > Memory type: Unavailable > > eeprom-i2c-0-52 > Adapter: bt878 #0 [sw] > Algorithm: Unavailable from sysfs > Memory type: Unavailable > > eeprom-i2c-0-51 > Adapter: bt878 #0 [sw] > Algorithm: Unavailable from sysfs > Memory type: Unavailable > > eeprom-i2c-0-50 > Adapter: bt878 #0 [sw] > Algorithm: Unavailable from sysfs > Memory type: Unavailable > > Temic-i2c-0-61 > Adapter: bt878 #0 [sw] > Algorithm: Unavailable from sysfs > > Does this give a clue I'm too clueless to see? > > >-ryan > > -- > Cheers, Gene > "There are four boxes to be used in defense of liberty: soap, > ballot, jury, and ammo. Please use in that order." > -Ed Howdershelt (Author) > 99.22% setiathome rank, not too shabby for a WV hillbilly > Yahoo.com attornies please note, additions to this message > by Gene Heskett are: > Copyright 2003 by Maurice Eugene Heskett, all rights reserved. > > - > 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/ > - 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/