Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2002 13:42:43 -0700 (PDT)
From:      Mike Makonnen <makonnen@pacbell.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/39125: [PATCH] /etc/usbd.conf should enable cursor on console when a usb mouse is attached
Message-ID:  <200206102042.g5AKggrH006804@kokeb.ambesa.net>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206102042.g5AKggrH006804>