Skip to contentSkip to conversation

Testing LM85 driver

DISCUSSION Mark D. Studebaker 3 participants 10 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

I'm back in town, I'll be happy to check in the patch below or something more recent if you are ready. Let me know.

Quoted 28 lines · Philip Pokorny

A new version of the LM85 driver for lm_sensors 2.7.0 is available at:

ftp://ftp.penguincomputing.com/pub/updates/lmsensors/lm_sensors-2.7.0-lm85-4.patch

This patch has a couple of fixes for a nasty voltage conversion bug and some fixups related to PWM scaling in libsensors/sensors.

I'm currently testing this on a LM85 and ADM1027.

Please give it a try.
:v)

Quoted 7 lines · Mark Studebaker

Subject: Testing LM85 driver
From: Starry Chan <[email protected]>
Date: Wed, 26 Feb 2003 14:06:30 -0800
To: [email protected]

I would like to know when the LM85 driver will be available. My controller board has a LM85 so I can test the driver if it is available.

#1 lore raw

OK. I think I'll have to force myself to stop now....

I keep tweaking the ADT7463 support, but since I don't actually have (or know anyone who does) a ADT7463, it seems kinda pointless...

Let's stop with my 2.7.0-lm85-8 patch that is now available on FTP.PENGUINCOMPUTING.com at:

ftp://ftp.penguincomputing.com/pub/updates/lmsensors/lm_sensors-2.7.0-lm85-8.patch

Regarding the changes for CVS. I can create a diff based on Margit's changes or you can do it.

I do have a question though. Margit commented that the #define's for the SYSCTL values are now included in the drivers rather than coming from sensors.h. I don't understand that. It seems like a step backward and asking for trouble. Can you educate me on the reason for this change? Is sensors.h not to be included by kernel drivers? Why not? All the rest of the changes were trivial changes in the API with i2c, so I'm not really worried about them.

Thanks,
:v)

Quoted 36 lines · Mark D. Studebaker

I'm back in town, I'll be happy to check in the patch below or something more recent if you are ready.
Let me know.

Quoted 29 lines · Philip Pokorny

A new version of the LM85 driver for lm_sensors 2.7.0 is available at:

ftp://ftp.penguincomputing.com/pub/updates/lmsensors/lm_sensors-2.7.0-lm85-4.patch

This patch has a couple of fixes for a nasty voltage conversion bug and some fixups related to PWM scaling in libsensors/sensors.

I'm currently testing this on a LM85 and ADM1027.

Please give it a try.
:v)

Quoted 7 lines · Mark Studebaker

Subject: Testing LM85 driver
From: Starry Chan <[email protected]>
Date: Wed, 26 Feb 2003 14:06:30 -0800
To: [email protected]

I would like to know when the LM85 driver will be available. My controller board has a LM85 so I can test the driver if it is available.

#2 lore raw
In reply to Mark D. Studebaker
Quoted 3 lines · Mark D. Studebaker

While I was happy to do the changes, it would be helpful if you wish to test my changes, or
for any subsequent development, if you used CVS as a base.

On a side note, is anyone going to check the i2c changes into cvs that are now in the 2.5.65 kernel release? The changes in that kernel actually enable the i2c code to run without oopsing :)

thanks,

greg k-h

#3 lore raw
In reply to Mark D. Studebaker
Quoted 1 line · Mark D. Studebaker

I see you made it onto the mailing list. Welcome.

thanks.

Quoted 3 lines

Hadn't seen that 2.5.65 was out.
I was just looking at the diffs between CVS and 2.5.64. It isn't huge but it's growing.

.65 is bigger :)

Quoted 2 lines

As I'm not running a 2.5 kernel and am not following LKML, I don't have any visibility into which of the changes actually are tested/work.

The code works for me here :)

Quoted 2 lines

With Cristoph making all those changes it would have been a lot of work to keep up with the backporting to CVS.

Christoph has made a lot of good fixes, from what I've seen.

Quoted 2 lines

