From ttsestt@gmail.com  Sat Jul 30 15:15:51 2011
Return-Path: <ttsestt@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 5615F106566C
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 30 Jul 2011 15:15:51 +0000 (UTC)
	(envelope-from ttsestt@gmail.com)
Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50])
	by mx1.freebsd.org (Postfix) with ESMTP id E44328FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 30 Jul 2011 15:15:49 +0000 (UTC)
Received: by wwe6 with SMTP id 6so4299618wwe.31
        for <FreeBSD-gnats-submit@freebsd.org>; Sat, 30 Jul 2011 08:15:49 -0700 (PDT)
Received: by 10.227.134.136 with SMTP id j8mr3710399wbt.42.1312038949014;
        Sat, 30 Jul 2011 08:15:49 -0700 (PDT)
Received: from localhost (tor4.anonymizer.ccc.de [80.237.226.74])
        by mx.google.com with ESMTPS id r48sm2132808weq.26.2011.07.30.08.15.46
        (version=SSLv3 cipher=OTHER);
        Sat, 30 Jul 2011 08:15:48 -0700 (PDT)
Message-Id: <86fwln2412.fsf@gmail.com>
Date: Sat, 30 Jul 2011 19:15:37 +0400
From: Test Rat <ttsestt@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: sysutils/uhidd: uhidd-devd.conf.sample doesn't work

