From owner-freebsd-bugs Mon Jun 10 13:40:18 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A9EC537B40B for ; Mon, 10 Jun 2002 13:40:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5AKe2h23928; Mon, 10 Jun 2002 13:40:02 -0700 (PDT) (envelope-from gnats) Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by hub.freebsd.org (Postfix) with ESMTP id C528537B406 for ; Mon, 10 Jun 2002 13:37:23 -0700 (PDT) Received: from kokeb.ambesa.net ([64.173.9.150]) by mta7.pltn13.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GXI00DPNBYA60@mta7.pltn13.pbi.net> for FreeBSD-gnats-submit@freebsd.org; Mon, 10 Jun 2002 13:37:23 -0700 (PDT) Received: from kokeb.ambesa.net (dev1ant@localhost [127.0.0.1]) by kokeb.ambesa.net (8.12.3/8.12.3) with ESMTP id g5AKghP4006805 for ; Mon, 10 Jun 2002 13:42:43 -0700 (PDT envelope-from makonnen@pacbell.net) Received: (from mikem@localhost) by kokeb.ambesa.net (8.12.3/8.12.3/Submit) id g5AKggrH006804; Mon, 10 Jun 2002 13:42:43 -0700 (PDT envelope-from makonnen@pacbell.net) Message-Id: <200206102042.g5AKggrH006804@kokeb.ambesa.net> Date: Mon, 10 Jun 2002 13:42:43 -0700 (PDT) From: Mike Makonnen Reply-To: Mike Makonnen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: conf/39125: [PATCH] /etc/usbd.conf should enable cursor on console when a usb mouse is attached Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 39125 >Category: conf >Synopsis: [PATCH] /etc/usbd.conf should enable cursor on console when a usb mouse is attached >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jun 10 13:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Mike Makonnen >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: FreeBSD kokeb.ambesa.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri Jun 7 14:38:03 PDT 2002 mikem@kokeb.ambesa.net:/FreeBSD/builds/current/src.obj/FreeBSD/builds/current/src/sys/NODRM i386 >Description: When a usb mouse is attached, the mouse cursor is not enabled. Instead, the user has to invoke the vidcontrol -m on command manually. >How-To-Repeat: >Fix: I think it would be more convenient to have the vidcontrol command executed automatically as part of the usb attach process. --- usbdconf.diff begins here --- Index: etc/usbd.conf =================================================================== RCS file: /home/ncvs/src/etc/usbd.conf,v retrieving revision 1.10 diff -u -r1.10 usbd.conf --- etc/usbd.conf 8 Mar 2002 14:46:13 -0000 1.10 +++ etc/usbd.conf 10 Jun 2002 20:31:28 -0000 @@ -46,7 +46,7 @@ # device "Mouse" devname "ums[0-9]+" - attach "/usr/sbin/moused -p /dev/${DEVNAME} -I /var/run/moused.${DEVNAME}.pid" + attach "/usr/sbin/moused -p /dev/${DEVNAME} -I /var/run/moused.${DEVNAME}.pid; vidcontrol -m on" # The fallthrough entry: Nothing is specified, nothing is done. And it isn't # necessary at all :-). Just for pretty printing in debugging mode. --- usbdconf.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message