FreeBSD Bugzilla – Attachment 215027 Details for
Bug 242542
[psm] trackpoint not working, touchpad only sometimes after upgrade to 12.1-RELEASE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
psm.patch
psm.patch (text/plain), 940 bytes, created by
Vladimir Kondratyev
on 2020-05-29 15:39:17 UTC
(
hide
)
Description:
psm.patch
Filename:
MIME Type:
Creator:
Vladimir Kondratyev
Created:
2020-05-29 15:39:17 UTC
Size:
940 bytes
patch
obsolete
>diff --git a/sys/dev/atkbdc/psm.c b/sys/dev/atkbdc/psm.c >index a4270a94bd34..50b21a109e2b 100644 >--- a/sys/dev/atkbdc/psm.c >+++ b/sys/dev/atkbdc/psm.c >@@ -6297,6 +6297,8 @@ enable_synaptics_mux(struct psm_softc *sc, enum probearg arg) > int active_ports_count = 0; > int active_ports_mask = 0; > >+ int command_byte = get_controller_command_byte(kbdc); >+ > version = enable_aux_mux(kbdc); > if (version == -1) > return (FALSE); >@@ -6334,6 +6336,18 @@ enable_synaptics_mux(struct psm_softc *sc, enum probearg arg) > /* IRQ handler does not support active multiplexing mode */ > disable_aux_mux(kbdc); > >+ if (!enable_aux_dev(kbdc) || !disable_aux_dev(kbdc)) { >+ /* MOUSE ERROR */ >+ reset_kbd(kbdc); >+ reset_aux_dev(kbdc); >+ recover_from_error(kbdc); >+ restore_controller(kbdc, command_byte); >+ reset_aux_dev(kbdc); >+ if (verbose) >+ printf("psm%d: failed to enable the aux device.\n", >+ sc->unit); >+ } >+ > return (probe); > } >
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 242542
:
214954
|
214955
|
215015
|
215020
|
215024
|
215027
|
215104
|
215105