• Dmitry Torokhov's avatar
    Input: psmouse - don't leave mouse asleep · ba44995a
    Dmitry Torokhov authored
    It looks like quite a few mice out there treat PSMOUSE_RESET_DIS
    as a powerdown request and turn off the light rendering the mouse
    unusable.
    
    Vojtech recommended to switch from PSMOUSE_RESET_DIS to full reset,
    however we don't want to do that everywhere as full reset is pretty
    slow. Instead we only use it before probing for "generic" protocols,
    such as IntelliMouse and Explorer, to make sure that the mouse will
    be woken up if it went to sleep as a result of PSMOUSE_RESET_DIS
    issued earlier.
    Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
    ba44995a
psmouse-base.c 31 KB