From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 10 13:00:28 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0BE41065743 for ; Wed, 10 Aug 2011 13:00:27 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DE7D98FC12 for ; Wed, 10 Aug 2011 13:00:27 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7AD0RNs029445 for ; Wed, 10 Aug 2011 13:00:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7AD0R3O029444; Wed, 10 Aug 2011 13:00:27 GMT (envelope-from gnats) Date: Wed, 10 Aug 2011 13:00:27 GMT Message-Id: <201108101300.p7AD0R3O029444@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Test Rat Cc: Subject: Re: ports/159313: sysutils/uhidd: uhidd-devd.conf.sample doesn't work X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Test Rat List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2011 13:00:28 -0000 The following reply was made to PR ports/159313; it has been noted by GNATS. From: Test Rat To: Kai Wang 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 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 --=-=-=--