Subject: Re: Phantom button presses from trackpad
To: None <macallan@netbsd.org>
From: David H. Gutteridge <dhgutteridge@sympatico.ca>
List: port-macppc
Date: 10/23/2006 21:25:00
>>After the change, the trackpad is now completely usable.  One thing
>>though -- not that it bothers me -- Michael, you've noted the intent
>>was to make tapping the pad work as button one.  That doesn't happen
>>for me.

>So your pad appears to use yet another different protocol.

>>As above, before the change if I used the trackpad with xev(1)
>>it would report button 179 as soon as I touched it.

>Would it report /another/ button when you take the finger from the pad?
>Or would it just report a button-up event for 179?

It would report a button-up event for 179.

>>Now it never reports any button events when I touch it, whether that's
>>a tap or something more prolonged.  Like I said, no worries for me,
>>I don't use the trackpad to click (in fact, I had no idea one could
>>do that), but thought I'd mention it.  (Perhaps it's something to do
>>with the older branch I'm using?)

>As far as I can tell your pad just uses another variant of the protocol.
>Now we need to figure out how to recognize this revision and which
>phantom buttons it uses how.

>Would it be ok if I just send you a patch that reports button events on
>the ADB level and you tell me what kind of events you get when putting
>a finger on the pad, move it, lift it up again?

Sure, absolutely.

>>My iBook reports two buttons.

>It's listed ad EMP trackpad in dmesg, isn't it?

Yes, the dmesg says:

ams0 at adb0 addr 3: EMP trackpad <tpad> 2-button, 400 dpi

Dave