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



Hi,

Happy new year, by the way.

Martin Husemann <martin%duskware.de@localhost> écrit :
> 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?

Unfortunately, it does not work (nor using 0xEB instead of
KBC_SETDEFAULT).  Touchpad still not working (that, I don't
really care as I don't use it) but touching it for the first time
still hangs the keyborad (that, I use a lot).

>  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);

Using KBC_SETDEFAULT need #include <dev/pckbport/pckbdreg.h>
somewhere.  Anyway, it's not working.


Home | Main Index | Thread Index | Old Index