From owner-freebsd-ppc@FreeBSD.ORG Mon May 28 23:17:24 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 747381065670 for ; Mon, 28 May 2012 23:17:24 +0000 (UTC) (envelope-from gilles.risch@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id EF9F48FC08 for ; Mon, 28 May 2012 23:17:23 +0000 (UTC) Received: by eeke49 with SMTP id e49so944261eek.13 for ; Mon, 28 May 2012 16:17:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=Pd7/f1PEmu6HcIOSqWai9fUN1DB9eR/A9vQysP949u0=; b=AfS78i25YwVhbCgyIHUmSbsJRm2dlD82p1p5GJc+ryF2otnY/j8aPnVL2yejWDNyPW /4fHPQC5siReQkD+QiZ7J6qJQeKJmBqW2tW4W1DgXSXuZN0HA3elmKGsNdvk8qVs+qc+ XV0nG8NjMluYQjM1VbR659jsFEqknNJuhiyUr/zLU/TWr5HKGgtXTelQA4ZMoXOfvZkp uOwHEN4jtNrDB0nvusuYUNQt8qnXPRGelVvSGddTHzpztFUEgL7jvqx1E1WaweyKv82T gL4IkLydeStmCFyaSyws/rgdWOpPH0W93o7HSQzd9BkZpjln0vJ6VJK+S0Fze6ZSqpMK gs5g== Received: by 10.14.119.144 with SMTP id n16mr2762241eeh.187.1338247040100; Mon, 28 May 2012 16:17:20 -0700 (PDT) Received: from sojus.fritz.box (ip-88-207-213-254.dyn.luxdsl.pt.lu. [88.207.213.254]) by mx.google.com with ESMTPS id y54sm42136457eef.10.2012.05.28.16.17.18 (version=SSLv3 cipher=OTHER); Mon, 28 May 2012 16:17:19 -0700 (PDT) Message-ID: <4FC4077E.5000101@gmail.com> Date: Tue, 29 May 2012 01:17:18 +0200 From: Gilles Risch User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Justin Hibbits References: <4FC37BAE.9070800@gmail.com> <20120528161734.6237d51b@narn.knownspace> In-Reply-To: <20120528161734.6237d51b@narn.knownspace> X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: PowerBook G4: Touchpad does not work. 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: Mon, 28 May 2012 23:17:24 -0000 Hello, On 5/28/12 10:17 PM, Justin Hibbits wrote: > Hi, > > On Mon, 28 May 2012 15:20:46 +0200 > Gilles Risch wrote: > >> Hi, >> >> Yesterday I installed FreeBSD onto a 15" Powerbook G4 (Rev. D). I've >> followed the instructions from the atp manual page and added the >> following to my /etc/rc.conf: >> >> # Apple Touchpad >> moused_enable="YES" >> moused_port="/deb/atp0" > > I assume that's a typo, and is really "/dev/atp0"? > Correct, just a typo, not the cause of the problem. >> >> Because that didn't work I checked the product id of the touch pad >> with: "usbconfig -u 0 -a 3 dump_device_desc" >> >> ugen0.3: at usbus0, >> cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON >> >> bLength = 0x0012 >> bDescriptorType = 0x0001 >> bcdUSB = 0x0200 >> bDeviceClass = 0x0000 >> bDeviceSubClass = 0x0000 >> bDeviceProtocol = 0x0000 >> bMaxPacketSize0 = 0x0008 >> idVendor = 0x05ac >> idProduct = 0x020f >> bcdDevice = 0x0028 >> iManufacturer = 0x0001 >> iProduct = 0x0002 >> iSerialNumber = 0x0000 >> bNumConfigurations = 0x0001 >> >> Looks fine because 0x02f is supported according the manual page. >> >> A "less /var/log/messages | grep atp" gave me the following: >> May 28 11:30:32 powerbook kernel: atp_attach: failed to read device >> mode (22) >> May 28 11:30:32 powerbook kernel: device_attach: atp0 attach returned >> 6 >> >> Any ideas? >> >> Kind regards, >> Gilles > > Error code 22 in that error string is USB_ERR_STALLED. > > One option would be recompile without atp, and load it on demand as a > module. That might prevent the stalling on the bus. A rebuild of the kernel without atp didn't solve the problem: powerbook# kldload atp powerbook# ls /dev/atp* ls: No match. powerbook# The attach error messages have gone but there's no atp node. > > What version of FreeBSD are you using? Have you tried a recent > -CURRENT snapshot? There are recent RELENG_9 snapshots on > http://pub.allbsd.org/FreeBSD-snapshots/ that you could try as well. > The next step I tried, was a rebuild of the whole system. Therefore I updated my source tree with csup to RELENG_9_0. I now have this on my PowerBook: "FreeBSD 9.0-RELEASE-p1 #3: Mon May 28 21:49:45 CEST 2012". I tried a kernel with and without atp but the touchpad still doesn't work. > - Justin > > Kind regards, Gilles