FreeBSD Bugzilla – Attachment 214130 Details for
Bug 246117
Setting hw.psm.elantech.touchpad_off to 1 also disables trackpoint on t480s
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
psm.patch
psm.patch (text/plain), 675 bytes, created by
Vladimir Kondratyev
on 2020-05-04 23:19:57 UTC
(
hide
)
Description:
psm.patch
Filename:
MIME Type:
Creator:
Vladimir Kondratyev
Created:
2020-05-04 23:19:57 UTC
Size:
675 bytes
patch
obsolete
>commit a84132037c2eb3744e4d9f2fe677012462a9c5fd >Author: Vladimir Kondratyev <vladimir@kondratyev.su> >Date: Tue May 5 02:06:56 2020 +0300 > > [psm] Do not disable trackpoint when hw.psm.elantech.touchpad_off is enabled > > PR: 246117 > >diff --git a/sys/dev/atkbdc/psm.c b/sys/dev/atkbdc/psm.c >index 05d0a52b7fe5..f6b307276fdf 100644 >--- a/sys/dev/atkbdc/psm.c >+++ b/sys/dev/atkbdc/psm.c >@@ -4445,7 +4445,7 @@ proc_elantech(struct psm_softc *sc, packetbuf_t *pb, mousestatus_t *ms, > *x = *y = *z = 0; > ms->button = ms->obutton; > >- if (sc->syninfo.touchpad_off) >+ if (sc->syninfo.touchpad_off && pkt != ELANTECH_PKT_TRACKPOINT) > return (0); > > /* Common legend
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 246117
: 214130