>Number:         159313
>Category:       ports
>Synopsis:       sysutils/uhidd: uhidd-devd.conf.sample doesn't work
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 30 15:20:09 UTC 2011
>Closed-Date:    Sun Dec 25 17:42:59 UTC 2011
>Last-Modified:  Fri Feb  3 17:20:10 UTC 2012
>Originator:     Test Rat
>Release:        FreeBSD 9.0-BETA1 r224522M amd64
>Organization:
>Environment:
>Description:
>How-To-Repeat:
$ devd -Ddf uhidd-devd.conf.sample
Parsing /usr/local/etc/devd/uhidd-devd.conf.sample
Processing event '!system=DEVFS subsystem=CDEV type=CREATE cdev=usb/4.2.0'
Pushing table
setting system=DEVFS
setting subsystem=CDEV
setting type=CREATE
setting cdev=usb/4.2.0
Processing notify event
Popping table
Processing event '!system=DEVFS subsystem=CDEV type=CREATE cdev=ugen4.2'
Pushing table
setting system=DEVFS
setting subsystem=CDEV
setting type=CREATE
setting cdev=ugen4.2
Processing notify event
Popping table
Processing event '!system=DEVFS subsystem=CDEV type=CREATE cdev=usb/4.2.1'
Pushing table
setting system=DEVFS
setting subsystem=CDEV
setting type=CREATE
setting cdev=usb/4.2.1
Processing notify event
Popping table
Processing event '!system=DEVFS subsystem=CDEV type=CREATE cdev=usb/4.2.2'
Pushing table
setting system=DEVFS
setting subsystem=CDEV
setting type=CREATE
setting cdev=usb/4.2.2
Processing notify event
Popping table
Processing event '!system=USB subsystem=DEVICE type=ATTACH ugen=ugen4.2 cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host port=1 parent=ugen4.1'
Pushing table
setting system=USB
setting subsystem=DEVICE
setting type=ATTACH
setting ugen=ugen4.2
setting cdev=ugen4.2
setting vendor=0x045e
setting product=0x00db
setting devclass=0x00
setting devsubclass=0x00
setting sernum=
setting release=0x0173
setting mode=host
setting port=1
setting parent=ugen4.1
Processing notify event
Popping table
Processing event '!system=USB subsystem=INTERFACE type=ATTACH ugen=ugen4.2 cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host interface=0 endpoints=1 intclass=0x03 intsubclass=0x01 intprotocol=0x01'
Pushing table
setting system=USB
setting subsystem=INTERFACE
setting type=ATTACH
setting ugen=ugen4.2
setting cdev=ugen4.2
setting vendor=0x045e
setting product=0x00db
setting devclass=0x00
setting devsubclass=0x00
setting sernum=
setting release=0x0173
setting mode=host
setting interface=0
setting endpoints=1
setting intclass=0x03
setting intsubclass=0x01
setting intprotocol=0x01
Processing notify event
Popping table
Processing event '!system=USB subsystem=INTERFACE type=ATTACH ugen=ugen4.2 cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host interface=1 endpoints=1 intclass=0x03 intsubclass=0x00 intprotocol=0x00'
Pushing table
setting system=USB
setting subsystem=INTERFACE
setting type=ATTACH
setting ugen=ugen4.2
setting cdev=ugen4.2
setting vendor=0x045e
setting product=0x00db
setting devclass=0x00
setting devsubclass=0x00
setting sernum=
setting release=0x0173
setting mode=host
setting interface=1
setting endpoints=1
setting intclass=0x03
setting intsubclass=0x00
setting intprotocol=0x00
Processing notify event
Popping table
Processing event '+ukbd0 at bus=1 hubaddr=1 port=4 devaddr=2 interface=0 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host intclass=0x03 intsubclass=0x01 intprotocol=0x01  on uhub4'
Pushing table
setting device-name=ukbd0
setting bus=1
setting hubaddr=1
setting port=4
setting devaddr=2
setting interface=0
setting vendor=0x045e
setting product=0x00db
setting devclass=0x00
setting devsubclass=0x00
setting sernum=
setting release=0x0173
setting mode=host
setting intclass=0x03
setting intsubclass=0x01
setting intprotocol=0x01
setting bus=uhub4
Processing attach event
Testing device-name=ukbd0 against ^ugen[0-9]+.[0-9]+
Popping table
Processing event '!system=DEVFS subsystem=CDEV type=CREATE cdev=uhid0'
Pushing table
setting system=DEVFS
setting subsystem=CDEV
setting type=CREATE
setting cdev=uhid0
Processing notify event
Popping table
Processing event '+uhid0 at bus=1 hubaddr=1 port=4 devaddr=2 interface=1 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host intclass=0x03 intsubclass=0x00 intprotocol=0x00  on uhub4'
Pushing table
setting device-name=uhid0
setting bus=1
setting hubaddr=1
setting port=4
setting devaddr=2
setting interface=1
setting vendor=0x045e
setting product=0x00db
setting devclass=0x00
setting devsubclass=0x00
setting sernum=
setting release=0x0173
setting mode=host
setting intclass=0x03
setting intsubclass=0x00
setting intprotocol=0x00
setting bus=uhub4
Processing attach event
Testing device-name=uhid0 against ^ugen[0-9]+.[0-9]+
Popping table
>Fix:
# and this one works
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";
};
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sat Jul 30 15:21:06 UTC 2011 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159313 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: kaiwang27@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/159313: sysutils/uhidd: uhidd-devd.conf.sample doesn't work
Date: Sat, 30 Jul 2011 15:21:04 UT

 Maintainer of sysutils/uhidd,
 
 Please note that PR ports/159313 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/159313
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

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 ---

From: Kai Wang <kaiwang27@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/159313: sysutils/uhidd: uhidd-devd.conf.sample doesn't
 work
Date: Wed, 10 Aug 2011 09:31:59 +0200

 Hi,
 
 Thanks for the patch. It looks good, but it seems to break
 uhidd autorun on system before r221623? Have you tested if
 it works on 8.2-Release and 8.1-Release?
 
 Kai

