View Single Post
Old 09-05-2008, 12:01 AM   #21
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by ashkulz View Post
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...

Last edited by nrapallo; 09-05-2008 at 12:42 PM.
nrapallo is offline   Reply With Quote