Skip to contentSkip to conversation

LM Sensors and Kernel 2.5 (Nvidia Nforce2)

DISCUSSION Patrick Dreker 2 participants 4 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello...

After a lot of trying and reading I have realised that lm-sensors and Kernel 2.5 are not yet usable with the Nvidia Nforce2 Chipset because of a missing module and because libsensors is not ready for sysfs yet. (Using Asus A7V8X-Deluxe Motherboard, so the sensor chip itself (w83781d) is supported and works under 2.4)

As far as I could understand from the website the following things would have to happen to make the above system work:
1) port or integrate i2c-nforce2 from LM-Sensors CVS into kernel 2.5
2) adapt libsensors to use sysfs
(correct me if I am wrong...)

Question: Is anybody already doing one or both of the above? If not: How can I help? If yes: are there patches to try out, or something else to help with?

I know C but I have never got my hands on kernel code (except for some USB Device IDs...). Would it be easy to port the nforce2 bus driver to kernel 2.5? If it is just a simple task, how would this have to be done (Documentation)? I already found /usr/src/linux/Documentation/i2c/i2c-old-porting but this seems to not apply to the i2c-nforce2 driver (at least from a quick glance).

I would be willing to help, but I'd definitely need someone to show me where to start and give me some hints on what needs to be done...

TNX in advance
Patrick
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/DiNicERm2vzC96cRAmMuAKCTLJxciWYdnUIPVnsz4V8tPKda9ACfaR+B cow1kU6u1d7jR2R4p5aEyc0jl5
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 8 lines · Patrick Dreker

Hello...

After a lot of trying and reading I have realised that lm-sensors and Kernel 2.5 are not yet usable with the Nvidia Nforce2 Chipset because of a missing module and because libsensors is not ready for sysfs yet. (Using Asus A7V8X-Deluxe Motherboard, so the sensor chip itself (w83781d) is supported and works under 2.4)

Quoted 5 lines

As far as I could understand from the website the following things would have to happen to make the above system work:
1) port or integrate i2c-nforce2 from LM-Sensors CVS into kernel 2.5
2) adapt libsensors to use sysfs
(correct me if I am wrong...)

Yup, that sounds about right.

Quoted 1 line

Question: Is anybody already doing one or both of the above?

Nope, not that I know of.

Quoted 2 lines

If not: How can I help? If yes: are there patches to try out, or something else to help with?

Can you port the i2c-nforce2 driver to the 2.5 kernel? I outlined the steps necessary to do this in an older email (it's in the archives somewhere, if you can't find it I can dig it up.)

Or if you want to start working on the sysfs version of libsensors, that would be great too.

thanks,

greg k-h

#2 lore raw
In reply to Patrick Dreker
Quoted 5 lines · Patrick Dreker
Quoted 3 lines

Can you port the i2c-nforce2 driver to the 2.5 kernel? I outlined the steps necessary to do this in an older email (it's in the archives somewhere, if you can't find it I can dig it up.)

I think I found it and it sounds too easy to be true, but I'll take my chances and go for the driver.

Great, it's not all that hard, and pretty easy to test. Let me know if you need any help. Once you get a patch, feel free to send it to me/us.

thanks,

greg k-h

#3 lore raw
In reply to Patrick Dreker

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Samstag, 12. Juli 2003 01:31 schrieb Greg KH <[email protected]> zum Thema Re:
LM Sensors and Kernel 2.5 (Nvidia Nforce2):

Quoted 4 lines
Quoted 3 lines

1) port or integrate i2c-nforce2 from LM-Sensors CVS into kernel 2.5
2) adapt libsensors to use sysfs
(correct me if I am wrong...)

Yup, that sounds about right.

Fine.

Quoted 2 lines
Quoted 1 line

Question: Is anybody already doing one or both of the above?

Nope, not that I know of.

Not so nice...

Quoted 3 lines

Can you port the i2c-nforce2 driver to the 2.5 kernel? I outlined the steps necessary to do this in an older email (it's in the archives somewhere, if you can't find it I can dig it up.)

I think I found it and it sounds too easy to be true, but I'll take my chances and go for the driver.

Quoted 2 lines

Or if you want to start working on the sysfs version of libsensors, that would be great too.

One step after the other...

Patrick
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/D3SLcERm2vzC96cRAmBCAJ9IxHv7PV1x5uCCiFVypEW4eHfEFACdF+Z8 kGQAIIF56DzQHrF712AmS7g=Gw33
-----END PGP SIGNATURE-----