Skip to contentSkip to conversation

Winbound W83627EHF sensor

DISCUSSION Carlos Eduardo Medaglia Dyonisio 2 participants 7 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hi all!

I have an A8V-E Deluxe, with W83627EHF sensor, and I've read in
http://secure.netroedge.com/~lm78/newdrivers.html that has a driver for it, but it's under development.

I've downloaded the patch, and I've applied it to linux-2.6.12-rc4, and it works fine, but it just shows the temperature and fan speeds, as in the comments of that web page.

I'd like to help the development of this driver, and I'd like to know what should I do to help us. ;)

Thanks,
Cadu

#1 lore raw

Hi Cadu,

Quoted 5 lines

Where is the latest version? I have a patch to linux-2.6.12-rc3. I don't know if it is the latest version.
Are you hacking this driver now? I'm asking that because if the answer is yes, we can change the same thing at the same time, and maybe it will not be a good thing.

The reference version is the one in Greg KH's i2c tree:
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/i2c/i2c-w83627ehf.patch

On top of which you have to apply a cleanup patch:
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/i2c/i2c-w83627ehf-cleanup.patch

And you have it. I am not working on this driver anymore, which is the very reason why I released it unfinished.

If you go on working on this driver, we can list you on our new drivers page.

Thanks,

Signature · 1 line
Jean Delvare
#2 lore raw
In reply to Carlos Eduardo Medaglia Dyonisio

Hi Cadu,

Quoted 5 lines
Quoted 2 lines

3* Code, if you can write Linux kernel code (C). If you go that way, we will of course try to help you when you face problems and have questions.

I'd like to help with code. I've wrote a webcam driver to Linux, so I have some experience. I'd like to know where to start! :)

Pick the datasheet here:
http://archives.andrew.net.au/lm-sensors/pdfe5IBpZipZu.pdf

Reminder for your future work: do NOT trust that datasheet like holy words. I have found errors already, and there may be more.

Then start from my version of the driver (be sure to start from the latest version!) and add the missing functions (voltage inputs, VID/VRM, PWM outputs). My w83627ehf code is based on the w83627hf driver in the first place, so you can probaly find inspiration there. See how this other driver handles the missing features, copy to the w83627ehf driver and edit to match the datasheet. Then recompile and test your new driver.

Note that "sensors" won't show anything until libsensors knows about the new features. I invite you to first make sure that the driver works OK by manually reading and writing values in /sys/bus/i2c/devices/*. Once you have tested this, you can edit the code of libsensors and the sensors program (both in the lm_sensors package) to handle the new features.

That's it for the big plan. Now if you have more precise questions, do not hesitate. Oh, and please answer to the mailing-list rather than me directly, so that others can voice in.

Thanks,
--
Jean Delvare

author
#3 lore raw
In reply to Carlos Eduardo Medaglia Dyonisio
Quoted 5 lines · Jean Delvare
Quoted 2 lines

I'd like to help with code. I've wrote a webcam driver to Linux, so I have some experience. I'd like to know where to start! :)

Pick the datasheet here:
http://archives.andrew.net.au/lm-sensors/pdfe5IBpZipZu.pdf

Ok... Thanks!

Quoted 2 lines

Reminder for your future work: do NOT trust that datasheet like holy words. I have found errors already, and there may be more.

Oh.. I know. I have experience with bad datasheets too... :)

Quoted 2 lines

Then start from my version of the driver (be sure to start from the latest version!)

Where is the latest version? I have a patch to linux-2.6.12-rc3. I don't know if it is the latest version.
Are you hacking this driver now? I'm asking that because if the answer is yes, we can change the same thing at the same time, and maybe it will not be a good thing.

Quoted 6 lines

and add the missing functions (voltage inputs, VID/VRM,
PWM outputs). My w83627ehf code is based on the w83627hf driver in the first place, so you can probaly find inspiration there. See how this other driver handles the missing features, copy to the w83627ehf driver and edit to match the datasheet. Then recompile and test your new driver.

Quoted 6 lines

Note that "sensors" won't show anything until libsensors knows about the new features. I invite you to first make sure that the driver works OK by manually reading and writing values in /sys/bus/i2c/devices/*. Once you have tested this, you can edit the code of libsensors and the sensors program (both in the lm_sensors package) to handle the new features.

I'll do that.

Quoted 3 lines

That's it for the big plan. Now if you have more precise questions, do not hesitate. Oh, and please answer to the mailing-list rather than me directly, so that others can voice in.

Ok. I will start today!

Thank you!
Cadu

author
#4 lore raw
In reply to Carlos Eduardo Medaglia Dyonisio
Quoted 5 lines · Jean Delvare

And you have it. I am not working on this driver anymore, which is the very reason why I released it unfinished.

If you go on working on this driver, we can list you on our new drivers page.

Thank you. I'm reading the datasheet, and I'm going to work on this driver. I'll send a patch and news when I have it... :)

I'm thinking to put on my web page the status of the development of this driver, with the patches and some other things.

I'll tell you when I have some news and/or questions.

Regards,
Cadu

#5 lore raw
In reply to Carlos Eduardo Medaglia Dyonisio

Hi Carlos,

Quoted 10 lines

I have an A8V-E Deluxe, with W83627EHF sensor, and I've read in
http://secure.netroedge.com/~lm78/newdrivers.html that has a driver for it, but it's under development.

I've downloaded the patch, and I've applied it to linux-2.6.12-rc4, and it works fine, but it just shows the temperature and fan speeds, as in the comments of that web page.

I'd like to help the development of this driver, and I'd like to know what should I do to help us. ;)

I am the author of the preliminary w83627ehf driver.

There are several ways you can help with the further developement of the driver.

1* Hardware donation, e.g. a motherboard with a Winbond W83627EHF chip, with or without additional stuff (CPU, memory modules...), or something else that can be of any use to us for the development effort. I may do the work myself in exchange of a hardware donation, contact me directly if you are interested.

2* Money, if you want to hire someone to do the development work. I cannot legally do that, but other developers may.

3* Code, if you can write Linux kernel code (C). If you go that way, we will of course try to help you when you face problems and have questions.

--
Jean Delvare

#6 lore raw
In reply to Carlos Eduardo Medaglia Dyonisio

Hi Cadu,

Quoted 5 lines

Thank you. I'm reading the datasheet, and I'm going to work on this driver. I'll send a patch and news when I have it... :)

I'm thinking to put on my web page the status of the development of this driver, with the patches and some other things.

Sounds great! Let us know when you have something online, and we'll link to your site so that users are more likely to find it and test your code.

Quoted 1 line

I'll tell you when I have some news and/or questions.

Sure, no problem :)

--
Jean Delvare