From: Test Rat <ttsestt@gmail.com>
To: Kai Wang <kaiwang27@gmail.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/159313: sysutils/uhidd: uhidd-devd.conf.sample doesn't work
Date: Wed, 10 Aug 2011 16:50:57 +0400

 --=-=-=
 Content-Type: text/plain
 
 Kai Wang <kaiwang27@gmail.com> writes:
 
 > Thanks for the patch. It looks good, but it seems to break
 > uhidd autorun on system before r221623? Have you tested if
 > it works on 8.2-Release and 8.1-Release?
 
 A quick test based on amd64 bootonly ISO kernels for
 
     8.1-RELEASE
     8.2-RELEASE
     /stable/8 snapshot from 20110809 at allbsd.org
     /head snapshot from 20110809 at allbsd.org
 
 after draining /dev/devctl and re-plugging my keyboard shows that DEVICE
 & ATTACH lines were only changed once, /stable/8 added `ugen' variable.
 So, I assume new .conf file should work on older releases, too, but
 I don't have more types of USB devices to verify.
 
 
 --=-=-=
 Content-Type: text/plain
 Content-Disposition: attachment; filename=8.1.devctl
 
 -ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 at port=1 on ugen4.1
 !system=USB subsystem=DEVICE type=DETACH cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host port=1 parent=ugen4.1
 
 !system=USB subsystem=INTERFACE type=DETACH cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host interface=0 endpoints=1 intclass=0x03 intsubclass=0x01 intprotocol=0x01
 
 !system=USB subsystem=INTERFACE type=DETACH cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host interface=1 endpoints=1 intclass=0x03 intsubclass=0x00 intprotocol=0x00
 
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=kbd2
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=ukbd0
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=ugen4.2
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=usb/4.2.0
 -ukbd0  at   on uhub4
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=uhid0
 -uhid0  at   on uhub4
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=usb/4.2.2
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=usb/4.2.1
 !system=DEVFS subsystem=CDEV type=CREATE cdev=usb/4.2.0
 !system=DEVFS subsystem=CDEV type=CREATE cdev=ugen4.2
 !system=DEVFS subsystem=CDEV type=CREATE cdev=usb/4.2.1
 !system=DEVFS subsystem=CDEV type=CREATE cdev=usb/4.2.2
 +ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 at port=1 on ugen4.1
 !system=USB subsystem=DEVICE type=ATTACH cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host port=1 parent=ugen4.1
 
 !system=USB subsystem=INTERFACE type=ATTACH cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host interface=0 endpoints=1 intclass=0x03 intsubclass=0x01 intprotocol=0x01
 
 !system=USB subsystem=INTERFACE type=ATTACH cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host interface=1 endpoints=1 intclass=0x03 intsubclass=0x00 intprotocol=0x00
 
 !system=DEVFS subsystem=CDEV type=CREATE cdev=ukbd0
 !system=DEVFS subsystem=CDEV type=CREATE cdev=kbd2
 +ukbd0 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 intclass=0x03 intsubclass=0x01 at bus=1 hubaddr=1 port=4 devaddr=2 interface=0 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 intclass=0x03 intsubclass=0x01 on uhub4
 ? at bus=1 hubaddr=1 port=4 devaddr=2 interface=1 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 intclass=0x03 intsubclass=0x00 on uhub4
 !system=DEVFS subsystem=CDEV type=CREATE cdev=uhid0
 +uhid0 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 intclass=0x03 intsubclass=0x00 at bus=1 hubaddr=1 port=4 devaddr=2 interface=1 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 intclass=0x03 intsubclass=0x00 on uhub4
 
 --=-=-=
 Content-Type: text/plain
 Content-Disposition: attachment; filename=8.2.devctl
 
 -ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 at port=1 on ugen4.1
 !system=USB subsystem=DEVICE type=DETACH cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host port=1 parent=ugen4.1
 
 !system=USB subsystem=INTERFACE type=DETACH cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host interface=0 endpoints=1 intclass=0x03 intsubclass=0x01 intprotocol=0x01
 
 !system=USB subsystem=INTERFACE type=DETACH cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host interface=1 endpoints=1 intclass=0x03 intsubclass=0x00 intprotocol=0x00
 
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=kbd2
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=ukbd0
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=ugen4.2
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=usb/4.2.0
 -ukbd0  at   on uhub4
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=uhid0
 -uhid0  at   on uhub4
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=usb/4.2.2
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=usb/4.2.1
 !system=DEVFS subsystem=CDEV type=CREATE cdev=usb/4.2.0
 !system=DEVFS subsystem=CDEV type=CREATE cdev=ugen4.2
 !system=DEVFS subsystem=CDEV type=CREATE cdev=usb/4.2.1
 !system=DEVFS subsystem=CDEV type=CREATE cdev=usb/4.2.2
 +ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 at port=1 on ugen4.1
 !system=USB subsystem=DEVICE type=ATTACH cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host port=1 parent=ugen4.1
 
 !system=USB subsystem=INTERFACE type=ATTACH cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host interface=0 endpoints=1 intclass=0x03 intsubclass=0x01 intprotocol=0x01
 
 !system=USB subsystem=INTERFACE type=ATTACH cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host interface=1 endpoints=1 intclass=0x03 intsubclass=0x00 intprotocol=0x00
 
 !system=DEVFS subsystem=CDEV type=CREATE cdev=ukbd0
 !system=DEVFS subsystem=CDEV type=CREATE cdev=kbd2
 +ukbd0 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 intclass=0x03 intsubclass=0x01 at bus=1 hubaddr=1 port=4 devaddr=2 interface=0 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 intclass=0x03 intsubclass=0x01 on uhub4
 ? at bus=1 hubaddr=1 port=4 devaddr=2 interface=1 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 intclass=0x03 intsubclass=0x00 on uhub4
 !system=DEVFS subsystem=CDEV type=CREATE cdev=uhid0
 +uhid0 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 intclass=0x03 intsubclass=0x00 at bus=1 hubaddr=1 port=4 devaddr=2 interface=1 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 intclass=0x03 intsubclass=0x00 on uhub4
 
 --=-=-=
 Content-Type: text/plain
 Content-Disposition: attachment; filename=stable.devctl
 
 -ugen4.2 at port=1 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 on ugen4.1
 !system=USB subsystem=DEVICE type=DETACH ugen=ugen4.2 cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host port=1 parent=ugen4.1
 !system=USB subsystem=INTERFACE type=DETACH ugen=ugen4.2 cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host interface=0 endpoints=1 intclass=0x03 intsubclass=0x01 intprotocol=0x01
 !system=USB subsystem=INTERFACE type=DETACH ugen=ugen4.2 cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host interface=1 endpoints=1 intclass=0x03 intsubclass=0x00 intprotocol=0x00
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=kbd2
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=ukbd0
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=ugen4.2
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=usb/4.2.0
 -ukbd0  at   on uhub4
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=uhid0
 -uhid0  at   on uhub4
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=usb/4.2.2
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=usb/4.2.1
 !system=DEVFS subsystem=CDEV type=CREATE cdev=usb/4.2.0
 !system=DEVFS subsystem=CDEV type=CREATE cdev=ugen4.2
 !system=DEVFS subsystem=CDEV type=CREATE cdev=usb/4.2.1
 !system=DEVFS subsystem=CDEV type=CREATE cdev=usb/4.2.2
 +ugen4.2 at port=1 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 on ugen4.1
 !system=USB subsystem=DEVICE type=ATTACH ugen=ugen4.2 cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host port=1 parent=ugen4.1
 !system=USB subsystem=INTERFACE type=ATTACH ugen=ugen4.2 cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host interface=0 endpoints=1 intclass=0x03 intsubclass=0x01 intprotocol=0x01
 !system=USB subsystem=INTERFACE type=ATTACH ugen=ugen4.2 cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host interface=1 endpoints=1 intclass=0x03 intsubclass=0x00 intprotocol=0x00
 !system=DEVFS subsystem=CDEV type=CREATE cdev=ukbd0
 !system=DEVFS subsystem=CDEV type=CREATE cdev=kbd2
 +ukbd0 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host intclass=0x03 intsubclass=0x01 intprotocol=0x01  at bus=1 hubaddr=1 port=4 devaddr=2 interface=0 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host intclass=0x03 intsubclass=0x01 intprotocol=0x01  on uhub4
 !system=DEVFS subsystem=CDEV type=CREATE cdev=uhid0
 +uhid0 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host intclass=0x03 intsubclass=0x00 intprotocol=0x00  at bus=1 hubaddr=1 port=4 devaddr=2 interface=1 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host intclass=0x03 intsubclass=0x00 intprotocol=0x00  on uhub4
 
 --=-=-=
 Content-Type: text/plain
 Content-Disposition: attachment; filename=head.devctl
 
 !system=USB subsystem=DEVICE type=DETACH ugen=ugen4.2 cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host port=1 parent=ugen4.1
 !system=USB subsystem=INTERFACE type=DETACH ugen=ugen4.2 cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host interface=0 endpoints=1 intclass=0x03 intsubclass=0x01 intprotocol=0x01
 !system=USB subsystem=INTERFACE type=DETACH ugen=ugen4.2 cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host interface=1 endpoints=1 intclass=0x03 intsubclass=0x00 intprotocol=0x00
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=kbd2
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=ukbd0
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=ugen4.2
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=usb/4.2.0
 -ukbd0 at   on uhub4
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=uhid0
 -uhid0 at   on uhub4
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=usb/4.2.2
 !system=DEVFS subsystem=CDEV type=DESTROY cdev=usb/4.2.1
 !system=DEVFS subsystem=CDEV type=CREATE cdev=usb/4.2.0
 !system=DEVFS subsystem=CDEV type=CREATE cdev=ugen4.2
 !system=DEVFS subsystem=CDEV type=CREATE cdev=usb/4.2.1
 !system=DEVFS subsystem=CDEV type=CREATE cdev=usb/4.2.2
 !system=USB subsystem=DEVICE type=ATTACH ugen=ugen4.2 cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host port=1 parent=ugen4.1
 !system=USB subsystem=INTERFACE type=ATTACH ugen=ugen4.2 cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host interface=0 endpoints=1 intclass=0x03 intsubclass=0x01 intprotocol=0x01
 !system=USB subsystem=INTERFACE type=ATTACH ugen=ugen4.2 cdev=ugen4.2 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host interface=1 endpoints=1 intclass=0x03 intsubclass=0x00 intprotocol=0x00
 !system=DEVFS subsystem=CDEV type=CREATE cdev=ukbd0
 !system=DEVFS subsystem=CDEV type=CREATE cdev=kbd2
 +ukbd0 at bus=1 hubaddr=1 port=4 devaddr=2 interface=0 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host intclass=0x03 intsubclass=0x01 intprotocol=0x01  on uhub4
 !system=DEVFS subsystem=CDEV type=CREATE cdev=uhid0
 +uhid0 at bus=1 hubaddr=1 port=4 devaddr=2 interface=1 vendor=0x045e product=0x00db devclass=0x00 devsubclass=0x00 sernum="" release=0x0173 mode=host intclass=0x03 intsubclass=0x00 intprotocol=0x00  on uhub4
 
 --=-=-=--

From: Kai Wang <kaiwang27@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/159313: sysutils/uhidd: uhidd-devd.conf.sample doesn't
 work
Date: Mon, 10 Oct 2011 13:30:20 +0200

 This patch has been committed into uhidd upstream and will be included
 in the next uhidd release.
 
 I'm also fine if someone commit this patch to the ports tree now. (we
 can remove it when the next uhidd version is brought into ports)
 
 Thanks,
 Kai
State-Changed-From-To: feedback->closed 
State-Changed-By: eadler 
State-Changed-When: Sun Dec 25 17:42:58 UTC 2011 
State-Changed-Why:  
wait until the new version is released 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159313 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/159313: commit references a PR
Date: Fri,  3 Feb 2012 17:16:41 +0000 (UTC)

 eadler      2012-02-03 17:16:28 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils/uhidd       Makefile 
   Added files:
     sysutils/uhidd/files patch-uhidd-uhidd-devd.conf.sample 
   Log:
   This patch has been committed into uhidd upstream and will be included
   in the next uhidd release. However it seems that the next release will take some time and some people want/need this patch so temporarily add it.
   
   PR:             ports/159313
   Submitted by:   Test Rat <ttsestt@gmail.com>
   Reviewed by:    Kai Wang <kaiwang27@gmail.com>
   Requested by:   Jan Beich jbeich@tormail.net
   Approved by:    maintainer
   
   Revision  Changes    Path
   1.6       +1 -1      ports/sysutils/uhidd/Makefile
   1.1       +19 -0     ports/sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
