From owner-freebsd-ppc@FreeBSD.ORG Tue Jan 20 00:23:24 2009 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CD2A1065670 for ; Tue, 20 Jan 2009 00:23:24 +0000 (UTC) (envelope-from nwhitehorn@banshee.munuc.org) Received: from banshee.munuc.org (unknown [IPv6:2001:4978:11f:d600::d610]) by mx1.freebsd.org (Postfix) with ESMTP id C88238FC1B for ; Tue, 20 Jan 2009 00:23:23 +0000 (UTC) (envelope-from nwhitehorn@banshee.munuc.org) Received: from nwhitehorn (helo=localhost) by banshee.munuc.org with local-esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LP4Oo-000B88-Dq; Mon, 19 Jan 2009 18:23:22 -0600 Date: Mon, 19 Jan 2009 18:23:22 -0600 (CST) From: Nathan Whitehorn X-X-Sender: nwhitehorn@banshee.munuc.org To: Ed Schouten In-Reply-To: <20081102184335.GT1165@hoeg.nl> Message-ID: References: <20081102171754.GS1165@hoeg.nl> <490DE209.4020109@freebsd.org> <20081102184335.GT1165@hoeg.nl> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: Nathan Whitehorn X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: nwhitehorn@banshee.munuc.org X-SA-Exim-Scanned: No (on banshee.munuc.org); SAEximRunCond expanded to false Cc: FreeBSD/ppc Subject: Re: ADB mouse fixup X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2009 00:23:24 -0000 On Sun, 2 Nov 2008, Ed Schouten wrote: > * Nathan Whitehorn wrote: >> That is really strange. As it happens, the code currently there for high >> buttons is to handle an external ALPS Glidepoint touchpad I have with 3 >> buttons that gives button events on buttons 1,2, and 4. The rest of my >> hardware behaves correctly, and the ALPS device reports itself as a >> mouse, not a trackpad, so I think the patch is fine. Crazy Apple >> hardware... > > Yeah, it is pretty strange. Though I think we may find this useful in > the future. Each time you use the touch pad, it reports button 5 events. > I suspect that when you use two fingers (not supported by my model) it > returns a different button, though I can't confirm. > > I see there's also another small issue with my touch pad. For some > reason X11 doesn't process any click events if I don't move the pointer > after I've clicked/released the button. I'll investigate. > You might want to look at the NetBSD ams driver. It sends a bunch of magic packets to initialize trackpads. Maybe there is something in there that could solve it? Also, the P4 bwi driver seems to work well on PPC. I'm typing this over my wireless connection on my G4 iBook right now. -Nathan