Date: Mon, 24 Dec 2001 14:21:50 -0600 From: William Ward <wardd@mobycarp.org> To: Joe Kelsey <joe@zircon.seattle.wa.us>, current@freebsd.org, stable@freebsd.org Subject: Re: Add USB mouse to sysinstall Message-ID: <20011224142150.A18621@mobycarp.org> 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 References: <20011224140404.A18116@mobycarp.org> <15399.36195.457881.251185@zircon.zircon.seattle.wa.us>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011224142150.A18621>