NetBSD-Bugs archive

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

Re: kern/52070: Keyboard freeze after using touchpad



The following reply was made to PR kern/52070; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/52070: Keyboard freeze after using touchpad
Date: Sun, 7 Jan 2024 13:15:41 +0100

 Based on a sugestion from Jared - can you test if this far less intrusive
 change works for your machine too?
 
 Thanks,
 
 Martin
 
 Index: pckbc.c
 ===================================================================
 RCS file: /cvsroot/src/sys/dev/ic/pckbc.c,v
 retrieving revision 1.65
 diff -c -u -p -r1.65 pckbc.c
 --- pckbc.c	17 Nov 2022 23:57:20 -0000	1.65
 +++ pckbc.c	7 Jan 2024 12:14:35 -0000
 @@ -342,7 +342,7 @@ pckbc_attach(struct pckbc_softc *sc)
  		goto nomouse;
  	}
  	t->t_haveaux = 1;
 -	bus_space_write_1(iot, ioh_d, 0, 0x5a); /* a random value */
 +	bus_space_write_1(iot, ioh_d, 0, KBC_SETDEFAULT);
  	res = pckbc_poll_data1(t, PCKBC_AUX_SLOT);
  
  	/*
 


Home | Main Index | Thread Index | Old Index