Skip to content

Commit b6ec1c5

Browse files
committed
psm - disable PS2 multiplexing based on kbdc quirks
hw.psm.mux_disabled now defaults to -1, in which case the quirks are taken into account. Taken-from: FreeBSD
1 parent 457a604 commit b6ec1c5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sys/dev/misc/psm/psm.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ static int verbose = PSM_DEBUG;
531531
static int synaptics_support = 1;
532532
static int trackpoint_support = 1;
533533
static int elantech_support = 1;
534-
static int mux_disabled = 0;
534+
static int mux_disabled = -1;
535535

536536
TUNABLE_INT("hw.psm.tap_enabled", &tap_enabled);
537537
TUNABLE_INT("debug.psm.loglevel", &verbose);
@@ -6322,7 +6322,8 @@ enable_synaptics_mux(struct psm_softc *sc, enum probearg arg)
63226322

63236323
sc->muxsinglesyna = FALSE;
63246324

6325-
if (mux_disabled != 0)
6325+
if (mux_disabled == 1 || (mux_disabled == -1 &&
6326+
(kbdc->quirks & KBDC_QUIRK_DISABLE_MUX_PROBE) != 0))
63266327
return (FALSE);
63276328

63286329
version = enable_aux_mux(kbdc);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy