FreeBSD Bugzilla – Attachment 220675 Details for
Bug 251149
SynPS/2 Synaptics TouchPad: Failed to create a device for ... after upgrade from 12.1 to 12.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for the "kernel bug: device has min == max on ABS_X" libinput-related issue
psm.patch (text/plain), 1.50 KB, created by
Vladimir Kondratyev
on 2020-12-17 18:59:33 UTC
(
hide
)
Description:
Fix for the "kernel bug: device has min == max on ABS_X" libinput-related issue
Filename:
MIME Type:
Creator:
Vladimir Kondratyev
Created:
2020-12-17 18:59:33 UTC
Size:
1.50 KB
patch
obsolete
>diff --git a/sys/dev/atkbdc/psm.c b/sys/dev/atkbdc/psm.c >index 65dc097df6fe..429c025b5925 100644 >--- a/sys/dev/atkbdc/psm.c >+++ b/sys/dev/atkbdc/psm.c >@@ -6468,6 +6468,15 @@ enable_synaptics(struct psm_softc *sc, enum probearg arg) > sc->unit); > psmcpnp_sc = (psmcpnp != NULL) ? device_get_softc(psmcpnp) : NULL; > >+ /* >+ * Typical bezel limits. Taken from 'Synaptics >+ * PS/2 * TouchPad Interfacing Guide' p.3.2.3. >+ */ >+ synhw.maximumXCoord = 5472; >+ synhw.maximumYCoord = 4448; >+ synhw.minimumXCoord = 1472; >+ synhw.minimumYCoord = 1408; >+ > /* Set the different capabilities when they exist. */ > buttons = 0; > synhw.capExtended = (status[0] & 0x80) != 0; >@@ -6595,13 +6604,6 @@ enable_synaptics(struct psm_softc *sc, enum probearg arg) > ((status[1] & 0x0f) << 1); > synhw.maximumYCoord = (status[2] << 5) | > ((status[1] & 0xf0) >> 3); >- } else { >- /* >- * Typical bezel limits. Taken from 'Synaptics >- * PS/2 * TouchPad Interfacing Guide' p.3.2.3. >- */ >- synhw.maximumXCoord = 5472; >- synhw.maximumYCoord = 4448; > } > > if (synhw.capReportsMin) { >@@ -6617,13 +6619,6 @@ enable_synaptics(struct psm_softc *sc, enum probearg arg) > ((status[1] & 0x0f) << 1); > synhw.minimumYCoord = (status[2] << 5) | > ((status[1] & 0xf0) >> 3); >- } else { >- /* >- * Typical bezel limits. Taken from 'Synaptics >- * PS/2 * TouchPad Interfacing Guide' p.3.2.3. >- */ >- synhw.minimumXCoord = 1472; >- synhw.minimumYCoord = 1408; > } > > /*
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 251149
:
220662
| 220675