W83627DHG
This is a summary of a conversation on irc.freenode.net #linux-sensors
Jean Delvare:
Looking at the w83627ehf driver again, I see that it is currently based on i2c-isa, which I want to get rid of. Also, i2c-isa drivers are a bit tricky as they use i2c structures all around the place without a good reason. An intermediate step would be to convert it to a platform driver. So I suggest the following plan:
1. Add support for the DHG chip.
2. Convert the driver to a platform driver.
3. Work on a cleaner super-io implementation.
Known good platform drivers are abituguru, f71805f, hdaps, pc87427 and vt1211, but abituguru and hdaps are not super-I/O chips so they are not good examples for you. This leaves you with 3 drivers to look at. I'll need to convert the it87 driver to a platform driver too someday. I could do it at the same time you do yours, so that we can share our efforts.
David Hubbard:
#3 is the point where KMentors might be useful. Also discussed a different plan where a separate patch would change the i2c-isa device name to w83627dhg when that chip is detected. That plan is no good, since it would break userspace compatibility. The device name should be set in the same patch which adds DHG support.
Jean, feel free to correct/add if necessary.
Quoted 19 lines · David Hubbard
This is a summary of a conversation on irc.freenode.net #linux-sensors
Jean Delvare:
Looking at the w83627ehf driver again, I see that it is currently based on i2c-isa, which I want to get rid of. Also, i2c-isa drivers are a bit tricky as they use i2c structures all around the place without a good reason. An intermediate step would be to convert it to a platform driver. So I suggest the following plan:
1. Add support for the DHG chip.
2. Convert the driver to a platform driver.
3. Work on a cleaner super-io implementation.Known good platform drivers are abituguru, f71805f, hdaps, pc87427 and vt1211, but abituguru and hdaps are not super-I/O chips so they are not good examples for you. This leaves you with 3 drivers to look at. I'll need to convert the it87 driver to a platform driver too someday. I could do it at the same time you do yours, so that we can share our efforts.
Quoted 8 lines
David Hubbard:
#3 is the point where KMentors might be useful. Also discussed a different plan where a separate patch would change the i2c-isa device name to w83627dhg when that chip is detected. That plan is no good, since it would break userspace compatibility. The device name should be set in the same patch which adds DHG support.Jean, feel free to correct/add if necessary.
Sounds like a perfect summary of our conversation, I don't have anything to add :)
Signature · 1 line
Jean Delvare
Hi Dezheng,
I apologize for not responding sooner. I was on vacation. I would like having a 627DHG motherboard -- it would certainly be a good way to test and debug the kernel driver. I am currently using an Asus A8N-VM/CSM as the testbed for the 627EHG chip. It has a socket 939. (I am using an Athlon 64 X2 4400+) Can you tell me what motherboard you might be thinking of sending? If there is a motherboard with a 627DHG and a socket 939, I could easily just swap the processor when testing.
This email thread contains an email from Paul Yeh at princeton. However, we didn't actually decide to ship a 627DHG evaluation board at that time, so I am still relying on testers on the lm-sensors list who own Core Duo motherboards.
If there are no motherboards with a 627DHG and a socket 939 processor, I could probably find a processor that would fit the motherboard, and I would still like having a board for testing.
I feel I can speak for all on the lm-sensors list in saying that Winbond has been wonderful in support of the lm-sensors project.
Thanks again,
David
Quoted 37 lines · DZShen at winbond.com
Dear all:
First of all, please do NOT put this email on lm-sensors mailing list.
Please.Hi Rudolf and Jean:
This is dezheng from Winbond Electronics again!
I found that David Hubbard is working on Winbond 627DHG. As a
manufacturer, I asked my boss to provide some support to this gentleman by provding him one motherboard with 627DHG embedded. However, we can't provide CPU, RAM and power supply this time.Hi David:
This is dezheng from Winbond Electronics and our team is responsible for
lm-sensors drivers for our Winbond hardware monitor chips. I heard that you are working on Winbond 627DHG and would like to help by providing one ASUS motherboard with 627 chip embedded. However, we can't provide you with a full system including CPU, RAM and power supply.In your emails, it seems to me you already possed one motherboard with
Winbond 627DHG chip embedded. However, what we can do is also to provide you another ASUS motherboard with 627DHG embedded without CPU, RAM and power supply.Do you have any suggestion? You can consult with Rudolf and Jean on our
past cooperation in private then give me your feedback and suggestion.The only reason why we are offering this is that we would like to help
lm-sensors group because they have done a lot for providing free hardware monitor device driver to other Linux users. What we can do as one of hardware monitor manufacturers is to provide some support to you guys.best regards,
dz
Hi Dezheng,
Yes! That is a great idea. I can accept the motherboard + processor, and I do have DDR2 RAM. So this is a good way to verify the 627DHG driver, especially as we are working on several features including SuperIO locking. You will also be pleased to know that I have submitted a final patch for review, so the 627DHG driver will be released very soon now. (Once the patch is approved by Jean Delvare, I will be announcing it to all those who have expressed an interest in testing the new driver, and I will CC you on that announcement.)
I like in the United States, for shipping purposes.
Thanks for your support!
David
P.S. There is a request on lm-sensors to backport the driver to the 2.4 kernel:
Quoted 4 lines
As to the backports to PREVIOUS kernels like Red Hat Advanced server
(Linux 2.4 kernel), it is OUR (Winbond) responsibility, not yours. Your job is to look forward to NEWER Linux releases and WE (Winbond) will take care of the backport.
I will be sure to coordinate with you (Winbond) when we start backporting the driver.
Quoted 39 lines · DZShen at winbond.com
Hi David:
Good news to lm-sensors!Just ended one conversation on the phone and the engineer planned to
work on 627DHG is moved to another tight-schedule project so that my boss is willing to donate one ASUS 627 DHG motherboard with Intel Duo 2 processor to sponsor your work on 627DHG.Are you willing to take this offer?
ASUS P5B motherboard + Intel Duo 2 processor, this motherboard comes
with DDR2 RAM so that you need DDR2 RAM to make this motherboard work. If you don't have DDR2 RAM, please let me know immediately so that I can talk to my boss again.If you accept this offer, I would like to ask you to do us a favor. Once there is a NEW Linux kernel release, could you help verify
lm-sensors 627DHG driver on this motherboard we donate? There is no tight schedule on when you have to verify lm-sensors 627DHG once a NEW Linux kernel is released but it would be great if you can do the verification work when you get a change.As to the backports to PREVIOUS kernels like Red Hat Advanced server
(Linux 2.4 kernel), it is OUR (Winbond) responsibility, not yours. Your job is to look forward to NEWER Linux releases and WE (Winbond) will take care of the backport.I am a bridge between Winbond and lm-sensors group so that I will
think carefully about who to do what and to be fair to both sides. If you find anything which is unfair to you, please let me know.The 2006 budget year is coming to an end so that you have to response
me quickly in order to meet our Winbond internal budget schedule because I persuaded my boss to use the R&D budget left in 2006 to donate ASUS motherboard and Intel Duo 2 processor.Thank you for your work on lm-sensors 627DHG driver
dz
David:
We will start our internal procurement and I will tell you what we
will ship to you in a few days.
Give me your shipping address and your cell phone so that express
service can contact you.
Best regards,
dz
-----Original Message-----
From: David Hubbard [mailto:david.c.hubbard at gmail.com]
Sent: Wednesday, December 13, 2006 9:49 AM
To: PI14 DZSHEN; PI14 JGONG; PI14 WQWANG; r.marek at assembler.cz; khali at linux-fr.org; LM Sensors
Subject: Re: [lm-sensors] W83627DHG
Hi Dezheng,
Yes! That is a great idea. I can accept the motherboard + processor, and I do have DDR2 RAM. So this is a good way to verify the 627DHG driver, especially as we are working on several features including SuperIO locking. You will also be pleased to know that I have submitted a final patch for review, so the 627DHG driver will be released very soon now. (Once the patch is approved by Jean Delvare, I will be announcing it to all those who have expressed an interest in testing the new driver, and I will CC you on that announcement.)
I like in the United States, for shipping purposes.
Thanks for your support!
David
P.S. There is a request on lm-sensors to backport the driver to the 2.4 kernel:
Quoted 2 lines
As to the backports to PREVIOUS kernels like Red Hat Advanced server
(Linux 2.4 kernel), it is OUR (Winbond) responsibility, not yours.
Your
Quoted 2 lines
job is to look forward to NEWER Linux releases and WE (Winbond) will take care of the backport.
I will be sure to coordinate with you (Winbond) when we start backporting the driver.
Quoted 6 lines · DZShen at winbond.com
Hi David:
Good news to lm-sensors!Just ended one conversation on the phone and the engineer planned to
work on 627DHG is moved to another tight-schedule project so that my boss is willing to donate one ASUS 627 DHG motherboard with Intel Duo
2
Quoted 7 lines
processor to sponsor your work on 627DHG.
Are you willing to take this offer?
ASUS P5B motherboard + Intel Duo 2 processor, this motherboard comes
with DDR2 RAM so that you need DDR2 RAM to make this motherboard work. If you don't have DDR2 RAM, please let me know immediately so that I
can
Quoted 11 lines
talk to my boss again.
If you accept this offer, I would like to ask you to do us a favor. Once there is a NEW Linux kernel release, could you help verify
lm-sensors 627DHG driver on this motherboard we donate? There is no tight schedule on when you have to verify lm-sensors 627DHG once a NEW Linux kernel is released but it would be great if you can do the verification work when you get a change.As to the backports to PREVIOUS kernels like Red Hat Advanced server
(Linux 2.4 kernel), it is OUR (Winbond) responsibility, not yours.
Your
Quoted 8 lines
job is to look forward to NEWER Linux releases and WE (Winbond) will take care of the backport.
I am a bridge between Winbond and lm-sensors group so that I will
think carefully about who to do what and to be fair to both sides. If you find anything which is unfair to you, please let me know.The 2006 budget year is coming to an end so that you have to
response
Quoted 1 line
me quickly in order to meet our Winbond internal budget schedule
because
Quoted 6 lines
I persuaded my boss to use the R&D budget left in 2006 to donate ASUS motherboard and Intel Duo 2 processor.
Thank you for your work on lm-sensors 627DHG driver
dz
=============================================The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Winbond is strictly prohibited; and any information in this email irrelevant to the official business of Winbond shall be deemed as neither given nor endorsed by Winbond.
Hi Dezheng,
I will reply without CCing the other recipients for privacy reasons. All emails which are sent to lm-sensors become public domain.
Thanks!
David
Quoted 10 lines · DZShen at winbond.com
David:
We will start our internal procurement and I will tell you what we
will ship to you in a few days.Give me your shipping address and your cell phone so that express
service can contact you.Best regards,
dz