Hi Jean > > During the porting of w83792d driver, we have two questions here: > > (1) The sysfs interface in linux-2.6.10/Documentation/i2c/sysfs-interface > > is not enough for w83792d driver, we want to add some other interfaces, > > which are about Winbond Smart Fan(SmartFan I and SmartFan II). > > You may refer to w83792d for linux-2.4, it also has the interfaces about > > Smart Fan. > > Could you give me some guidance on how to add some new sysfs interface? > > Need we ask for the permission from LM_Sensors group or Linux kernel group? > > I just took a look at the datasheet. It happens that Smart Fan II fits > rather good in the auto-fan-speed-control scheme currently defined in > the 2.6 kernel, so it shouldn't be a problem. The only difference is > that for each trip point, we define a high temperature limit and an > hysteresis temperature, while the W83792D chip defines a medium limit > with a tolerance. It's just a matter of arithmetics to convert from one > to the other. > > Smart Fan I, aka cruise mode, doesn't quite fit in the model, although > it could be seen as an approximate subset of Smart Fan II. I see little > reason to implement Smart Fan I when Smart Fan II is so obviously > better, so I wouldn't implement it at all. It seems that only the adm1026 chip driver contains auto-fan-speed-control scheme, but there are few comments and documents about it, I do not comprehend it very well.:-( I have one suggestion: Can we add some smart fan related sysfs-interfaces, which start with "wb_" ? "wb_" indicates that these interfaces are created by Winbond hardware monitor driver, then we may implement all the Smart Fan related function in 792 driver, including Smart Fan I. just like the 792 driver for linux-2.4. So that we can write some applications for our customers easily in the future by these interfaces. What's your opinion? :-) Thanks Best Regards Chunhao 2005-03-11 ===========================================================================================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 repea! t 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??.