On 22/04/14(Tue) 20:30, Kārlis Miķelsons wrote:
> >>>Try to disable pms:
> >>>
> >>># config -e -f /bsd
> >>>UKC>disable pms
> >>>
> >>>And see if you can reproduce the problem.
> >>I can, after disabling pms device, X.org starts just fine.
> >
> >Great. Could you compile a kernel with the diff below applied and post
> >its dmesg after starting Xorg. I'm guessing that the delay comes from
> >the fact that we are re-probing for the touchpad protocol, but having
> >this debug output would help.
>
> Thanks! I did, and this is what it looks like now:
> OpenBSD 5.5-current (GENERIC.MP) #0: Tue Apr 22 20:10:57 EEST 2014
> xxxxxxx@xxxxxxxxxxx:/usr/src/sys/arch/amd64/compile/GENERIC.MP
Thanks, could you test the diff below and tell me if it fixes your
issue?
And please, don't cross post to both tech@ and bugs@. This is a bug
and should stay here ;)
M.
Index: pms.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/pckbc/pms.c,v
retrieving revision 1.49
diff -u -p -r1.49 pms.c
--- pms.c 30 Oct 2013 18:00:56 -0000 1.49
+++ pms.c 24 Apr 2014 12:55:03 -0000
@@ -735,7 +735,7 @@ pms_change_state(struct pms_softc *sc, i
pckbc_flush(sc->sc_kbctag, PCKBC_AUX_SLOT);
pms_reset(sc);
- if (sc->protocol->type == PMS_STANDARD ||
+ if (sc->protocol->enable != NULL &&
sc->protocol->enable(sc) == 0)
pms_protocol_lookup(sc);