linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.5.68-bk7: Where oh where have my sensors gone? (i2c)
@ 2003-04-27 11:56 CaT
  2003-04-28 20:55 ` Greg KH
  0 siblings, 1 reply; 12+ messages in thread
From: CaT @ 2003-04-27 11:56 UTC (permalink / raw)
  To: linux-kernel

I keep a-lookin but I can't find any data. Have I missed something?

# find | grep -i pii
./bus/pci/drivers/piix4 smbus
./bus/pci/drivers/piix4 smbus/00:07.3
./bus/pci/drivers/PIIX IDE
./bus/pci/drivers/PIIX IDE/00:07.1
# find | grep -i i2c
./bus/i2c
./bus/i2c/drivers
./bus/i2c/drivers/lm75
./bus/i2c/drivers/IT87xx
./bus/i2c/drivers/dev driver
./bus/i2c/devices
./devices/pci0/00:07.3/i2c-0
./devices/pci0/00:07.3/i2c-0/power
./devices/pci0/00:07.3/i2c-0/name
# find | grep -i sensor
# find | grep -i smbus
./bus/pci/drivers/piix4 smbus
./bus/pci/drivers/piix4 smbus/00:07.3

# grep '\(SENSORS\|I2C\)' .config | grep -v '^#'
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_PIIX4=y
CONFIG_SENSORS_IT87=y
CONFIG_SENSORS_LM75=y
CONFIG_I2C_SENSOR=y

-- 
Martin's distress was in contrast to the bitter satisfaction of some
of his fellow marines as they surveyed the scene. "The Iraqis are sick
people and we are the chemotherapy," said Corporal Ryan Dupre. "I am
starting to hate this country. Wait till I get hold of a friggin' Iraqi.
No, I won't get hold of one. I'll just kill him."
	- http://www.informationclearinghouse.info/article2479.htm

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

* Re: 2.5.68-bk7: Where oh where have my sensors gone? (i2c)
  2003-04-27 11:56 2.5.68-bk7: Where oh where have my sensors gone? (i2c) CaT
@ 2003-04-28 20:55 ` Greg KH
  2003-05-05  8:34   ` CaT
  0 siblings, 1 reply; 12+ messages in thread
From: Greg KH @ 2003-04-28 20:55 UTC (permalink / raw)
  To: CaT; +Cc: linux-kernel

On Sun, Apr 27, 2003 at 09:56:44PM +1000, CaT wrote:
> I keep a-lookin but I can't find any data. Have I missed something?
> 
> # find | grep -i pii
> ./bus/pci/drivers/piix4 smbus
> ./bus/pci/drivers/piix4 smbus/00:07.3
> ./bus/pci/drivers/PIIX IDE
> ./bus/pci/drivers/PIIX IDE/00:07.1
> # find | grep -i i2c
> ./bus/i2c
> ./bus/i2c/drivers
> ./bus/i2c/drivers/lm75
> ./bus/i2c/drivers/IT87xx
> ./bus/i2c/drivers/dev driver
> ./bus/i2c/devices

No devices?  Does 2.5.68 work for you?

thanks,

greg k-h

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

* Re: 2.5.68-bk7: Where oh where have my sensors gone? (i2c)
  2003-04-28 20:55 ` Greg KH
