two questions about w83792d.c for linux-2.4

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

 



Dear Jean, MDS

I have two questions about W83793D driver for linux-2.4
(1) The "set" lines in /etc/sensors.conf w83792d part for voltage
do NOT work! While all the "set" lines for fan and temperature limit
can work. I can't find the reason.

The more strange thing is that, under linux-2.6, the "set" lines for
voltage CAN work!

I attached the /etc/sensors.conf w83792d part in the end of this mail,
for your reference.

(2) The file kernel/include/sensors.h should be auto-generated, instead
of being edited manually. But I don't know how to auto-generate the 792
related codes into this file.

Now I have to manually copy the codes such as
#define W83792D_SYSCTL_IN0 1000
#define W83792D_SYSCTL_IN1 1001
from my w83792d.c, because if I don't copy these codes, there will be
compile error.

Could you tell me how to auto-generate the file
kernel/include/sensors.h?
Is there any script I have to run?

Thanks

============ /etc/sensors.conf  w83792d part =======================
    compute in0 0.2*@ ,  @/0.2
    compute in1 0.2*@ ,  @/0.2
    compute in2 0.4*@ ,  @/0.4
    compute in3 0.4*@ ,  @/0.4
    compute in4 0.4*@ ,  @/0.4
    compute in5 0.4*@ ,  @/0.4
    # W83792D C Version
    compute in6 0.6*@ ,  @/0.6
    compute in7 2.4*@ , @/2.4
    # W83792D B Version
    #compute in6 0.667*@ ,  @/0.667
    #compute in7 2.67*@ ,  @/2.67
    compute in8 1.6*@ , @/1.6

    set in0_min 1.3
    set in0_max 1.6
    set in1_min 1.4
    set in1_max 1.6
    set in2_min 3.2
    set in2_max 3.4
    set in3_min 3.6
    set in3_max 4.0
    set in4_min 1.4
    set in4_max 1.5
    set in5_min 2.6
    set in5_max 2.65
    set in6_min 5 * 0.95
    set in6_max 5 * 1.05
    set in7_min 5 * 0.95
    set in7_max 5 * 1.05
    set in8_min 3 * 0.95
    set in8_max 3 * 1.05
...

Best Regards
Chunhao
2005-02-18


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