ports/159313: sysutils/uhidd: uhidd-devd.conf.sample doesn't work
Test Rat
ttsestt at gmail.com
Mon Aug 8 03:40:13 UTC 2011
The following reply was made to PR ports/159313; it has been noted by GNATS.
From: Test Rat <ttsestt at gmail.com>
To: FreeBSD-gnats-submit at FreeBSD.org
Cc:
Subject: Re: ports/159313: sysutils/uhidd: uhidd-devd.conf.sample doesn't work
Date: Mon, 08 Aug 2011 07:35:11 +0400
Fix devd sample conf on /head after r221623.
http://docs.freebsd.org/cgi/mid.cgi?861uwxcrh1
--- a.diff begins here ---
Index: sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample
===================================================================
RCS file: sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample
diff -N sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample 8 Aug 2011 03:25:53 -0000
@@ -0,0 +1,12 @@
+--- uhidd/uhidd-devd.conf.sample~
++++ uhidd/uhidd-devd.conf.sample
+@@ -1,4 +1,6 @@
+-attach 0 {
+- match "device-name" "ugen[0-9]+.[0-9]+";
+- action "/usr/local/etc/rc.d/uhidd start /dev/$device-name";
++notify 0 {
++ match "subsystem" "DEVICE";
++ match "type" "ATTACH";
++ match "cdev" "ugen[0-9]+.[0-9]+";
++ action "/usr/local/etc/rc.d/uhidd start /dev/$cdev";
+ };
--- a.diff ends here ---
More information about the freebsd-ports-bugs
mailing list