• Daniel Drake's avatar
    Input: hgpk - recalibration tweaks · 34caed20
    Daniel Drake authored
    Disable the recalibration guard where new recalibrations are triggered
    if we detect a packet too soon after calibrating - we found that this
    results in erroneous recalibrations, and if the recalibration failed
    then the rest of our badness-detection code will request another.
    
    Add a module option disabling all of the recalibration code, in case
    an OLPC deployment thinks all of the workarounds we have are doing
    more damage than good and wants to experiment with them all disabled.
    
    Based on work by Paul Fox.
    Signed-off-by: default avatarDaniel Drake <dsd@laptop.org>
    Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
    34caed20
hgpk.c 26.9 KB