Subject: more ulpt!
To: Lennart Augustsson <firstname.lastname@example.org>
From: Alfred Perlstein <email@example.com>
Date: 02/25/2002 17:33:33
It seems that if I use the /dev/ulpt0 interface, when I do an open(2)
on the device, the first time it's ok, however subsequent times
hang the process while trying to issue the reset request inside
The usbdi.c code takes a "default timeout", shouldn't these requests
somehow timeout? In usbd_transfer() there's a tsleep loop that
doesn't use a timeout, is it the responsibility of the
pipe->methods->transfer() method to use some sort of callout
callback to implement the timeout? Or do we need to pass an
arg to tsleep?
Shouldn't the default timeout be a bit shorter it seems to hang
-Alfred Perlstein [firstname.lastname@example.org]
'Instead of asking why a piece of software is using "1970s technology,"
start asking why software is ignoring 30 years of accumulated wisdom.'
Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/