We will port w83792d.c to linux-2.6

Huang0 at Winbond.com.tw Huang0 at Winbond.com.tw
Sat Feb 5 03:23:33 CET 2005

Hi Jean, MDS

This is Chunhao. The following is my answer.

> It is always possible to commit a first version and apply patches
> afterwards as problems are found and fixed. We don't plan to release a
> new version of lm_sensors before a couple of months, so it can be
> committed now, get some testing by the few CVS users we have, get
> where needed and be ready for the next release. That would sound like
> sane timeline.
> I think we have a few users which have W83792D chips and are waiting
> a driver to test. I can't remember if these were running 2.4 or 2.6
> kernels though. At any rate, committing early will increase the
> that your code gets additional testing, which is definitely good.

Yeah, I agree with you, I will persuade my manager to commit the 792
driver as soon as possible. :-)
But since my manager is taking the Chinese traditional new year vacation
from this morning, I can NOT contact him for about 10 days. And my
vacation also will start two days later.:-)
We will back to work at Feb. 16. At that time I will contact you about
it. Is that OKay?

> What MDS is probably waiting for before adding your driver to
> CVS is a patch to libsensors and sensors that would add support for
> w83792d chip type. End-users need this to really take benefit of your
> driver. Reading the raw values from /proc isn't exactly convenient. As
> a side effect, doing this should help you understand how voltage
> works and hopefully convince you that libsensors can handle voltage
> conversions just right so your driver don't need to do that by itself

Do you mean that the patch to libsensors should be provided by me?
Or MDS will write it?
Besides w83792d.c, I also have finished the following files:
(1) prog/sensors/main.c
(2) prog/sensors/chips.h
(3) prog/sensors/chips.c
(4) lib/chips.h
(5) lib/chips.c
(6) kernel/chips/Module.mk
I attached them in this email, please check them. it is for my
test. You may refer to them so that you can know the work I have done.

But I do NOT modify the /etc/sensors.conf because I'm not very familiar
with it, maybe MDS can modify it for me ;-)

Could you confirm that if I commit the 792 driver, which files should I

> See the "PWM" section of the document. It has standard file names and
> values for both manual and hardware-controlled fan speed control.
> Basically, pwmN_enable selects control mode (off, manual, automatic),
> pwmN controls duty cycle in manual mode (and optionally displays
> duty cycle in automatic mode), the other files control the various
> points in automatic mode. It might or might not fit the W83792D model.
> hope it does, because we had a hard time designing this interface so
> that it would be suitable for all chips. If you need more than that,
> just add the files you need. If it happens that more chip drivers need
> the same, we'll attempt to standardize afterwards.
> The basic rule is that you shouldn't use a different name or different
> value conventions for things that are already standardized - for the
> rest you are relatively free, as long as your choices are consistent.

OK, I see, thanks, I will pay more attention to
at first, especially to the "PWM" section. Then I will contact you if I
more questions about it. :-)

Best Regards


===========================================================================================The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original author of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such person, please kindly reply the sender indicating accordingly and delete all copies of it from your computer and network server immediately. We thank you for your cooperation. It is advisable that any unauthorized use of confidential information of Winbond is strictly prohibited; and any information in this email that does not relate to the official business of Winbond shall be deemed as neither given nor endorsed by Winbond.===========================================================================================If your computer is unable to decode Chinese font, please ignore the following message. They essentially repeat the  English statement above.¥»«H¥ó¤º©Ò§tµØ¨¹¹q¤lªº°]²£©Ê¾÷±K©Ê¸ê°T, ¶È±ÂÅv­ìµo«H¤H«ü©w¤§¦¬«H¤H¨ú¾\¤§¥Î. °²¨Ï±z¨Ã«D³Q«ü©w¤§¦¬«H¤H©Î¦]¥ô¦ó­ì¦]¦b¥¼¸g±ÂÅvªº±¡§Î¤§¤U¦¬¨ì¥»«H¥ó, ½Ð±z§iª¾­ìµo«H¤H¨Ã¥ß§Y±N«H¥ó±q¹q¸£»Pºô¸ô¦øªA¾¹¤¤¤©¥H®ø°£. ¹ï©ó±zªº¦X§@, §Ú­Ì¥ý¦¹­PÁÂ. ¯S¦¹´£¿ô, ¥ô¦ó¥¼¸g±ÂÅv¾Õ¦Û¨Ï¥ÎµØ¨¹¹q¤lªº¾÷±K¸ê°Tªº¦æ¬°¬O³QÄY®æ¸T¤îªº. «H¥ó»PµØ¨¹¹q¤lÀç·~µLÃö¤§¤º®e,¤£±oµø¬°µØ¨¹¹q¤l¤§¥ß³õ©Î·N¨£.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lm_sensors-2.9.0_792part.tar.gz
Type: application/x-gzip
Size: 77098 bytes
Desc: lm_sensors-2.9.0_792part.tar.gz
URL: <http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050205/c1acebeb/attachment.gz>

More information about the lm-sensors mailing list