From owner-freebsd-current Mon Dec 24 12:22: 4 2001 Delivered-To: freebsd-current@freebsd.org Received: from mobycarp.org (h-66-134-60-67.DLLATX37.covad.net [66.134.60.67]) by hub.freebsd.org (Postfix) with ESMTP id 5041D37B416; Mon, 24 Dec 2001 12:21:55 -0800 (PST) Received: (from wardd@localhost) by mobycarp.org (8.11.6/8.11.1) id fBOKLoo18654; Mon, 24 Dec 2001 14:21:50 -0600 (CST) (envelope-from wardd) Date: Mon, 24 Dec 2001 14:21:50 -0600 From: William Ward To: Joe Kelsey , current@freebsd.org, stable@freebsd.org Subject: Re: Add USB mouse to sysinstall Message-ID: <20011224142150.A18621@mobycarp.org> References: <20011224140404.A18116@mobycarp.org> <15399.36195.457881.251185@zircon.zircon.seattle.wa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15399.36195.457881.251185@zircon.zircon.seattle.wa.us>; from joe@zircon.seattle.wa.us on Mon, Dec 24, 2001 at 12:17:39PM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks Joe. I managed to screw up my first patch posted to any mailing list. Hehe. Maybe it's supposed to work that way. --- menus.c.old Mon Dec 24 13:54:18 2001 +++ menus.c Mon Dec 24 13:55:49 2001 @@ -387,6 +387,8 @@ dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/cuaa3" }, { "6 BusMouse", "Logitech, ATI or MS bus mouse (/dev/mse0)", dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/mse0" }, + { "7 USBMouse", "USB Mouse (/dev/ums0)", + dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/ums0" }, { NULL } }, }; /William On Mon, Dec 24, 2001 at 12:17:39PM -0800, Joe Kelsey wrote: > William Ward writes: > > Is /dev/ums0 ommitted from sysinstall for any particular reason? This patch > > adds /dev/ums0 to sysinstall::Configure->Mouse->Port. > > > > Patch to /usr/src/release/sysinstall/menus.c. > > > > *** menus.c Mon Dec 24 13:55:49 2001 > > --- menus.c.old Mon Dec 24 13:54:18 2001 > > *************** > > *** 387,394 **** > > dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/cuaa3" }, > > { "6 BusMouse", "Logitech, ATI or MS bus mouse (/dev/mse0)", > > dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/mse0" }, > > - { "7 USBMouse", "USB Mouse (/dev/ums0)", > > - dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/ums0" }, > > { NULL } }, > > }; > > > > --- 387,392 ---- > > > > Unfortunately, you are apparantly unaware how the diff utility works. > The patch you posted *removes* /dev/ums0. The correct way to run diff > is: > > diff -u old new > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message