On Fri, 19 Nov 2004 [EMAIL PROTECTED] wrote:
>DCP submission failed : Error submitting IRP : Cannot queue certain >submissions on Universal Host Controller (unsupported in Linux driver) as the exception says, queueing control requests isn't supported on the 2.4 kernel by either UHCI controller. Other programs on the system sometimes talk (via control) to devices. Solution: move to 2.6 kernel, or retry the submission. >Other question : how reset the device on UsbStallException ? If the Default Control Pipe is stalled, you have to reset the parent Hub's port. You can't do this from javax.usb since the kernel hub driver controls all Hubs. However not many devices stall their default control pipe (since their device is brain-dead after that point), but some hardware designers don't think about (or know about) software, so some devices do that. It might be useful for javax.usb to try to fix it (if possible by platform) when it sees a stalled DCP. But it doesn't now. For non-DCP stalled pipes, you need to clear the pipe's stall. It's documented in the USB spec, it is a Standard Request. And a UsbStallException doesn't necessarily mean that the pipe is permanently stalled, the device has the option of returning a stall error without actually stalling the pipe. Keep in mind too that since you are the driver for your device, you are the only one that will cause it to stall any of its pipes. -- Dan Streetman [EMAIL PROTECTED] --------------------- 186,272 miles per second: It isn't just a good idea, it's the law! ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ javax-usb-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/javax-usb-devel