Date: 10 Aug 2003 10:08:10 +0200 From: Jan.Stocker@t-online.de (Jan Stocker) To: Anish Mistry <mistry.7@osu.edu> Cc: "M. Warner Losh" <imp@bsdimp.com> Subject: Re: usbd does not use detach Message-ID: <1060502888.679.1.camel@Twoflower.liebende.de> In-Reply-To: <200308081209.20809.mistry.7@osu.edu> References: <200308061242.35227.mistry.7@osu.edu> <200308080123.06566.mistry.7@osu.edu> <20030808.001957.133914042.imp@bsdimp.com> <200308081209.20809.mistry.7@osu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
> - --- usbd.c.orig Thu Aug 7 18:46:47 2003 > +++ usbd.c Thu Aug 7 18:52:33 2003 > @@ -911,7 +911,7 @@ > break; > case USB_EVENT_DRIVER_ATTACH: > if (verbose) > - - printf("USB_EVENT_DRIVER_DETACH\n"); > + printf("USB_EVENT_DRIVER_ATTACH\n"); > break; > case USB_EVENT_DRIVER_DETACH: > if (verbose) It's here not a second attach.... output looks like the same: root@Twoflower:/usr/src/usr.sbin/usbd $ /usr/sbin/usbd -c /etc/usbd.conf -vvv -d usbd: opened /dev/usb0 usbd: reading configuration file /etc/usbd.conf usbd: action 1: ActiveWire board, firmware download vndr=0x0854 prdct=0x0100 rlse=0x0000 attach='/usr/local/bin/ezdownload -f /usr/local/share/usb/firmware/0854.0100.0_01.hex ${DEVNAME}' usbd: action 2: Entrega Serial with UART vndr=0x1645 prdct=0x8001 rlse=0x0101 attach='/usr/sbin/ezdownload -v -f /usr/share/usb/firmware/1645.8001.0101 /dev/${DEVNAME}' usbd: action 3: USB ethernet devname: [ackr]ue[0-9]+ attach='/etc/pccard_ether ${DEVNAME} start' detach='/etc/pccard_ether ${DEVNAME} stop' usbd: action 4: Handspring Visor vndr=0x082d prdct=0x0100 rlse=0x0100 devname: ugen[0-9]+ attach='/usr/local/bin/coldsync -md -p /dev/${DEVNAME} -t usb' usbd: action 5: Mouse devname: ums[0-9]+ attach='/usr/sbin/moused -p /dev/${DEVNAME} -I /var/run/moused.${DEVNAME}.pid ; /usr/sbin/vidcontrol -m on' usbd: action 6: Palm Handheld Device vndr=0x0830 prdct=0x0060 devname: ucom0 attach='/usr/sbin/ppp -auto palm' detach='/test.sh' usbd: action 7: USB device usbd: 7 actions usbd: opened /dev/usb usbd: processing event queue on /dev/usb usbd: driver-attach event cookie=3217029324 devname=ucom0 USB_EVENT_DRIVER_ATTACH usbd: processing event queue on /dev/usb usbd: device-attach event at 1060502709.481417000, Palm Handheld, Palm, Inc.: vndr=0x0830 prdct=0x0060 rlse=0x0100 clss=0x0000 subclss=0x0000 prtcl=0x0000 device names: ucom0 usbd: ucom0 matches ucom0 usbd: Found action 'Palm Handheld Device' for Palm Handheld, Palm, Inc. at ucom0 usbd: action 0: Palm Handheld Device vndr=0x0830 prdct=0x0060 devname: ucom0 attach='/usr/sbin/ppp -auto palm' detach='/test.sh' usbd: Setting DEVNAME='ucom0' usbd: Executing '/usr/sbin/ppp -auto palm' Working in auto mode Using interface: tun0 Warning: No default entry found in config file. usbd: '/usr/sbin/ppp -auto palm' is ok usbd: processing event queue on /dev/usb usbd: driver-detach event cookie=3217029324 devname=ucom0 USB_EVENT_DRIVER_DETACH usbd: doing timeout discovery on /dev/usb0 usbd: processing event queue due to timeout on /dev/usb usbd: doing timeout discovery on /dev/usb0 usbd: processing event queue due to timeout on /dev/usb usbd: doing timeout discovery on /dev/usb0 usbd: processing event queue due to timeout on /dev/usb -- Jan Stocker <Jan.Stocker@t-online.de>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1060502888.679.1.camel>