If he's done and things start coming through us again, then it makes sense to sync up with 2.5.65.

Even without Christoph's changes, you need to keep up with the kernel tree in order to keep in sync with the most recent development. As I previously mentioned, this is tough to do, but once everything gets into the main kernel tree, the work is much smaller.

Oh, and who is the maintainer of the kernel i2c code? The listed people in the MAINTAINERS file don't seem to be around anymore (and one of the emails listed there is currently invalid.)

thanks,

greg k-h

#4 lore raw
In reply to Mark D. Studebaker
Quoted 10 lines · Mark D. Studebaker
Quoted 7 lines · Greg KH
Quoted 2 lines · Mark D. Studebaker

If he's done and things start coming through us again, then it makes sense to sync up with 2.5.65.

Quoted 7 lines
Quoted 5 lines

Even without Christoph's changes, you need to keep up with the kernel tree in order to keep in sync with the most recent development. As I previously mentioned, this is tough to do, but once everything gets into the main kernel tree, the work is much smaller.

I understand. Nobody's volunteered to do it.

Well, I'm offering to be a go-between if you want me to do it.

Quoted 7 lines
Quoted 4 lines

Oh, and who is the maintainer of the kernel i2c code? The listed people in the MAINTAINERS file don't seem to be around anymore (and one of the emails listed there is currently invalid.)

That's us. We talked about submitting a patch to MAINTAINERS to make it official but we haven't.

I'd really recommend it. Please send me a patch to that file for my next round of stuff I send off to Linus.

thanks,

greg k-h

#5 lore raw
In reply to Mark D. Studebaker
Quoted 4 lines · Mark D. Studebaker
Quoted 1 line · Greg KH

Well, I'm offering to be a go-between if you want me to do it.

Fine w/ me. The others on the list are being conspicuously silent.

Heh, I've noticed :)

Quoted 2 lines

Is this work (and driver priorities) being driven by IBM or is this on your own time?

Hm, it's a bit of both. I'm allowed to do this kind of stuff at work, as IBM lets me do general kernel stuff. But I'm also personally interested in getting the i2c code merged into the driver model, and synced up with the main kernel tree. So I end up doing this both on company and my own time :)

And I have this laptop here (non-IBM) that I really want to get working properly with i2c so I can get access to some portions of the hardware...

Quoted 2 lines

OK. Can we just put in the mailing list name or should we put in people's names?

Generally maintainers are people. There is a place in the entry for a mailing list address if you want to use that.

thanks,

greg k-h

#6 lore raw
In reply to Mark D. Studebaker

your patch is checked in.
Thanks again for generating such a complete patch,
and for being willing to make changes to fit our evolving standards. And thanks to the rest of you for testing.

After I checked it in unchanged, I then made some cleanups and changes to get it to compile in CVS.
While I was happy to do the changes, it would be helpful
if you wish to test my changes, or
for any subsequent development, if you used CVS as a base. Unfortunately CVS is a little challenging at the moment, and you will need i2c-CVS as well.
Let me know if you need any help.

mds

Quoted 67 lines · Philip Pokorny

OK. I think I'll have to force myself to stop now....

I keep tweaking the ADT7463 support, but since I don't actually have (or know anyone who does) a ADT7463, it seems kinda pointless...

Let's stop with my 2.7.0-lm85-8 patch that is now available on FTP.PENGUINCOMPUTING.com at:

ftp://ftp.penguincomputing.com/pub/updates/lmsensors/lm_sensors-2.7.0-lm85-8.patch

Regarding the changes for CVS. I can create a diff based on Margit's changes or you can do it.

I do have a question though. Margit commented that the #define's for the SYSCTL values are now included in the drivers rather than coming from sensors.h. I don't understand that. It seems like a step backward and asking for trouble. Can you educate me on the reason for this change? Is sensors.h not to be included by kernel drivers? Why not? All the rest of the changes were trivial changes in the API with i2c, so I'm not really worried about them.

Thanks,
:v)

