Hi Rene,
On 05/07/2005, you wrote:
Hello,
Last nigth, Thomas Graff and I did some debuging of
libusb, and we found
out that my 2 weeks old problem wasent with Libusb but in uhci driver..
If/when libusb asked for a string of 255 bytes (max size of strings) the
uchi driver whould STALL and the stack whould hang :/ The usb
documentation clearly state that its leagal to ask for a big buffer and
just get a smaller one returned.. so that one bug for the Sirion team to
work out, but for now I have made a small workaround for strings but I
dont think this workaroung will work for bulk/interrupt read/writes but
time will tell.
Wrigth now there is only bulk/interrupt read and write that are missing
before its finished, all the init code seams to work. My little test
program that scan the devices fully works, so I really need to find a
driver there uses bulk or interrupt so I can finishes the last functions.
I dont know if anyone has started porting SANE? for
I'm pretty sure SANE
uses interrupt or bulk for scanning. so MAYBE i'll have a look at it.
Good job, and well done, Im sure the OS4 team appreciate it as well. Nobody
has started yet (on porting SANE), and if you would be so kind its your
next task after LibUSB ;-)
PS: I'm pretty glad that we found this irritation
bug, it have honted my
the last 2 weeks :D <- (Yes I'm happy now)
PSS: If there is some OS4 beta testers ind here that
want to tryet for
me, so just say so. (its have to be os4 betatester for I use some new
functions that are not pressent in OS4 Update3)
PSSS: sorry its goes at this low speed, I'm really trying to do my best
but there is so mutch USB stuff I had to learn and now it seams I'm also
figting with Sirion bugs... not easy I tell you.
Kind regards
Rene W. Olsen
Dont worry too much, you are going great guns as far as Im concerned and Im
sure Amon agrees.
Regards
Mark