@ 2003-05-05  8:34   ` CaT
  2003-05-05  9:04     ` CaT
  2003-05-05 16:58     ` Greg KH
  0 siblings, 2 replies; 12+ messages in thread
From: CaT @ 2003-05-05  8:34 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel

On Mon, Apr 28, 2003 at 01:55:22PM -0700, Greg KH wrote:
> On Sun, Apr 27, 2003 at 09:56:44PM +1000, CaT wrote:
> > I keep a-lookin but I can't find any data. Have I missed something?
> > 
> > # find | grep -i pii
> > ./bus/pci/drivers/piix4 smbus
> > ./bus/pci/drivers/piix4 smbus/00:07.3
> > ./bus/pci/drivers/PIIX IDE
> > ./bus/pci/drivers/PIIX IDE/00:07.1
> > # find | grep -i i2c
> > ./bus/i2c
> > ./bus/i2c/drivers
> > ./bus/i2c/drivers/lm75
> > ./bus/i2c/drivers/IT87xx
> > ./bus/i2c/drivers/dev driver
> > ./bus/i2c/devices
> 
> No devices?  Does 2.5.68 work for you?

Does not look like it:

# find | grep -i pii
./bus/pci/drivers/piix4 smbus
./bus/pci/drivers/piix4 smbus/00:07.3
./bus/pci/drivers/PIIX IDE
./bus/pci/drivers/PIIX IDE/00:07.1
# find | grep -i i2c
./bus/i2c
./bus/i2c/drivers
./bus/i2c/drivers/lm75
./bus/i2c/drivers/dev driver
./bus/i2c/devices
./devices/pci0/00:07.3/i2c-0
./devices/pci0/00:07.3/i2c-0/power
./devices/pci0/00:07.3/i2c-0/name
# uname -a
Linux theirongiant 2.5.68 #5 Sun May 4 23:59:51 EST 2003 i686 unknown
# grep '\(I2C\|SENSORS\)' .config
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_PIIX4=y
CONFIG_SENSORS_LM75=y
CONFIG_I2C_SENSOR=y

-- 
Martin's distress was in contrast to the bitter satisfaction of some
of his fellow marines as they surveyed the scene. "The Iraqis are sick
people and we are the chemotherapy," said Corporal Ryan Dupre. "I am
starting to hate this country. Wait till I get hold of a friggin' Iraqi.
No, I won't get hold of one. I'll just kill him."
	- http://www.informationclearinghouse.info/article2479.htm

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

* Re: 2.5.68-bk7: Where oh where have my sensors gone? (i2c)
  2003-05-05  8:34   ` CaT
@ 2003-05-05  9:04     ` CaT
  2003-05-05 16:58     ` Greg KH
  1 sibling, 0 replies; 12+ messages in thread
From: CaT @ 2003-05-05  9:04 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel

On Mon, May 05, 2003 at 06:34:58PM +1000, CaT wrote:
> On Mon, Apr 28, 2003 at 01:55:22PM -0700, Greg KH wrote:
> > On Sun, Apr 27, 2003 at 09:56:44PM +1000, CaT wrote:
> > No devices?  Does 2.5.68 work for you?
> 
> Does not look like it:

*snip*

Same deal with 2.5.69.

-- 
Martin's distress was in contrast to the bitter satisfaction of some
of his fellow marines as they surveyed the scene. "The Iraqis are sick
people and we are the chemotherapy," said Corporal Ryan Dupre. "I am
starting to hate this country. Wait till I get hold of a friggin' Iraqi.
No, I won't get hold of one. I'll just kill him."
	- http://www.informationclearinghouse.info/article2479.htm

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

* Re: 2.5.68-bk7: Where oh where have my sensors gone? (i2c)
  2003-05-05  8:34   ` CaT
  2003-05-05  9:04     ` CaT
@ 2003-05-05 16:58     ` Greg KH
  2003-05-05 18:14       ` Ed Sweetman
  1 sibling, 1 reply; 12+ messages in thread
From: Greg KH @ 2003-05-05 16:58 UTC (permalink / raw)
  To: CaT; +Cc: linux-kernel

On Mon, May 05, 2003 at 06:34:58PM +1000, CaT wrote:
> On Mon, Apr 28, 2003 at 01:55:22PM -0700, Greg KH wrote:
> > On Sun, Apr 27, 2003 at 09:56:44PM +1000, CaT wrote:
> > > I keep a-lookin but I can't find any data. Have I missed something?
> > > 
> > > # find | grep -i pii
> > > ./bus/pci/drivers/piix4 smbus
> > > ./bus/pci/drivers/piix4 smbus/00:07.3
> > > ./bus/pci/drivers/PIIX IDE
> > > ./bus/pci/drivers/PIIX IDE/00:07.1
> > > # find | grep -i i2c
> > > ./bus/i2c
> > > ./bus/i2c/drivers
> > > ./bus/i2c/drivers/lm75
> > > ./bus/i2c/drivers/IT87xx
> > > ./bus/i2c/drivers/dev driver
> > > ./bus/i2c/devices
> > 
> > No devices?  Does 2.5.68 work for you?
> 
> Does not look like it:

