Subject: Phantom button presses from trackpad
To: None <port-macppc@netbsd.org>
From: Magnus Henoch <mange@freemail.hu>
List: port-macppc
Date: 01/19/2006 16:45:49
I have an iBook G4 of early 2004, running -current, but I haven't yet
bothered to update X beyond 4.4.0.  I tried changing the keyboard
driver from "keyboard" to "kbd", which gave positive results (more
keys defined, less need for xmodmap), but also made the trackpad
behave strangely.  Whenever I put my finger on it, it reports button
179 being pressed:

ButtonRelease event, serial 24, synthetic NO, window 0x1400001,
    root 0x38, subw 0x0, time 449443, (297,594), root:(298,595),
    state 0x0, button 179, same_screen YES

ButtonPress event, serial 24, synthetic NO, window 0x1400001,
    root 0x38, subw 0x0, time 449441, (297,594), root:(298,595),
    state 0x0, button 179, same_screen YES

ButtonRelease event, serial 24, synthetic NO, window 0x1400001,
    root 0x38, subw 0x0, time 449443, (297,594), root:(298,595),
    state 0x0, button 179, same_screen YES

This makes Mozilla believe that I'm holding a mouse button down all
the time, which is rather annoying.

Has anyone else seen this?  What might be the cause (and the fix)?
Should I just upgrade X and see what happens?

Magnus