A question when test W83792D driver on another motherboard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jean

> This is a typical output when the SMBus is stuck. Reads will return
-1,
> which is then misinterpreted as 0xff and results in the output above.
> Side notes:
> 1* You should check your code for fan clock dividers. It is very
> suspicious that you get different values and some of them are NOT
> possible divider values.

I modified the w83792d_fan_div() and w83792d_fan() in my 792 driver,
which
is similar with the corresponding functions in CVS w83781d.c now, but it
does NOT work either. I'm a little discouraged about the problem we meet
:-(


Quoting myself:
> > 1. I will send you the updated 792 driver patch right after this
problem
> > being fixed.
> Great :)

I think I need several days before I send you the new 792 driver patch, 
because I need further consideration to the function w83792d_fan_div()
and w83792d_fan().

My w83792d_fan_div() and w83792d_fan() is a little different with the
functions
in w83781d driver, I use a "do { ... } while (0)" loop in w83792d_fan()
in order
to adjust the fan divisor automatically. I wrote these codes with the
reference
to our windows driver. I think you can understand our idea because you
read
the 792 driver source code.

Although these functions can work on my motherboard ASUS PSCH-SR, I'm
still
afraid that whether there will be some hidden trouble in the future,
because the
"do...while" loop's condition is fixed into "0", and writing values into
registers take some time in SMBus.

These functions in w83781d driver for LINUX-2.6 seem good, maybe I
should use
them. Do you have any suggestion about it?
Need I keep the original w83792d_fan_div() and w83792d_fan() functions I
sent
you?

Thanks
Best Regards

Chunhao
2005-03-03


===========================================================================================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??.



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux