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.
Great :-) Nice job :-)
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.
If there are no objections, will I (if there are other interested, could we also do that) try to see if I can port it. I have a bit more sparetime untill AmiGBG 2005 and it would be cool if we could show something working :-) It would be nice if we could scan something using an USB scanner at the show ;-)
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.
You have at least shown something (and allmost finished a post), so I wouldn't call that slow compared to the normal speed around here ;-)
Kind regards Rene W. Olsen
Openoffice-os4 mailing list Openoffice-os4@samfundet.no https://lists.samfundet.no/mailman/listinfo/openoffice-os4