Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2003 01:24:04 -0400 (EDT)
From:      Jun Su <junsu@m-net.arbornet.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/56025: [PATCH] moused when detect USB mouse
Message-ID:  <200308270524.h7R5O4uE094351@m-net.arbornet.org>
Resent-Message-ID: <200308270530.h7R5UHsG095404@freefall.freebsd.org>

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

>Number:         56025
>Category:       bin
>Synopsis:       [PATCH] moused when detect USB mouse
>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:   Tue Aug 26 22:30:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jun Su
>Release:        FreeBSD 5.1-Current
>Organization:
>Environment:
	5.1-Current


>Description:
	Add a action when an USB mouse detected.
>How-To-Repeat:
	
>Fix:


*** /usr/src/etc/devd.conf	Fri Aug 22 21:38:28 2003
***************
*** 55,66 ****
  	device-name "ed50";
  };
  
+ # Enable moused on the USB Mouse device
+ attach 0 {
+ 	device-name "ums[0-9]+";
+ 	action "/usr/sbin/moused -p /dev/$device-name";
+ };
+ 
  #
  # Rescan scsi device-names on attach, but not detach.
  #
--- 55,60 ----




>Release-Note:
>Audit-Trail:
>Unformatted:



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