On Wednesday 30 May 2001 18:42, you wrote:
PS: I saw something about temperature monitoring under linux, is it possible? I tried sensors but it says cannot open file /proc
Take a look at: http://www.suse.com/en/produkte/susesoft/linux/Pakete_pers/sensors.html Hope it helps, Alvaro Novo SuSE 7.1 -=- Kernel 2.4.2-4GB -=- KDE 2.1.1 10:07pm up 13 min, 1 user, load average: 0.04, 0.07, 0.0
Álvaro A. Novo wrote:
On Wednesday 30 May 2001 18:42, you wrote:
PS: I saw something about temperature monitoring under linux, is it possible? I tried sensors but it says cannot open file /proc
Take a look at:
http://www.suse.com/en/produkte/susesoft/linux/Pakete_pers/sensors.html
It didn't help. The problem seems to be that the directory /proc/bus doesn't contain any i2c files (or subdirectories), and I don't know how to get them to appear there. Paul
You 'll have to put i2c in your kernel for that. (It's under character devices)
From Paul Abrahams to SuSE listserve about Re: [SLE] [OT] Athlon Processor:
It didn't help. The problem seems to be that the directory /proc/bus doesn't contain any i2c files (or subdirectories), and I don't know how to get them to appear there.
Paul
-- dieter
On Thursday 31 May 2001 16:26, Paul Abrahams wrote:
Álvaro A. Novo wrote:
On Wednesday 30 May 2001 18:42, you wrote:
PS: I saw something about temperature monitoring under linux, is it possible? I tried sensors but it says cannot open file /proc
Take a look at:
http://www.suse.com/en/produkte/susesoft/linux/Pakete_pers/sensors.html
Have you ran sensors-detect before?
It didn't help. The problem seems to be that the directory /proc/bus doesn't contain any i2c files (or subdirectories), and I don't know how to get them to appear there.
Paul
Julien Biezemans wrote:
On Thursday 31 May 2001 16:26, Paul Abrahams wrote:
Álvaro A. Novo wrote:
On Wednesday 30 May 2001 18:42, you wrote:
PS: I saw something about temperature monitoring under linux, is it possible? I tried sensors but it says cannot open file /proc
Take a look at:
http://www.suse.com/en/produkte/susesoft/linux/Pakete_pers/sensors.html
Have you ran sensors-detect before?
I've upgraded my kernel to include i2c support (a necessary step, I discovered) and ran sensors-detect successfully. I then added the suggested lines to modules.conf. But when I try to run "sensors", I get the message, also reported by someone else: Can't access /proc file I was running as root, and lsmod shows that i2c-dev is loaded but unused. Paul
I just read in /usr/src/linux/Documentation/i2c/proc-interface: Whenever i2c-core is loaded, you will find a file /proc/bus/i2c, which lists all currently registered I2C adapters. Each line contains exactly one I2C adapter. Each line has the following format: "i2c-%d\t%9s\t%-32s't%-32s\n", which works out to four columns separated by tabs. Note that the file will be empty, if no adapters are registered at all. Do you have this file /proc/bus/i2c ? I don't know if this helps but maybe the rest of the documentation does?
From Paul Abrahams to SuSE listserve about Re: [SLE] [OT] Athlon Processor:
I've upgraded my kernel to include i2c support (a necessary step, I discovered) and ran sensors-detect successfully. I then added the suggested lines to modules.conf. But when I try to run "sensors", I get the message, also reported by someone else:
Can't access /proc file
I was running as root, and lsmod shows that i2c-dev is loaded but unused.
Paul
-- dieter
dieter wrote:
I just read in /usr/src/linux/Documentation/i2c/proc-interface:
Whenever i2c-core is loaded, you will find a file /proc/bus/i2c, which lists all currently registered I2C adapters. Each line contains exactly one I2C adapter. Each line has the following format: "i2c-%d\t%9s\t%-32s't%-32s\n", which works out to four columns separated by tabs. Note that the file will be empty, if no adapters are registered at all.
Do you have this file /proc/bus/i2c ? I don't know if this helps but maybe the rest of the documentation does?
I've got the file and it's empty. Now I need to find out what adapters I need to register and how to register them. Paul
participants (4)
-
dieter
-
Julien Biezemans
-
Paul Abrahams
-
Álvaro A. Novo