RE: Fix one bug of w83792d under linux-2.4

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

 



Hi Jean

> You use the Interrupt Status 1 register (41h) to find out the alarm
> condition for the temperatures. For this to work, you have to set the
> temperature interrupts to comparator mode. This changes the output of
> the SMI#/IRQ pin, which may cause problem depending on the way the
> W83792D chip was wired. Also, this method only works for the
> temperatures.

Your suggestion is good! I implemented the comparator mode alarm to
temps with the reference to w83781d driver, without any consideration
to the realtime alarm registers. I will try your suggestion when I'm back
to office next Monday.
 

> OTOH, there are true alarm registers at registers 49h, 4Ah and 4Bh.
> These show the realtime comparison result for all channels, not only the
> temperatures. And these do not require to reconfigure the interrupt
> mode for the temperatures.

I think you are meaning A9h, AAh and ABh, instead of 49h-4Bh.
 

> So I would like you to modify your w83792d driver to use the 49h, 4Ah
> and 4Bh registers for the alarms, and remove the interrupt mode change
> as it won't be needed anymore. You will then have to modify the library
> and the sensors program to use the new alarm bits.

If this method can work under linux-2.4, I will use it in 792 driver for linux-2.6
:-)
 
Thanks
Best Regards
Chunhao
 

===========================================================================================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.
===========================================================================================If your computer is unable to decode Chinese font, please ignore the following message.It essentially repeats the statement in English given 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