From 3edb14e94bad340b495cf800859f577af0a057ff Mon Sep 17 00:00:00 2001 From: Kip Macy Date: Sun, 15 Jun 2008 13:25:23 +0000 Subject: [PATCH] Stop moused on a detach event. Remove incorrect comment. This fixes frequent problems with usb mice and kvm switches caused by moused hanging around. Suggested by: Matthew Dodd MFC after: 2 weeks --- etc/devd.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etc/devd.conf b/etc/devd.conf index bb41b5bf3373..32466596f020 100644 --- a/etc/devd.conf +++ b/etc/devd.conf @@ -115,6 +115,11 @@ attach 100 { action "/etc/rc.d/moused quietstart $device-name"; }; +detach 100 { + device-name "ums[0-9]+"; + action "/etc/rc.d/moused stop $device-name"; +}; + # Firmware download into the ActiveWire board. After the firmware download is # done the device detaches and reappears as something new and shiny # automatically.