Subject: Re: usb EIO return w. DIAGNOSTIC
To: Lennart Augustsson <email@example.com>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
Date: 02/20/2001 10:35:48
> Well, the device might be broken too, but ugen must have messed things
> up for pipeh to become NULL (or my brain is messed up :).
There is a similar problem in ugen_do_ioctl():USB_SET_TIMEOUT.
If one tries to set the timeout for the control endpoint
a DIAGNOSTIC kernel will return EIO. Otherwise the timeout
gets ignored silently.
It seems that one is not supposed to set a timeout on endpoint 0,
but then, it is not documented. The linux/freebsd usblib used by
gphoto and s10sh tries it.