RE: Add USB mouse to sysinstall
On 24-Dec-01 William Ward wrote: Is /dev/ums0 ommitted from sysinstall for any particular reason? This patch adds /dev/ums0 to sysinstall::Configure-Mouse-Port. Yes, usbd already runs moused for you. (Look at usbd.conf), so putting this in results in 2 moused's trying to work with /dev/ums0. -- John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/ Power Users Use the Power to Serve! - http://www.FreeBSD.org/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Add USB mouse to sysinstall
On 25-Dec-01 Eric Melville wrote: However, perhaps sysinstall should tell the user that if they have a USB mouse, they need do nothing, insetad of think 'Uhh, I don't recognise any of these, lets try this one' and getting it wrong. Before this menu is presented, sysinstall asks if there is a usb mouse or not. I suppose it could be a bit more verbose about what it is doing and why, but if the questions are simply answered as they are presented the user will end up with what they need. The question in 4.x is broken. It was right in 4.1 or so, but some nameless sheep-lover hosed the wording of the question. I fixed it in -current and should backport it. -- John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/ Power Users Use the Power to Serve! - http://www.FreeBSD.org/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Add USB mouse to sysinstall
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 [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Add USB mouse to sysinstall
Is /dev/ums0 ommitted from sysinstall for any particular reason? This patch adds /dev/ums0 to sysinstall::Configure-Mouse-Port. This is intentional. In the case of a usb mouse, usbd is responsible for starting moused. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Add USB mouse to sysinstall
A. Thanks for the answer. /William On Mon, Dec 24, 2001 at 12:27:52PM -0800, Eric Melville wrote: Is /dev/ums0 ommitted from sysinstall for any particular reason? This patch adds /dev/ums0 to sysinstall::Configure-Mouse-Port. This is intentional. In the case of a usb mouse, usbd is responsible for starting moused. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Add USB mouse to sysinstall
On Mon, 24 Dec 2001, William Ward wrote: A. Thanks for the answer. /William You know, replying below the quoted post makes it a lot easier to reply to both peoples replies, without having to be adept at reading backwards... On Mon, Dec 24, 2001 at 12:27:52PM -0800, Eric Melville wrote: Is /dev/ums0 ommitted from sysinstall for any particular reason? This patch adds /dev/ums0 to sysinstall::Configure-Mouse-Port. This is intentional. In the case of a usb mouse, usbd is responsible for starting moused. However, perhaps sysinstall should tell the user that if they have a USB mouse, they need do nothing, insetad of think 'Uhh, I don't recognise any of these, lets try this one' and getting it wrong. -- David Taylor [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Add USB mouse to sysinstall
However, perhaps sysinstall should tell the user that if they have a USB mouse, they need do nothing, insetad of think 'Uhh, I don't recognise any of these, lets try this one' and getting it wrong. Before this menu is presented, sysinstall asks if there is a usb mouse or not. I suppose it could be a bit more verbose about what it is doing and why, but if the questions are simply answered as they are presented the user will end up with what they need. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message