Fix one bug of w83792d under linux-2.4

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

 



Hi MDS, Rudolf, Jean

Quoting MDS
> I reviewed the datasheet about comparator/interrupt modes.
> Unfortunately, only the temps support comparator mode; voltages and 
> fans support only interrupt  mode (datasheet sections 7.7.5-7.7.7)

> My recommendation is that we set the temperature sensors to comparator
mode.
> The code at line 729 should put bits 7 and 6 of reg. 0x4C to 00
(comparator
> mode),
> which is what the comment says, but it sets it to 01 (2 times
interrupt mode).
> This is probably left over from whatever driver you copied from.
> So my recommendation is to set  the bits to 00.

I use the "comparator mode" to temperature sensors instead of the
original
method, would you please commit my modification for me? The attachment
is
the patch to lm_sensors-2.9.1.

I have tested it here on my two motherboards, it works well. The
modified
files are:
kernel/chips/w83792d.c
lib/chips.h
lib/chips.c
prog/sensors/chips.c


After you commit it for me, please just give me a response.


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??.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: w83792d_driver-1.0.4.patch
Type: application/octet-stream
Size: 8826 bytes
Desc: w83792d_driver-1.0.4.patch
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050530/8630b5e9/attachment.obj 


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

  Powered by Linux