From owner-freebsd-ppc@FreeBSD.ORG Mon Mar 11 18:09:23 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8574210B; Mon, 11 Mar 2013 18:09:23 +0000 (UTC) (envelope-from alfred@ixsystems.com) Received: from mail.iXsystems.com (newknight.ixsystems.com [206.40.55.70]) by mx1.freebsd.org (Postfix) with ESMTP id 6CB0D65D; Mon, 11 Mar 2013 18:09:22 +0000 (UTC) Received: from localhost (mail.ixsystems.com [10.2.55.1]) by mail.iXsystems.com (Postfix) with ESMTP id B9CDC60701; Mon, 11 Mar 2013 11:09:22 -0700 (PDT) Received: from mail.iXsystems.com ([10.2.55.1]) by localhost (mail.ixsystems.com [10.2.55.1]) (maiad, port 10024) with ESMTP id 05185-06; Mon, 11 Mar 2013 11:09:22 -0700 (PDT) Received: from Alfreds-MacBook-Pro-9.local (unknown [10.8.0.18]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.iXsystems.com (Postfix) with ESMTPSA id 78E7A606FD; Mon, 11 Mar 2013 11:09:22 -0700 (PDT) Message-ID: <513E1DCE.4090002@ixsystems.com> Date: Mon, 11 Mar 2013 11:09:18 -0700 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130216 Thunderbird/17.0.3 MIME-Version: 1.0 To: Justin Hibbits Subject: Re: questions about adb_mouse on 9-stable. References: <513E142D.50404@ixsystems.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 18:09:23 -0000 On 3/11/13 10:34 AM, Justin Hibbits wrote: > Hey Alfred, > > > On Mon, Mar 11, 2013 at 10:28 AM, Alfred Perlstein wrote: > >> Hello freebsd-ppc & Nathan! >> >> I have FreeBSD ppc working on a g4 macbookpro 12in. >> >> It works pretty awesome. >> >> The only nit I have is the mouse has a funny bug where after I hit a mouse >> button, then the keyboard is unresponsive until I touch the trackpad to >> move the mouse. I'm wondering if there's a fix in place for this? >> > Yup, I filed a PR for this. The keyboard is unresponsive because it thinks > the mouse button is still down. My experience was only in X, but it may > also be on the console (PR powerpc/161045). Thanks Justin. I am seeing the same behavior, even on the console. > >> One other question, is there a way to make holding down another key + >> hitting mouse button act as 2nd and 3rd mouse buttons? Linux seems to have >> this feature: http://box.matto.nl/**linuxibook.htmllook under "Pasting with one button mouse in Linux": >> >> The iBook comes with a single mouse button. This makes pasting a new >>> challenge. One solution: >>> >>> * edit /etc/sysctl.conf >>> * use Fn-Apple-Click to paste >>> >>> Put this in /etc/sysctl.conf: >>> >>> dev/mac_hid/mouse_button3_**keycode = 125 >>> dev/mac_hid/mouse_button2_**keycode = 126 >>> dev/mac_hid/mouse_button_**emulation = 1 >>> >> If there's no time for this, any pointers to get started will be good. >> >> -Alfred >> > There is a sysctl for this, I think it's dev.ams.0.tapping (something like > that). Eh, the results are spotty, it would be nice to be able to hold down a keyboard key versus tapping. -Alfred