From owner-freebsd-ppc@freebsd.org Fri Nov 20 21:51:26 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 10FED46F2E8 for ; Fri, 20 Nov 2020 21:51:26 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cd9H16Xbrz4gR9 for ; Fri, 20 Nov 2020 21:51:25 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bdragon/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id D339A2304F for ; Fri, 20 Nov 2020 21:51:25 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailauth.nyi.internal (Postfix) with ESMTP id 9D02A27C0054 for ; Fri, 20 Nov 2020 16:51:25 -0500 (EST) Received: from imap1 ([10.202.2.51]) by compute3.internal (MEProxy); Fri, 20 Nov 2020 16:51:25 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudegtddgudehfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecufghrlhcuvffnffculddutddmnecujfgurhepof gfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdeurhgrnhguohhnuceu vghrghhrvghnfdcuoegsughrrghgohhnsefhrhgvvgeuufffrdhorhhgqeenucggtffrrg htthgvrhhnpefhvdfgtedtueevudejuefghfekkeejfefgleekleevvdefuefhleevfeel ledutdenucffohhmrghinhepfhhrvggvsghsugdrohhrghenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegsughrrghgohhnodhmvghsmhhtphgr uhhthhhpvghrshhonhgrlhhithihqddutdegvdefheekieegqddukedutdekheduqdgsug hrrghgohhnpeephfhrvggvuefuffdrohhrghesihhmrghprdgttg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 5703DC204D2; Fri, 20 Nov 2020 16:51:25 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-622-g4a97c0b-fm-20201115.001-g4a97c0b3 Mime-Version: 1.0 Message-Id: <1a003f47-56d2-4998-b67e-b6312c283aa0@www.fastmail.com> In-Reply-To: References: Date: Fri, 20 Nov 2020 15:51:05 -0600 From: "Brandon Bergren" To: "FreeBSD PowerPC ML" Subject: Re: Touchpad not working on PowerBook G4 12" Content-Type: text/plain X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2020 21:51:26 -0000 On Thu, Nov 19, 2020, at 1:30 AM, Omar Willey wrote: > Hi, > > I'm coming back to FreeBSD after a long, long absence and I've made it a > project to revive this PowerBook g4 aluminum 12" 640MB/867gHz with FreeBSD > 12.2 Do you have the specific model number handy? > > I've managed to get X working with a window manager and file manager for a > minimal desktop but I cannot get the touchpad to work in X at all. > > I first tried loading the wsp(4) driver as a module in /boot/loader.conf, > then tried the older atp(4) separately, but the device isn't binding to > /dev/atp0. These are for trackpads connected over internal USB, which were only on later PowerBook G4s and newer machines. Given the specs you listed I think it's likely that yours is one of the older ones that predate this type of touchpad. > > dmesg says: > > ams0: at device 3 on adb0 > ams0: ADB Mouse = 0xd (Extended Mode) > ams0: 2-button 400-dpi Touchpad This is an ADB attachment, not a USB attachment. This implies that that your touchpad is at /dev/ams0. > > but no sign of /dev/atp0. No sign of /dev/wsp0, either, when I use the wsp > driver. I've added the traditional > > moused_enable="YES" > moused_port="/dev/atp0" > > to my /etc/rc.conf, but no dice. The problem seems to be that the ADB > device is detected but it never gets assigned the pseudo-device at > /dev/atp0 the manual says it's supposed to. Again, atp0 is only for a touchpad connected over an internal USB interface, not an ADB-interface touchpad. > > I've searched a bunch of advice on the issue on this list and FreeBSD > forums, but none of it is any more recent than 2013, except one unanswered > question from 2017 that is almost identical to mine. > > Do I also need something in xorg.conf.d? Or other voodoo? I'm not gonna die > if I have to use an external USB mouse (I am now), but I'd like the > touchpad to fall back on at the very least. > > --Omar > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > -- Brandon Bergren bdragon@FreeBSD.org