Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2004 14:52:27 +0100
From:      Mike Woods <Mike@the-rubber-chicken-network.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Usbd detach event
Message-ID:  <4150321B.1000302@the-rubber-chicken-network.co.uk>

next in thread | raw e-mail | index | archive | help
Im having a small problem with usbd and the detach event on a 
5.1-Release system, simply put it's not running the detach event when a 
usb printer/parallel port (ulptX) is removed.

my usbd.conf entry for it looks like this

-----------------------------------------------------------------------------------
device "USB Printer"
        devname "ulpt[0-9]+"
        attach "/usr/bin/perl /usr/local/print/perms.pl ${DEVNAME}"
        detach "/usr/bin/perl /usr/local/print/remove.pl ${DEVNAME}"
-----------------------------------------------------------------------------------

As far as i can see there's nothing wrong with that entry and usbd is 
running the attach event however i rather need the detach event to 
maintain a list of printers available for load balancing!

Any help would be apreaciated.

-----------------
Mike Woods
IT Technician



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4150321B.1000302>