git: psm - Do not freeze mouse for 2 seconds upon encountering a single sync error

Michael Neumann mneumann at crater.dragonflybsd.org
Thu Dec 30 15:44:02 PST 2021


commit 7e948aa0faea67491a7cf443136aa7ce895f3953
Author: Michael Neumann <mneumann at ntecs.de>
Date:   Fri Dec 31 00:26:05 2021 +0100

    psm - Do not freeze mouse for 2 seconds upon encountering a single sync error
    
    The original code would drop all PS/2 packets for the next 2 seconds
    upon missing a *single* sync byte. Instead, just discard the byte and in
    case we cannot find the sync byte within the next few bytes, fall back
    to the old behaviour.
    
    Fixes bug: #3309

Summary of changes:
 sys/dev/misc/psm/psm.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7e948aa0faea67491a7cf443136aa7ce895f3953


-- 
DragonFly BSD source repository


More information about the Commits mailing list