Ok, but 2.5.67 worked for you, right?  Care to do a binary search
through the different -bk trees inbetween to find where it stopped
working for you?

thanks,

greg k-h

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

* Re: 2.5.68-bk7: Where oh where have my sensors gone? (i2c)
  2003-05-05 16:58     ` Greg KH
@ 2003-05-05 18:14       ` Ed Sweetman
  2003-05-05 18:26         ` Greg KH
  0 siblings, 1 reply; 12+ messages in thread
From: Ed Sweetman @ 2003-05-05 18:14 UTC (permalink / raw)
  To: Greg KH; +Cc: CaT, linux-kernel

hey guys.  Notice a missing proc driver? hint: i2c.    That's why 
sensors wont work even when you load the modules. At least that's what i 
can tell from what the lm_sensors page mentions and what not.


Greg KH wrote:
> On Mon, May 05, 2003 at 06:34:58PM +1000, CaT wrote:
> 
>>On Mon, Apr 28, 2003 at 01:55:22PM -0700, Greg KH wrote:
>>
>>>On Sun, Apr 27, 2003 at 09:56:44PM +1000, CaT wrote:
>>>
>>>>I keep a-lookin but I can't find any data. Have I missed something?
>>>>
>>>># find | grep -i pii
>>>>./bus/pci/drivers/piix4 smbus
>>>>./bus/pci/drivers/piix4 smbus/00:07.3
>>>>./bus/pci/drivers/PIIX IDE
>>>>./bus/pci/drivers/PIIX IDE/00:07.1
>>>># find | grep -i i2c
>>>>./bus/i2c
>>>>./bus/i2c/drivers
>>>>./bus/i2c/drivers/lm75
>>>>./bus/i2c/drivers/IT87xx
>>>>./bus/i2c/drivers/dev driver
>>>>./bus/i2c/devices
>>>
>>>No devices?  Does 2.5.68 work for you?
>>
>>Does not look like it:
> 
> 
> Ok, but 2.5.67 worked for you, right?  Care to do a binary search
> through the different -bk trees inbetween to find where it stopped
> working for you?
> 
> thanks,
> 
> greg k-h
> -
> 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/
> 



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

* Re: 2.5.68-bk7: Where oh where have my sensors gone? (i2c)
  2003-05-05 18:14       ` Ed Sweetman
@ 2003-05-05 18:26         ` Greg KH
  2003-05-05 19:34           ` Ed Sweetman
  2003-05-06  3:26           ` CaT
  0 siblings, 2 replies; 12+ messages in thread
From: Greg KH @ 2003-05-05 18:26 UTC (permalink / raw)
  To: Ed Sweetman; +Cc: CaT, linux-kernel

On Mon, May 05, 2003 at 02:14:25PM -0400, Ed Sweetman wrote:
> hey guys.  Notice a missing proc driver? hint: i2c.    That's why 
> sensors wont work even when you load the modules. At least that's what i 
> can tell from what the lm_sensors page mentions and what not.

Huh?
The i2c code now interacts to userspace through sysfs, not /proc
anymore.  CaT is properly looking for his sensors in sysfs.

Here's what happens when looking through sysfs on my box running 2.5.69:

# find /sys/ | grep -i i2c
/sys/bus/i2c
/sys/bus/i2c/drivers
/sys/bus/i2c/drivers/lm75
/sys/bus/i2c/drivers/lm75/0-0048
/sys/bus/i2c/devices
/sys/bus/i2c/devices/0-0048
/sys/devices/pci0/00:1f.3/i2c-0
/sys/devices/pci0/00:1f.3/i2c-0/0-0048
/sys/devices/pci0/00:1f.3/i2c-0/0-0048/temp_input
/sys/devices/pci0/00:1f.3/i2c-0/0-0048/temp_min
/sys/devices/pci0/00:1f.3/i2c-0/0-0048/temp_max
/sys/devices/pci0/00:1f.3/i2c-0/0-0048/power
/sys/devices/pci0/00:1f.3/i2c-0/0-0048/name
/sys/devices/pci0/00:1f.3/i2c-0/power
/sys/devices/pci0/00:1f.3/i2c-0/name

Which is what should be showing up on CaT's machine (of the lm75 device
is on his hardware.)

Hope this helps,

greg k-h

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

* Re: 2.5.68-bk7: Where oh where have my sensors gone? (i2c)
  2003-05-05 18:26         ` Greg KH
