Re: Q re /proc/bus/i2c

From: Gene Heskett
Date: Sat Jan 10 2004 - 13:13:38 EST


On Saturday 10 January 2004 10:59, John Lash wrote:
>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.

I do not have an 0-002d subdir in /sys/bus/i2c/devices
Here is what I do have:
-------------------------
[root@coyote devices]# tree
.
|-- 0-0050 -> ../../../devices/pci0000:00/0000:00:09.0/i2c-0/0-0050
|-- 0-0051 -> ../../../devices/pci0000:00/0000:00:09.0/i2c-0/0-0051
|-- 0-0052 -> ../../../devices/pci0000:00/0000:00:09.0/i2c-0/0-0052
|-- 0-0053 -> ../../../devices/pci0000:00/0000:00:09.0/i2c-0/0-0053
|-- 0-0054 -> ../../../devices/pci0000:00/0000:00:09.0/i2c-0/0-0054
|-- 0-0055 -> ../../../devices/pci0000:00/0000:00:09.0/i2c-0/0-0055
|-- 0-0056 -> ../../../devices/pci0000:00/0000:00:09.0/i2c-0/0-0056
|-- 0-0057 -> ../../../devices/pci0000:00/0000:00:09.0/i2c-0/0-0057
|-- 0-0061 -> ../../../devices/pci0000:00/0000:00:09.0/i2c-0/0-0061
|-- 1-0050 -> ../../../devices/pci0000:00/0000:00:11.0/i2c-1/1-0050
`-- 1-0051 -> ../../../devices/pci0000:00/0000:00:11.0/i2c-1/1-0051

11 directories, 0 files
--------------------------
In checking the 'name' string in these, they are all related to either
the pair of 256Mb dimms, or the bt878 card and its tuner.

tvtime, FWIW, works just fine except for a somewhat low audio level.

>Check below in your last mail where it is complaining about
> "Algorithm: Unavailable from sysfs".
>
>--john
[...my older message for brevity]
--
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/