FreeBSD Bugzilla – Attachment 198852 Details for
Bug 231058
no support for active PS/2 multiplexing results in erratic behaviour of Synaptics touchpad on HP 8560w
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
disable middle button if touchpad or trackpoint is active
psm-disable-middle.patch (text/plain), 819 bytes, created by
Vladimir Kondratyev
on 2018-11-01 12:51:41 UTC
(
hide
)
Description:
disable middle button if touchpad or trackpoint is active
Filename:
MIME Type:
Creator:
Vladimir Kondratyev
Created:
2018-11-01 12:51:41 UTC
Size:
819 bytes
patch
obsolete
>diff --git a/sys/dev/atkbdc/psm.c b/sys/dev/atkbdc/psm.c >index a34de641a08a..e952d79dc783 100644 >--- a/sys/dev/atkbdc/psm.c >+++ b/sys/dev/atkbdc/psm.c >@@ -4960,6 +4960,20 @@ psmsoftintr(void *arg) > bcopy(pb->ipacket, pb->ipacket + 3, 3); > bcopy(sc->muxsave, pb->ipacket, 3); > sc->muxsave[0] &= 0x03; >+ /* Middle button can be clobbered */ >+ if (sc->synhw.capExtended && >+ sc->synhw.capMiddle && >+ !sc->synhw.capClickPad && >+ ((pb->ipacket[0] ^ pb->ipacket[3]) >+ & 0x01)) { >+ sc->idletimeout.tv_sec = >+ psmhz > 1 ? 0 : 1; >+ sc->idletimeout.tv_usec = >+ psmhz>1? 1000000/psmhz : 0; >+ pb->inputbytes = 6; >+ sc->idlepacket = *pb; >+ goto next; >+ } > break; > default: > /* Convert generic -> pass-through */
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 231058
:
196747
|
197498
|
197499
|
197500
|
197560
|
197561
|
197562
|
197580
|
197603
|
197619
|
197625
|
197626
|
197637
|
197658
|
197703
|
197704
|
198030
|
198791
|
198807
|
198824
|
198852
|
198863
|
198878
|
198880
|
198898
|
198926
|
198934
|
199114
|
199294
|
199322
|
199327
|
199329