@ 2003-05-05 19:34           ` Ed Sweetman
  2003-05-05 20:39             ` Greg KH
  2003-05-06  3:26           ` CaT
  1 sibling, 1 reply; 12+ messages in thread
From: Ed Sweetman @ 2003-05-05 19:34 UTC (permalink / raw)
  To: Greg KH; +Cc: CaT, linux-kernel


Ok, then the sensors program that is part of the lm_sensors package is 
just not up to date with the drivers since it complains about no 
i2c-proc and has no options for looking at sysfs.

My via686a sensors seem to be working just fine in .69


Greg KH wrote:
> On Mon, May 05, 2003 at 02:14:25PM -0400, Ed Sweetman wrote:
> 
>>hey guys.  Notice a missing proc driver? hint: i2c.    That's why 
>>sensors wont work even when you load the modules. At least that's what i 
>>can tell from what the lm_sensors page mentions and what not.
> 
> 
> Huh?
> The i2c code now interacts to userspace through sysfs, not /proc
> anymore.  CaT is properly looking for his sensors in sysfs.
> 
> Here's what happens when looking through sysfs on my box running 2.5.69:
> 
> # find /sys/ | grep -i i2c
> /sys/bus/i2c
> /sys/bus/i2c/drivers
> /sys/bus/i2c/drivers/lm75
> /sys/bus/i2c/drivers/lm75/0-0048
> /sys/bus/i2c/devices
> /sys/bus/i2c/devices/0-0048
> /sys/devices/pci0/00:1f.3/i2c-0
> /sys/devices/pci0/00:1f.3/i2c-0/0-0048
> /sys/devices/pci0/00:1f.3/i2c-0/0-0048/temp_input
> /sys/devices/pci0/00:1f.3/i2c-0/0-0048/temp_min
> /sys/devices/pci0/00:1f.3/i2c-0/0-0048/temp_max
> /sys/devices/pci0/00:1f.3/i2c-0/0-0048/power
> /sys/devices/pci0/00:1f.3/i2c-0/0-0048/name
> /sys/devices/pci0/00:1f.3/i2c-0/power
> /sys/devices/pci0/00:1f.3/i2c-0/name
> 
> Which is what should be showing up on CaT's machine (of the lm75 device
> is on his hardware.)
> 
> Hope this helps,
> 
> greg k-h
> -
> 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/
> 



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

* Re: 2.5.68-bk7: Where oh where have my sensors gone? (i2c)
  2003-05-05 19:34           ` Ed Sweetman
@ 2003-05-05 20:39             ` Greg KH
  2003-05-06  9:00               ` Wade
  0 siblings, 1 reply; 12+ messages in thread
From: Greg KH @ 2003-05-05 20:39 UTC (permalink / raw)
  To: Ed Sweetman; +Cc: CaT, linux-kernel

On Mon, May 05, 2003 at 03:34:55PM -0400, Ed Sweetman wrote:
> 
> Ok, then the sensors program that is part of the lm_sensors package is 
> just not up to date with the drivers since it complains about no 
> i2c-proc and has no options for looking at sysfs.

Yes, the libsensors code has not been updated yet, sorry.  I'm hoping
for some unification with the acpi/power management people too, as they
too care about power and temperature and fan settings.

> My via686a sensors seem to be working just fine in .69

Glad to hear it.

greg k-h

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

* Re: 2.5.68-bk7: Where oh where have my sensors gone? (i2c)
  2003-05-05 18:26         ` Greg KH
  2003-05-05 19:34           ` Ed Sweetman
