From owner-freebsd-ppc@FreeBSD.ORG Fri Oct 31 12:53:40 2008 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 62E7D1065675 for ; Fri, 31 Oct 2008 12:53:40 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id 33FDE8FC13 for ; Fri, 31 Oct 2008 12:53:40 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) id <0K9L00G04T5FGG00@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Fri, 31 Oct 2008 07:53:39 -0500 (CDT) Received: from trantor.tachypleus.net (adsl-99-154-3-101.dsl.mdsnwi.sbcglobal.net [99.154.3.101]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K9L004JBT5EGS50@smtpauth1.wiscmail.wisc.edu>; Fri, 31 Oct 2008 07:53:38 -0500 (CDT) Date: Fri, 31 Oct 2008 07:54:08 -0500 From: Nathan Whitehorn In-reply-to: <20081031054643.GN1165@hoeg.nl> To: Ed Schouten Message-id: <490AFFF0.3010708@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=99.154.3.101 X-Spam-PmxInfo: Server=avs-12, Version=5.4.1.325704, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.10.31.123424, SenderIP=99.154.3.101 References: <20081030061645.GJ1165@hoeg.nl> <4909BA61.8060008@freebsd.org> <20081030160143.GL1165@hoeg.nl> <4909DC87.6080203@freebsd.org> <20081030171918.GM1165@hoeg.nl> <20081031054643.GN1165@hoeg.nl> User-Agent: Thunderbird 2.0.0.17 (X11/20080928) Cc: FreeBSD/ppc Subject: Re: PowerBook 12" hangs right after attaching ams0 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: Fri, 31 Oct 2008 12:53:40 -0000 Ed Schouten wrote: > * Ed Schouten wrote: >> * Nathan Whitehorn wrote: >>> Ed Schouten wrote: >>>> Hello Nathan, >>>> >>>> * Nathan Whitehorn wrote: >>>>> Drat. Could you try the patch at >>>>> http://people.freebsd.org/~nwhitehorn/adb-delayed-attach.diff? >>>> After applying the patch, it still gets stuck during boot. >>> Could you try the latest HEAD? I poked around at my machines this >>> morning to try to make them hang, succeeded, and then fixed some >>> problems that make mouse probes hang after the keyboard is probed >>> successfully. >> I will. Unfortunately I have to compile some things first, so I'll get >> back to you on that. > > Done. It now boots properly: > > | ams0: at device 3 on adb0 > | ams0: 2-button 400-dpi Unknown Pointing Device > > I suspect ams(4) uses a protocol that's not supported by moused yet? If > so, maybe I can find some time to look into that. > Glad it works, and thanks for testing! It works just fine with moused. We just don't have a cursor on the console on PPC, though you can still select stuff if you can divine the position of the cursor in advance. It should also work fine in X. If you feel motivated, you could add a "trackpad" class in adb_mouse_attach(), so it doesn't say Unknown Pointing Device -Nathan