FreeBSD Bugzilla – Attachment 172246 Details for
Bug 209674
USB keyboard's keys become sticky
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Possible fix
ukbd.diff (text/plain), 489 bytes, created by
Hans Petter Selasky
on 2016-07-08 16:28:41 UTC
(
hide
)
Description:
Possible fix
Filename:
MIME Type:
Creator:
Hans Petter Selasky
Created:
2016-07-08 16:28:41 UTC
Size:
489 bytes
patch
obsolete
>Index: sys/dev/usb/input/ukbd.c >=================================================================== >--- sys/dev/usb/input/ukbd.c (revision 300199) >+++ sys/dev/usb/input/ukbd.c (working copy) >@@ -838,6 +838,11 @@ > DPRINTF("error=%s\n", usbd_errstr(error)); > > if (error != USB_ERR_CANCELLED) { >+ /* release all keys */ >+ memset(&sc->sc_ndata, 0, sizeof(sc->sc_ndata)); >+ >+ ukbd_interrupt(sc); >+ > /* try to clear stall first */ > usbd_xfer_set_stall(xfer); > goto tr_setup;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 209674
: 172246 |
205569