Re: ports/159313: sysutils/uhidd: uhidd-devd.conf.sample doesn't work

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: ports/159313: sysutils/uhidd: uhidd-devd.conf.sample doesn't work

Test Rat
The following reply was made to PR ports/159313; it has been noted by GNATS.

From: Test Rat <[hidden email]>
To: [hidden email]
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 ---
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ports/159313: sysutils/uhidd: uhidd-devd.conf.sample doesn't work

Kai Wang
The following reply was made to PR ports/159313; it has been noted by GNATS.

From: Kai Wang <[hidden email]>
To: [hidden email]
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
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ports/159313: sysutils/uhidd: uhidd-devd.conf.sample doesn't work

Test Rat
In reply to this post by Test Rat
The following reply was made to PR ports/159313; it has been noted by GNATS.

From: Test Rat <[hidden email]>
To: Kai Wang <[hidden email]>
Cc: [hidden email]
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 <[hidden email]> 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
 
 --=-=-=--
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"