Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Aug 2011 03:40:13 GMT
From:      Test Rat <ttsestt@gmail.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/159313: sysutils/uhidd: uhidd-devd.conf.sample doesn't work
Message-ID:  <201108080340.p783eDwW028293@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/159313; it has been noted by GNATS.

From: Test Rat <ttsestt@gmail.com>
To: FreeBSD-gnats-submit@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 ---



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