Quote:
Originally Posted by ashkulz
I think that the problem might be very subtle, and require lots of time to debug! Essentially, the eb1150 thinks that there is data when actually there is none coming from the content server [hence the 0 size requests]. We need to check if a Content-Length is set which makes the device expect more data. Also Proxy1150::recv ultimately does a Proxy1150::ack that it got the data -- we need to see whether the same response is sent which is done by the original USB driver.
|
Subtle indeed! I tried changing some boundary conditions i.e '<' to '<=' in Proxy::recv() to see if it would help; it didn't. I probed Dev1150::read() but didn't see anything obvious. It may be deeper in the module usb_bulk_read() from libusb....
Need to do more debugging...