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

Test Rat ttsestt at gmail.com
Wed Aug 10 13:00:28 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: Kai Wang <kaiwang27 at gmail.com>
Cc: bug-followup at 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 at 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
 
 --=-=-=--



More information about the freebsd-ports-bugs mailing list