summaryrefslogtreecommitdiffstats
path: root/etc/devd.conf
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2008-06-15 13:25:23 +0000
committerkmacy <kmacy@FreeBSD.org>2008-06-15 13:25:23 +0000
commit7f7fc86beaf699f7b625d8480a605663d9e1de64 (patch)
tree46e29ca085fa7eea1d211afe7ba3daee0b5d673e /etc/devd.conf
parent257bc23f07a1cb68b85763c927a7e37c453fe682 (diff)
downloadFreeBSD-src-7f7fc86beaf699f7b625d8480a605663d9e1de64.zip
FreeBSD-src-7f7fc86beaf699f7b625d8480a605663d9e1de64.tar.gz
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
Diffstat (limited to 'etc/devd.conf')
-rw-r--r--etc/devd.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/devd.conf b/etc/devd.conf
index bb41b5b..3246659 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.
OpenPOWER on IntegriCloud