Date: Tue, 9 Jan 2007 13:50:14 GMT From: "Julian H. Stacey" <jhs@flat.berklix.net> To: freebsd-usb@FreeBSD.org Subject: Re: usb/107701: usbd ignores "detach" Message-ID: <200701091350.l09DoEQq048786@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR usb/107701; it has been noted by GNATS. From: "Julian H. Stacey" <jhs@flat.berklix.net> To: atom <atom@smasher.org> Cc: freebsd-gnats-submit@freebsd.org Subject: Re: usb/107701: usbd ignores "detach" Date: Tue, 09 Jan 2007 14:15:49 +0100 atom wrote: > > >Number: 107701 > >Category: usb > >Synopsis: usbd ignores "detach" > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Tue Jan 09 06:10:14 GMT 2007 > >Closed-Date: > >Last-Modified: > >Originator: atom > >Release: 6.1-RELEASE > >Organization: > >Environment: > FreeBSD willy.wonka.lan 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Mon Jan 8 22:32:14 EST 2007 root@willy.wonka.lan:/usr/src/sys/i386/compile/K8 i386 > >Description: > usbd seems to silently ignore "detach" events. > > > >How-To-Repeat: > Specify a "detach" event in /etc/usbd.conf and see that it does nothing when the device is detached. "usbd -dvvv" verifies "device-detach event". > > I've tried this with a few different detach commands. > > >Fix: Did you try taking out devname from your entries, to quote a comment I added to my personal usbd.conf some time back: # - devname entries are mostly unused, as only reported on attach, # not detach, so detach fails to be called if devname is specified. -- Julian Stacey. BSD Unix C Net Consultancy, Munich/Muenchen http://berklix.com Mail Ascii, not HTML. Ihr Rauch = mein allergischer Kopfschmerz. http://berklix.org/free-software
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701091350.l09DoEQq048786>