Quoted 38 lines · Mark D. Studebaker

I'm back in town, I'll be happy to check in the patch below or something more recent if you are ready.
Let me know.

Quoted 31 lines · Philip Pokorny

A new version of the LM85 driver for lm_sensors 2.7.0 is available at:

ftp://ftp.penguincomputing.com/pub/updates/lmsensors/lm_sensors-2.7.0-lm85-4.patch

This patch has a couple of fixes for a nasty voltage conversion bug and some fixups related to PWM scaling in libsensors/sensors.

I'm currently testing this on a LM85 and ADM1027.

Please give it a try.
:v)

Quoted 8 lines · Mark Studebaker

Subject: Testing LM85 driver
From: Starry Chan <[email protected]>
Date: Wed, 26 Feb 2003 14:06:30 -0800
To: [email protected]

I would like to know when the LM85 driver will be available. My controller board has a LM85 so I can test the driver if it is available.

#7 lore raw
In reply to Mark D. Studebaker

I see you made it onto the mailing list. Welcome.

Hadn't seen that 2.5.65 was out.
I was just looking at the diffs between CVS and 2.5.64. It isn't huge but it's growing.

As I'm not running a 2.5 kernel and am not following LKML, I don't have any visibility into which of the changes actually are tested/work. With Cristoph making all those changes it would have been a lot of work to keep up with the backporting to CVS.
If he's done and things start coming through us again,
then it makes sense to sync up with 2.5.65.

Quoted 14 lines · Greg KH
Quoted 3 lines · Mark D. Studebaker

While I was happy to do the changes, it would be helpful if you wish to test my changes, or
for any subsequent development, if you used CVS as a base.

On a side note, is anyone going to check the i2c changes into cvs that are now in the 2.5.65 kernel release? The changes in that kernel actually enable the i2c code to run without oopsing :)

thanks,

greg k-h

#8 lore raw
In reply to Mark D. Studebaker
Quoted 12 lines · Greg KH
Quoted 2 lines · Mark D. Studebaker

If he's done and things start coming through us again, then it makes sense to sync up with 2.5.65.

Even without Christoph's changes, you need to keep up with the kernel tree in order to keep in sync with the most recent development. As I previously mentioned, this is tough to do, but once everything gets into the main kernel tree, the work is much smaller.

I understand. Nobody's volunteered to do it.

Quoted 4 lines

Oh, and who is the maintainer of the kernel i2c code? The listed people in the MAINTAINERS file don't seem to be around anymore (and one of the emails listed there is currently invalid.)

That's us. We talked about submitting a patch to MAINTAINERS to make it official but we haven't.

Quoted 4 lines

thanks,

greg k-h

#9 lore raw
In reply to Mark D. Studebaker
Quoted 18 lines · Greg KH
Quoted 16 lines · Mark D. Studebaker
Quoted 12 lines · Greg KH
Quoted 2 lines · Mark D. Studebaker

If he's done and things start coming through us again, then it makes sense to sync up with 2.5.65.

Even without Christoph's changes, you need to keep up with the kernel tree in order to keep in sync with the most recent development. As I previously mentioned, this is tough to do, but once everything gets into the main kernel tree, the work is much smaller.

Quoted 5 lines
Quoted 1 line

I understand. Nobody's volunteered to do it.

Well, I'm offering to be a go-between if you want me to do it.

Fine w/ me. The others on the list are being conspicuously silent. Is this work (and driver priorities) being driven by IBM or is this on your own time?

Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

Oh, and who is the maintainer of the kernel i2c code? The listed people in the MAINTAINERS file don't seem to be around anymore (and one of the emails listed there is currently invalid.)

Quoted 7 lines
Quoted 2 lines

That's us. We talked about submitting a patch to MAINTAINERS to make it official but we haven't.

I'd really recommend it. Please send me a patch to that file for my next round of stuff I send off to Linus.

OK. Can we just put in the mailing list name or should we put in people's names?

Quoted 4 lines

thanks,

greg k-h