• Jonas Munsin's avatar
    [PATCH] I2C: fix it87 sensor driver stops CPU fan · dfc216c6
    Jonas Munsin authored
    > 2* I would then add a check to the it87 driver, which completely disables
    > the fan speed control interface if the initial configuration looks weird
    > (all fans supposedly stopped and polarity set to "active low"). This
    > should protect users of the driver who have a faulty BIOS.
    >
    > When a bogus configuration is detected, we would of course complain in
    > the logs and invite the user to complain to his/her motherboard maker
    > too.
    
    Here is it87.c_2.6.10-jm4-detect_broken_bios_20050112.diff implementing
    this. It goes on top of the previous patch.
    
    - detects broken bioses, disables the pwm for them and prints a message
    - fixes an unrelated minor bug in set_fan_div()
    Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
    Signed-off-by: default avatarJonas Munsin <jmunsin@iki.fi>
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    dfc216c6
it87.c 33.9 KB