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
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to