From owner-freebsd-ppc@FreeBSD.ORG Mon May 28 20:17:40 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 3EA1F106566B for ; Mon, 28 May 2012 20:17:40 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id E04928FC0A for ; Mon, 28 May 2012 20:17:39 +0000 (UTC) Received: by vbmv11 with SMTP id v11so2618828vbm.13 for ; Mon, 28 May 2012 13:17:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=YGb57cL5mxAAR5TjmcOQyRFNNOJEbs1EBuBXtuKvarw=; b=QTk8AIuza/9Y/HpH6cHrCNEyM+V8ib14BQQdBgq9E4tYFuHuQNStE5zmJIdGTMlZji P71gqLy3rdopNYHC6nyeIF2558gAMhlppRV4w1/N6+VGSC3kLpYpvw1g9HBTthkxntry BcRtuJDHUlHKyll7xfolTpKMHrcNuvZme/RMxLv7mj1rgMO3qCzpimJJenHVCFxpiDKh Wn1dluEIKaImfluzsqmWvrGRKE7OF6XZvjsJKI4cfqmS7WH4c+ZbBs1UmYwHUh+Q2CHR Amw7PGamms4sj8vVaxypTh2+PPPp0XhJCvXhuzf6nTnTTHkpZfdsZ+P4iUzvlcIe4sD2 y3dw== Received: by 10.52.24.179 with SMTP id v19mr8517684vdf.127.1338236259094; Mon, 28 May 2012 13:17:39 -0700 (PDT) Received: from narn.knownspace (216-15-41-8.c3-0.gth-ubr1.lnh-gth.md.cable.rcn.com. [216.15.41.8]) by mx.google.com with ESMTPS id by2sm20574219vdb.22.2012.05.28.13.17.38 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 28 May 2012 13:17:38 -0700 (PDT) Date: Mon, 28 May 2012 16:17:34 -0400 From: Justin Hibbits To: Gilles Risch Message-ID: <20120528161734.6237d51b@narn.knownspace> In-Reply-To: <4FC37BAE.9070800@gmail.com> References: <4FC37BAE.9070800@gmail.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; powerpc-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 20:17:40 -0000 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"? > > 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. 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. - Justin