Skip to contentSkip to conversation

[[email protected]: Need help for kernel 2.5.x ???]

[email protected]: Need help for kernel 2.5.x ??? Frodo Looijaard 4 participants 9 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

----- Forwarded message from Paul Rolland <[email protected]> -----

From: Paul Rolland <[email protected]>
To: [email protected], [email protected], [email protected]
Cc: [email protected]
Subject: Need help for kernel 2.5.x ???
Importance: Normal
X-Spam-Status: No, hits=0.9 required=5.0 tests=SUBJ_ENDS_IN_Q_MARK,SUBJ_HAS_Q_MARK version=2.20 X-Spam-Level:

Hello,

Homepage of lm-sensors states that you need help to migrate to kernel 2.5.x. I'm running 2.5.72, and i'd like to have lm-sensors running on my platform.

Thus, I'm ready to give a try helping you.

Problem is : it seems that no currently available version is to be used for kernel 2.5.

What should be the one I have to start with ? CVS ? 2.7.0 ?

Thanks for your answer,
Regards,
Paul

----- End forwarded message -----

Signature · 4 lines
Frodo Looijaard <[email protected]>  PGP key and more: http://huizen.dds.nl/~frodol
Defenestration n. (formal or joc.):
  The act of removing Windows from your computer in disgust, usually followed
  by the installation of Linux or some other Unix-like operating system.
#1 lore raw

Hello,

Quoted 3 lines

The version is already built into the 2.5 kernel. So select the i2c driver options in that kernel and see how well they work.

Yes, I2C are present, and I have them available within sysfs.

My mail was motivated by :
- I can't find anymore i2c within /proc/bus or anywhere else within /proc and it seems that lm_sensors tools are still looking for something there.
- the home page was related to libsensors.a and not to i2c sensors and I was thinking that libsensors was the stuff that new where to get the details in the system (thus switching from /proc to sysfs should be in libsensors for user space application), and I was ready to give it a try.

Sorry I badly understood.

Regards,
Paul

#2 lore raw
In reply to Frodo Looijaard

Hello,

Quoted 2 lines

If you can do any development on the conversion, it would be greatly appreciated.

This is exactly what I was thinking of, and my question was : which basis is the best one : lm_sensors-2.7.0 or some CVS checkout ?

Regards,
Paul

#3 lore raw
In reply to Frodo Looijaard
Quoted 12 lines · Frodo Looijaard

----- Forwarded message from Paul Rolland <[email protected]> -----

From: Paul Rolland <[email protected]>
To: [email protected], [email protected], [email protected]
Cc: [email protected]
Subject: Need help for kernel 2.5.x ???
Importance: Normal
X-Spam-Status: No, hits=0.9 required=5.0 tests=SUBJ_ENDS_IN_Q_MARK,SUBJ_HAS_Q_MARK version=2.20 X-Spam-Level:

Hello,

Quoted 7 lines

Homepage of lm-sensors states that you need help to migrate to kernel 2.5.x. I'm running 2.5.72, and i'd like to have lm-sensors running on my platform.

Thus, I'm ready to give a try helping you.

Problem is : it seems that no currently available version is to be used for kernel 2.5.

The version is already built into the 2.5 kernel. So select the i2c driver options in that kernel and see how well they work.

thanks,

greg k-h

#4 lore raw
In reply to Frodo Looijaard
Quoted 6 lines · Paul Rolland

Hello,

Quoted 3 lines

The version is already built into the 2.5 kernel. So select the i2c driver options in that kernel and see how well they work.

Yes, I2C are present, and I have them available within sysfs.

Great, glad it's working for you.

Quoted 11 lines

My mail was motivated by :
- I can't find anymore i2c within /proc/bus or anywhere else within /proc and it seems that lm_sensors tools are still looking for something there.
- the home page was related to libsensors.a and not to i2c sensors and I was thinking that libsensors was the stuff that new where to get the details in the system (thus switching from /proc to sysfs should be in libsensors for user space application), and I was ready to give it a try.

Sorry I badly understood.

No, you are correct, the lmsensors library doesn't currently support the move to /sys. We don't have a updated version yet, and the webpage is asking for people to help out in doing that development. Unfortunatly there is nothing to help test out yet.

If you can do any development on the conversion, it would be greatly appreciated.

thanks,

greg k-h

#5 lore raw
In reply to Frodo Looijaard
Quoted 7 lines · Paul Rolland

Hello,

Quoted 2 lines

If you can do any development on the conversion, it would be greatly appreciated.

This is exactly what I was thinking of, and my question was : which basis is the best one : lm_sensors-2.7.0 or some CVS checkout ?

Ah, I don't think anyone has started any cvs code for the 2.5/2.6 version of lmsensors, sorry. Or does someone who knows the cvs tree better than I know if this is incorrect?

thanks

greg k-h

#6 lore raw
In reply to Frodo Looijaard

Hello Jean,

Quoted 6 lines
Quoted 1 line
Quoted 1 line

This is exactly what I was thinking of, and my question

was : which

Quoted 4 lines
Quoted 1 line

basis is the best one : lm_sensors-2.7.0 or some CVS checkout ?

Ah, I don't think anyone has started any cvs code for the 2.5/2.6 version of lmsensors, sorry. Or does someone who knows the

Quoted 8 lines

cvs tree

Quoted 1 line

better than I know if this is incorrect?

No, you're correct (and so is Paul). Libsensors doesn't handle sysfs and doesn't work with 2.5 kernels. Coders are welcome.

Paul, the version to start from is definitely CVS.

Thanks very much...
Any specific tag/release or a simple checkout will give me a good place where to start with ?

Regards,
Paul

#7 lore raw
In reply to Frodo Looijaard
Quoted 7 lines
Quoted 3 lines

This is exactly what I was thinking of, and my question was : which basis is the best one : lm_sensors-2.7.0 or some CVS checkout ?

Ah, I don't think anyone has started any cvs code for the 2.5/2.6 version of lmsensors, sorry. Or does someone who knows the cvs tree better than I know if this is incorrect?

No, you're correct (and so is Paul). Libsensors doesn't handle sysfs and doesn't work with 2.5 kernels. Coders are welcome.

Paul, the version to start from is definitely CVS.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#8 lore raw
In reply to Frodo Looijaard
Quoted 7 lines
Quoted 3 lines

Paul, the version to start from is definitely CVS.

Thanks very much...
Any specific tag/release or a simple checkout will give me a good place where to start with ?

No tag for lm_sensors, just checkout and it'll be OK. But if you also need to checkout i2c code, you'll have to use tag lk2-4 for the i2c repository. HEAD isn't used anymore and is just broken. lk2-4 may become HEAD again someday (providing we find how to do this with CVS).

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/