@ 2003-05-06  3:26           ` CaT
  1 sibling, 0 replies; 12+ messages in thread
From: CaT @ 2003-05-06  3:26 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel

On Mon, May 05, 2003 at 11:26:48AM -0700, Greg KH wrote:
> Which is what should be showing up on CaT's machine (of the lm75 device
> is on his hardware.)

Yes. And ofcourse it isn't so I feel like a right boob. Now, compiling
the right sensor (adm) gets it registered and promptly crashes the
kernel. Once this happened whilst in the kernel, either mid scroll of
the fb or mid write of a new line on screen and another time this
happened mid-fsck (no partitions needed fscking). Witht he wrong/no
sensors module in the kernel runs just fine.

My experience with the sensors code is evolving. :)

-- 
Martin's distress was in contrast to the bitter satisfaction of some
of his fellow marines as they surveyed the scene. "The Iraqis are sick
people and we are the chemotherapy," said Corporal Ryan Dupre. "I am
starting to hate this country. Wait till I get hold of a friggin' Iraqi.
No, I won't get hold of one. I'll just kill him."
	- http://www.informationclearinghouse.info/article2479.htm

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

* Re: 2.5.68-bk7: Where oh where have my sensors gone? (i2c)
  2003-05-05 20:39             ` Greg KH
@ 2003-05-06  9:00               ` Wade
  2003-05-06 16:30                 ` Greg KH
  0 siblings, 1 reply; 12+ messages in thread
From: Wade @ 2003-05-06  9:00 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel

On Tue, 2003-05-06 at 04:39, Greg KH wrote:
> On Mon, May 05, 2003 at 03:34:55PM -0400, Ed Sweetman wrote:
> > 
> > Ok, then the sensors program that is part of the lm_sensors package is 
> > just not up to date with the drivers since it complains about no 
> > i2c-proc and has no options for looking at sysfs.
> 
> Yes, the libsensors code has not been updated yet, sorry.  I'm hoping
> for some unification with the acpi/power management people too, as they
> too care about power and temperature and fan settings.
> 
> > My via686a sensors seem to be working just fine in .69
> 
> Glad to hear it.

Thats strange. Mine don't, and never have in 2.5 - works in FreeBSD just
fine though.


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

* Re: 2.5.68-bk7: Where oh where have my sensors gone? (i2c)
  2003-05-06  9:00               ` Wade
@ 2003-05-06 16:30                 ` Greg KH
  0 siblings, 0 replies; 12+ messages in thread
From: Greg KH @ 2003-05-06 16:30 UTC (permalink / raw)
  To: Wade; +Cc: linux-kernel

On Tue, May 06, 2003 at 05:00:16PM +0800, Wade wrote:
> On Tue, 2003-05-06 at 04:39, Greg KH wrote:
> > On Mon, May 05, 2003 at 03:34:55PM -0400, Ed Sweetman wrote:
> > > 
> > > Ok, then the sensors program that is part of the lm_sensors package is 
> > > just not up to date with the drivers since it complains about no 
> > > i2c-proc and has no options for looking at sysfs.
> > 
> > Yes, the libsensors code has not been updated yet, sorry.  I'm hoping
> > for some unification with the acpi/power management people too, as they
> > too care about power and temperature and fan settings.
> > 
> > > My via686a sensors seem to be working just fine in .69
> > 
> > Glad to hear it.
> 
> Thats strange. Mine don't, and never have in 2.5 - works in FreeBSD just
> fine though.

Does the 2.4 packages from the lmsensors web page work for you?  And if
so, are the drivers your hardware needs currently in the 2.5 tree yet?
If not, want to port them?  If so, please let us know.

thanks,

greg k-h

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

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

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-27 11:56 2.5.68-bk7: Where oh where have my sensors gone? (i2c) CaT
2003-04-28 20:55 ` Greg KH
2003-05-05  8:34   ` CaT
2003-05-05  9:04     ` CaT
2003-05-05 16:58     ` Greg KH
2003-05-05 18:14       ` Ed Sweetman
2003-05-05 18:26         ` Greg KH
2003-05-05 19:34           ` Ed Sweetman
2003-05-05 20:39             ` Greg KH
2003-05-06  9:00               ` Wade
2003-05-06 16:30                 ` Greg KH
2003-05-06  3:26           ` CaT

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).