summaryrefslogtreecommitdiffstats
path: root/etc/devd.conf
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2014-01-29 10:42:01 +0000
committerhselasky <hselasky@FreeBSD.org>2014-01-29 10:42:01 +0000
commitfdb5e5e5abccd369618e13d70075d2c5e5d5a70f (patch)
tree2097a6a726283d882836849adf243945388ce2d8 /etc/devd.conf
parentf8038f60cdbb0cfc0737893790a54ac9024416b7 (diff)
downloadFreeBSD-src-fdb5e5e5abccd369618e13d70075d2c5e5d5a70f.zip
FreeBSD-src-fdb5e5e5abccd369618e13d70075d2c5e5d5a70f.tar.gz
Add support for trackpads found in Apple MacBook products. While at it
add some missing devd entries. Submitted by: Huang Wen Hui <huanghwh@gmail.com> MFC after: 1 week
Diffstat (limited to 'etc/devd.conf')
-rw-r--r--etc/devd.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/etc/devd.conf b/etc/devd.conf
index 5339bae..0c70817 100644
--- a/etc/devd.conf
+++ b/etc/devd.conf
@@ -119,6 +119,15 @@ notify 100 {
match "system" "DEVFS";
match "subsystem" "CDEV";
match "type" "CREATE";
+ match "cdev" "atp[0-9]+";
+
+ action "/etc/rc.d/moused quietstart $cdev";
+};
+
+notify 100 {
+ match "system" "DEVFS";
+ match "subsystem" "CDEV";
+ match "type" "CREATE";
match "cdev" "ums[0-9]+";
action "/etc/rc.d/moused quietstart $cdev";
@@ -127,6 +136,15 @@ notify 100 {
notify 100 {
match "system" "DEVFS";
match "subsystem" "CDEV";
+ match "type" "CREATE";
+ match "cdev" "wsp[0-9]+";
+
+ action "/etc/rc.d/moused quietstart $cdev";
+};
+
+notify 100 {
+ match "system" "DEVFS";
+ match "subsystem" "CDEV";
match "type" "DESTROY";
match "cdev" "ums[0-9]+";
OpenPOWER on IntegriCloud