ic2-proc

ic2-proc

Post by notm » Mon, 23 Aug 2004 16:00:56


where the tar is it?

I modprobe ic2-core and ic2-i801 and ic2-dev
but I don't get the functionality of ic2-proc.

I'm using kernel 2.6.7 and want to monitor my expensive new hardware
but cant locate the /proc/bus/ic2 tree after loading the modules.

any ideas?
 
 
 

ic2-proc

Post by david walc » Tue, 24 Aug 2004 15:10:50


Try i2c

 
 
 

ic2-proc

Post by noon » Wed, 25 Aug 2004 03:11:48

david walcroft < XXXX@XXXXX.COM > tried to express:


ok wiseass!

here is the relevant dump from my system (2.6.8.1)

linux:~/xrm> lsmod | head
Module Size Used by
i2c_i801 8300 0
i2c_dev 10400 0
i2c_core 24544 2 i2c_i801,i2c_dev
ppp_deflate 6432 1
zlib_deflate 22904 1 ppp_deflate
zlib_inflate 22848 1 ppp_deflate
bsd_comp 6240 0
ppp_async 12160 1

See, all three modules are loaded

linux:~/xrm> ls -l /proc/bus
total 0
dr-xr-xr-x 2 root root 0 2004-08-23 14:15 input
dr-xr-xr-x 6 root root 0 2004-08-23 14:15 pci
drwxr-xr-x 6 root root 0 2004-08-23 08:32 usb

linux:~/xrm> dmesg | tail -3
PPP BSD Compression module registered
PPP Deflate Compression module registered
i2c /dev entries driver

so, where in the hell is the (I2C)-proc entry? Even a find
on the /lib directory doesn't locate a module that provides
/proc/bus/i2c.

Is it broken, depricated, or just plain not documented well
enough (as is the case with far too much opensource software)?
 
 
 

ic2-proc

Post by david walc » Wed, 25 Aug 2004 15:17:13


ok dumbass

Its not in the latest kernels from what I see,so if lm_sensors
does not load it at config why do you need.Check lm_sensors web
site and see if the latest version need it.

david
 
 
 

ic2-proc

Post by Kirth Gers » Thu, 26 Aug 2004 02:48:05


It doesn't show up in /proc/bus
But it should in /sys
What does the sensors command say ??

kirth
 
 
 

ic2-proc

Post by noon » Thu, 26 Aug 2004 07:55:39

Kirth Gersen < XXXX@XXXXX.COM > tried to express:


sensors-detect crashes, looking for /proc/bus/i2c

Once the three modules (core, i801, and dev) are loaded I
checked both /proc/sys/dev and /proc/bus...

no i2c or sensors entries are found.

I'm running linux-2.6.8.1 and lmsensors is the version
supplied with Suse 8.1
 
 
 

ic2-proc

Post by Kirth Gers » Fri, 27 Aug 2004 07:58:16

On my box, MSI KT3 mobo, and Linux 2.6.7 sensors-detect does not
work either. It tells me to run a script to create all kinds of devices.
I forgot to do just that.

Anyhow, inspectection of my mobo told me what sensor chipset is
used and that was all I needed, generating the proper kernel with
the proper modules, rebooting and afterwards a

modprobe -a w83781d

and issueing the command:

sensors

simply works.

Don't know how old Suse 8.1 is but you should use the latest
stable lm_sensors version, currently 2.8.7 I believe.
Visit their site at

http://www.yqcomputer.com/

and valuable knowledge will be yours!


Kirth