linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* what happened to i2c-proc
@ 2003-05-28 16:22 John Covici
  2003-05-28 20:29 ` Jose Luis Domingo Lopez
  2003-05-30  6:26 ` Greg KH
  0 siblings, 2 replies; 4+ messages in thread
From: John Covici @ 2003-05-28 16:22 UTC (permalink / raw)
  To: linux-kernel

I am trying to compile appropriate modules for lm sensors in 2.5.70,
but there seems to be no way to configure i2c-proc -- it seems to be
there for other architectures, but not for i386.

Any assistance would be appreciated.

-- 
         John Covici
         covici@ccs.covici.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: what happened to i2c-proc
  2003-05-28 16:22 what happened to i2c-proc John Covici
@ 2003-05-28 20:29 ` Jose Luis Domingo Lopez
  2003-05-28 23:19   ` Jan Dittmer
  2003-05-30  6:26 ` Greg KH
  1 sibling, 1 reply; 4+ messages in thread
From: Jose Luis Domingo Lopez @ 2003-05-28 20:29 UTC (permalink / raw)
  To: linux-kernel

On Wednesday, 28 May 2003, at 12:22:23 -0400,
John Covici wrote:

> I am trying to compile appropriate modules for lm sensors in 2.5.70,
> but there seems to be no way to configure i2c-proc -- it seems to be
> there for other architectures, but not for i386.
> 
And this is probably the cause of my hardware sensors (it87.ko) not
working :-). Here is what modules.dep for my 2.4.20 kernel says:
/lib/modules/2.4.20-xfsip/kernel/drivers/sensors/it87.o:
    /lib/modules/2.4.20-xfsip/kernel/drivers/i2c/i2c-core.o \
    /lib/modules/2.4.20-xfsip/kernel/drivers/i2c/i2c-proc.o

And here what it says for my 2.5.70 kernel:
/lib/modules/2.5.70/kernel/drivers/i2c/chips/it87.ko: /lib/modules/2.5.70/kernel/drivers/i2c/i2c-sensor.ko /lib/modules/2.5.70/kernel/drivers/i2c/i2c-core.ko

Or maybe something changed in the meantime, and problems are in
user-space, the fact is it doesn't work:

server:~# sensors -v
sensors version 2.6.5

As seen on lm_sensors' home page, it seems the are still porting i2c and
lm_sensors to recent 2.5.x kernels, so maybe the problem is there. They
advise against trying to compile both i2c and lm_sensors for 2.5.x
kernels, because probably they won't work.

Hope this helps.

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Sid (Linux 2.5.70)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: what happened to i2c-proc
  2003-05-28 20:29 ` Jose Luis Domingo Lopez
@ 2003-05-28 23:19   ` Jan Dittmer
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Dittmer @ 2003-05-28 23:19 UTC (permalink / raw)
  To: Jose Luis Domingo Lopez; +Cc: linux-kernel

Jose Luis Domingo Lopez wrote:
> On Wednesday, 28 May 2003, at 12:22:23 -0400,
> John Covici wrote:
> 
> 
>>I am trying to compile appropriate modules for lm sensors in 2.5.70,
>>but there seems to be no way to configure i2c-proc -- it seems to be
>>there for other architectures, but not for i386.
>>
> 
> Or maybe something changed in the meantime, and problems are in
> user-space, the fact is it doesn't work:
> 
> server:~# sensors -v
> sensors version 2.6.5
> 

The sensors proc interface didn't make it to 2.5. You have to use sysfs 
to check the sensors (/sys/devices/legacy/...). Userspace didn't get 
converted yet, so all libsensor based programs (ie. all) don't work anymore

Jan


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: what happened to i2c-proc
  2003-05-28 16:22 what happened to i2c-proc John Covici
  2003-05-28 20:29 ` Jose Luis Domingo Lopez
@ 2003-05-30  6:26 ` Greg KH
  1 sibling, 0 replies; 4+ messages in thread
From: Greg KH @ 2003-05-30  6:26 UTC (permalink / raw)
  To: John Covici; +Cc: linux-kernel

On Wed, May 28, 2003 at 12:22:23PM -0400, John Covici wrote:
> I am trying to compile appropriate modules for lm sensors in 2.5.70,
> but there seems to be no way to configure i2c-proc -- it seems to be
> there for other architectures, but not for i386.

i2c-proc is no longer a separate compile option.  The i2c interface is
now through sysfs, not /proc for 2.5.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-05-30 16:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-28 16:22 what happened to i2c-proc John Covici
2003-05-28 20:29 ` Jose Luis Domingo Lopez
2003-05-28 23:19   ` Jan Dittmer
2003-05-30  6:26 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).