lm_sensors2 w83792d fix fan auto adjust
PATCH 1/1 lm_sensors2 w83792d fix fan auto adjust
Hi Rudolf,
This patch fix the auto adjust fan divisor bug, and save the low limit while change the divisor.
I have tested it and it works well on my MB. It depends on the previous patch (w83792d_lm2_clear_code.patch)
Please can you check it?
Thanks a lot.
Best Regards
Yuan Mu
==============================================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.本信件內所含華邦電子的財產性機密性資訊, 僅授權原發信人指定之收信人取閱\之用. 假使您並非被指定之收信人或因任何原因在未經授權的情形之下收到本信件, 請您告知原發信人並立即將信件從電腦與網路伺服器中予以消除. 對於您的合作, 我們先此致謝. 特此提醒, 任何未經授權擅自使用華邦電子的機密資訊的行為是被嚴格禁止的. 信件與華邦電子營業無關之內容,不得視為華邦電子之立場或意見.
PATCH 1/1 lm_sensors2 w83792d fix fan auto adjust
Hi Yuan,
Quoted 5 lines
This patch fix the auto adjust fan divisor bug, and save the low limit while change the divisor.
I have tested it and it works well on my MB. It depends on the previous patch (w83792d_lm2_clear_code.patch)
Please can you check it?
I've taken a look and the patch looks rather good. However there's something I am not happy with in the w83792d driver. It's not directly related to this patch, as the current code in lm_sensors CVS has the same issue. But as you are working in the same area, maybe you could fix it.
The w83792d driver changes the fan clock dividers automatically. I'm fine with that, however it also lets the user change the divider values manually. This does not make sense! At the next fan speed reading, chances are that the driver will change the divider value if it wasn't optimal anyway.
So I would like fan_div to be read-only for the user. If you do that, you'll see that you can simplify the automatic fan div change code, because you will no more need to convert from divider to register value (e.g. 8 -> 0x03). Your new "w83792d_set_fan_div" function will take a register value as its "divisor" parameter rather that a divider value.
Can you please rework your patch in that direction?
Thanks,
Signature · 1 line
Jean Delvare
PATCH 1/1 lm_sensors2 w83792d fix fan auto adjust
In reply to [email protected]Hi Jean,
Quoted 8 lines
I've taken a look and the patch looks rather good. However there's something I am not happy with in the w83792d driver. It's not directly related to this patch, as the current code in
lm_sensorsCVS has the same issue. But as you are working in the same area, maybe you could fix it.The w83792d driver changes the fan clock dividers automatically. I'm fine with that, however it also lets the user change the divider
values
Quoted 7 lines
manually. This does not make sense! At the next fan speed reading, chances are that the driver will change the divider value if it wasn't optimal anyway.
So I would like
fan_divto be read-only for the user. If you do that, you'll see that you can simplify the automatic fan div change code, because you will no more need to convert from divider to register
value
Quoted 4 lines
(e.g. 8 ->
0x03). Your new "w83792d_set_fan_div" function will take a register value as its "divisor" parameter rather that a divider value.Can you please rework your patch in that direction?
I hope I get your idea :) The new patch is attached with this mail, please check.
I don't know what kind of attachment type to choose, I have changed it to BINHEX, is it right?
Thanks
Best regards
Yuan Mu
begin 666 w83792d_fix_fan_div.patch M+2TM(&QM7W-E;G-O<G,R+F]R:6<O:V5R;F5L+V-H:7!S+W<X,S<Y,F0N8PDR M,# U+3$R+3$R(#$P.C V.C$V+C P,# P,# P," K,#@P, HK*RL@;&U?<V5N M<V]R<S(O:V5R;F5L+V-H:7!S+W<X,S<Y,F0N8PDR,# U+3$R+3$R(#$U.C(Y M.C$Y+C P,# P,# P," K,#@P, I 0" M,S V+#8@*S,P-BPX($! ('-T871I M8R!V;VED('<X,S<Y,F1?=&5M<%]A9&0H<W1R=6-T(&DR8U\*( D)"6EN="!C M=&Q?;F%M92P@:6YT("IN<F5L<U]M86<L(&QO;F<@*G)E<W5L=',I.PH@<W1A M=&EC('9O:60@=S at S-SDR9%]V<FTH<W1R=6-T(&DR8U]C;&EE;G0@*F-L:65N M="P@:6YT(&]P97)A=&EO;BP*( D)"6EN="!C=&Q?;F%M92P@:6YT("IN<F5L M<U]M86<L(&QO;F<@*G)E<W5L=',I.R J+PHK<W1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YT+"!7.#,W.3)$7U)%1U]414U0,5]/5D52*3L*0$ @+3$P,#$L
M,3,@*S$P,3 at L,S@@0$ @<W1A=&EC('9O:60@=S at S-SDR9%]I;BAS=')U8W0@
M:3)C7V-L:65N= H@"7T*('T*( HK<W1A=&EC('9O:60@=S at S-SDR9%]S971?
M9F%N7V1IºS=')U8W0@:3)C7V-L:65N=" J8VQI96YT+"!I;G0@;G(L('4X
M(&YE=V1I½**WL**PES=')U8W0@=S at S-SDR9%]D871A("ID871A(#T at 8VQI
M96YT+3YD871A.PHK"6EN="!M:6X@/2 P.PHK"6EN="!O;&0@/2 P.PHK"74X
M('1M<" ](# ["BL**PEN97=D:78@/2!314Y33U)37TQ)34E4*&YE=V1I=BP@
M,"P at -RD["BL**PEI9B H;F5W9&EV(#T](&1A=&$M/F9A;E]D:79;;G)=*2![
M"BL)"7)E='5R;CL**PE]"BL**PEM:6X@/2!&04Y?1E)/35]214<H9&%T82T^
M9F%N7VUI;EMN<ETL($1)5E]&4D]-7U)%1RAD871A+3YF86Y?9&EV6VYR72DI
M.PHK"6]L9" ]($9!3E]&4D]-7U)%1RAD871A+3YF86Y;;G)=+"!$259?1E)/
M35]214<H9&%T82T^9F%N7V1I=EMN<ETI*3L**PED871A+3YF86Y?9&EV6VYR
M72 ](&YE=V1I=CL**PET;7 @/2!W.#,W.3)D7W)E861?=F%LdH8VQI96YT
M+"!7.#,W.3)$7U)%1U]&04Y?1$E66VYR(#X^(#%=*3L**PET;7 @)CT@*&YR
M("8@,2D@/R P>#AF(#H@,'AF.#L**PET;7 @?#T@*&YR("8@,2D@/R H*&YE
M=V1I=B \/" T*2 F(#!X-S I(#H@*&YE=V1I=B F(#!X,#<I.PHK"7<X,S<Y
M,F1?=W)I=&5?=F%LdH8VQI96YT+"!7.#,W.3)$7U)%1U]&04Y?1$E66VYR
M(#X^(#%=+"!T;7 I.PHK"61A=&$M/F9A;E]M:6Y;;G)=(#T at 1D%.7U1/7U)%
M1RAM:6XL($1)5E]&4D]-7U)%1RAD871A+3YF86Y?9&EV6VYR72DI.PHK"61A
M=&$M/F9A;EMN<ET@/2!&04Y?5$]?4D5'*&]L9"P at 1$E67T923TU?4D5'*&1A
M=&$M/F9A;E]D:79;;G)=*2D["BL)=S at S-SDR9%]W<FET95]V86QU92AC;&EE
M;G0L(%<X,S<Y,D1?4D5'7T9!3E]-24Y;;G)=+ HK"0D)"61A=&$M/F9A;E]M
M:6Y;;G)=*3L**WT**PH at +RH@<F5A9"]W<FET92!F86X@;65A=7)E9"!V86QU
M92!A;F0@;&EM:71S("HO"B!S=&%T:6,@=F]I9"!W.#,W.3)D7V9A;BAS=')U
M8W0@:3)C7V-L:65N=" J8VQI96YT+"!I;G0@;W!E<F%T:6]N+"!I;G0 at 8W1L
M7VYA;64L"B )"2!I;G0@*FYR96QS7VUA9RP@;&]N9R J<F5S=6QT<RD*('L*
M( ES=')U8W0@=S at S-SDR9%]D871A("ID871A(#T at 8VQI96YT+3YD871A.PH@
M"6EN="!N<B ](&-T;%]N86UE("T at 5S@S-SDR1%]365-#5$Q?1D%.,3L*+0EU
M."!T;7!?<F5G+"!T;7!?9F%N7V1I=CL*( H@"2\J(')E<W5L=%LP73H@;&]W
M(&QI;6ET+"!R97-U;'1;,5TZ(&UE87-U<F5D('9A;'5E("HO"B ):68@*&]P
M97)A=&EO;B ]/2!314Y33U)37U!23T-?4D5!3%])3D9/*0I 0" M,3 Q-2PT
M-" K,3 U-RPQ,R! 0"!S=&%T:6,@=F]I9"!W.#,W.3)D7V9A;BAS=')U8W0@
M:3)C7V-L:65N"B )96QS92!I9B H;W!E<F%T:6]N(#T](%-%3E-/4E-?4%)/
M0U]214%,7U)%040I('L*( D)=S at S-SDR9%]U<&1A=&5?8VQI96YT*&-L:65N
M="D["B )"7)E<W5L='-;,%T@/2!&04Y?1E)/35]214<H9&%T82T^9F%N7VUI
M;EMN<ETL"BT)"0D)("!$259?1E)/35]214<H9&%T82T^9F%N7V1I=EMN<ETI
M*3L*+0D)+RH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/3T at 4T5.4T]24U]04D]#7U)%04Q?
M24Y&3RD*( D)*FYR96QS7VUA9R ](# ["D! ("TQ,3DU+#(W("LQ,C T+#8@
M0$ @<W1A=&EC('9O:60@=S at S-SDR9%]F86Y?9&EV*'-T<G5C="!I,F-?8PH@
M"0D)<F5S=6QT<UMI72 ]($1)5E]&4D]-7U)%1RAD871A+3YF86Y?9&EV6VEM*3L*( D)?0H@"0DJ;G)E;'-?;6%G(#T at -SL*+0E](&5L<V4@:68@*&]P97)A
M=&EO;B ]/2!314Y33U)37U!23T-?4D5!3%]74DE412D@>PHM"0EI9B H*FYR
M96QS7VUA9R \(#<I('L*+0D)"7)E='5R;CL*+0D)?0HM"0EF;W(@*&D],#L@
M:3PW.R!I*RLI('L*+0D)"71E;7!?<F5G(#T at 4T5.4T]24U],24U)5"AR97-U
M;'1S6VE=+" Q+" Q,C at I.PHM"0D)9F]R("AK/3 L:CTP.R!J/#<[(&HK*RD@
M>PHM"0D)"71E;7!?<F5G(#T@=&5M<%]R96<^/C$["BT)"0D):68@*'1E;7!?
M<F5G(#T](# I"BT)"0D)"6)R96%K.PHM"0D)"6LK*SL*+0D)"7T*+0D)"69A
M;E]D:79?<F5G(#T@=S at S-SDR9%]R96%D7W9A;'5E*&-L:65N="P*+0D)"0D)
M5S at S-SDR1%]214=?1D%.7T1)5EMI+S)=*3L*+0D)"69A;E]D:79?<F5G("8]
M("AI)3(@/3T@,"D@/R P>&8X(#H@,'@X9CL*+0D)"71M<%]F86Y?9&EV(#T@
M*&DE,B ]/2 P*2 _("AK)C!X,#<I"BT)"0D)"3H@*"AK/#PT*28P>#<P*3L*
M+0D)"7<X,S<Y,F1?=W)I=&5?=F%LdH8VQI96YT+ HM"0D)"0E7.#,W.3)$
M7U)%1U]&04Y?1$E66VDO,ETL"BT)"0D)"69A;E]D:79?<F5G?'1M<%]F86Y?
49&EV*3L*+0D)?0H@"7T*('T*( H`
`
end==============================================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¨£.
PATCH 1/1 lm_sensors2 w83792d fix fan auto adjust
In reply to [email protected]Hi Yuan,
Sorry for the late answer.
Quoted 4 lines
Quoted 1 line
Can you please rework your patch in that direction?
I hope I get your idea :) The new patch is attached with this mail, please check.
Looks OK to me, you got it all right, I've just committed it.
On top of it, I've made some cleanups (no functional change):
* In w83792d_set_fan_div(), I've dropped the checks on newdiv. Now that this function is no more called with user input data, these checks were no more needed. I also removed useless initializations to 0.
* In w83792d_fan(), I've changed the code to avoid the double settings when fans are disabled.
I hope you're OK with these cleanups.
Quoted 2 lines
I don't know what kind of attachment type to choose, I have changed it to BINHEX, is it right?
Not quite. I had to decode the data manually using "uudecode", which wasn't very convenient.
I think that the previous method was almost correct. The only thing that wasn't OK was the mime type of the attachement. Next time, I suggest that you try adding ".txt" to the name of your patch file before attaching it, and attach it like you did before (not BINHEX). Your email client should hopefully pick the correct mime type if you do that.
You may send test mails to me directly if you want to test attachement methods before sending to the list, and I'll tell you what it looks like on my end.
Thanks for your good work once again, this is very much appreciated.
Signature · 1 line
Jean Delvare