Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Aug 1999 18:34:15 -0700 (PDT)
From:      Ludwig Pummer <ludwigp@bigfoot.com>
To:        Jonathan Rozes <jrozes@vinton.com>
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: touchpad taps not registering as clicks - Fixed!
Message-ID:  <Pine.BSF.4.10.9908171830300.262-100000@furball.chip-web.com>
In-Reply-To: <Pine.SGI.3.96.990817143400.29429A-100000@molloy.vinton.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 17 Aug 1999, Jonathan Rozes wrote:
> The manpage is unclear/misleading. Specifying the FORCETAP option in the
> psm driver does the exact same thing as forcing the model to GLIDEPOINT in
> moused, which is to treat syncs as taps. Try it - I bet it works.

Yup. It did. Although it's a bit odd that when you run moused with "-t
auto", it doesn't work. Shouldn't "-t auto" detect that you have a ps/2
and then behave as if you had run it with "-t ps/2"

> --snip--
> --- sys/i386/isa/psm.c.orig	Tue Aug 17 15:32:39 1999
> +++ sys/i386/isa/psm.c	Tue Aug 17 17:16:15 1999
> @@ -2027,7 +2027,9 @@
>       */
>      if (!mouse_id_proc1(sc->kbdc, PSMD_RES_LOW, 2, status))
>          return FALSE;
> -    if ((status[0] & 0x10) || (status[1] == PSMD_RES_LOW)) 
> +    if (status[1] == PSMD_RES_LOW)
> +        return FALSE;
> +    if ((status[0] & 0x10) && (status[0] & 0x2C))
>          return FALSE;
>      return TRUE;
>  }
> --snip--
> 
> You should be able to apply it by hand to 3.2-RELEASE (the change is in
> the function enable_aglide()). With this change, the kernel correctly
> recognizes the device and taps work, all without any psm flags set in the
> kernel or changes made to moused.

It applied automatically (something about shifted -14 lines though). And
it works! No special moused and no special flags on psm. Thanks!

Perhaps you should make a PR out of this, for the moused.c maintainter(s)
to take care of?

(Now where were you when I first asked my question, before digging through
moused.c ? :) )

--Ludwig Pummer <ludwigp@bigfoot.com>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9908171830300.262-100000>