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.
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
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
Hi Henning,
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 ;-)
so shall we put yourself and Rene down as working on sane?
Regards
Mark
Hi Henning,
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 ;-)
so shall we put yourself and Rene down as working on sane?
If Rene is Interested, then yes :-)
Regards
Mark
Openoffice-os4 mailing list Openoffice-os4@samfundet.no https://lists.samfundet.no/mailman/listinfo/openoffice-os4
Hello Henning
On 2005/07/05, you wrote:
so shall we put yourself and Rene down as working on sane?
If Rene is Interested, then yes :-)
yes why not
Great :-D Could be cool if we at least would have a betaversion (or at least alpha version) that could scan something using libUSB at AmiGBG :-)
I will try to have a look at it later today.
Regards Rene W. Olsen
Openoffice-os4 mailing list Openoffice-os4@samfundet.no https://lists.samfundet.no/mailman/listinfo/openoffice-os4
On 2005/07/05, Henning Nielsen Lund wrote:
Great :-) Nice job :-)
Thanks
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 ;-)
Hey that whould be great.. Maybe we chould convince Thomas GRaff to give you an update of Sirion usb stack so you can use libusb.
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 ;-)
Its just fell so slow when the code is as small as it is
Regards Rene W. Olsen
On 2005/07/05, Henning Nielsen Lund wrote:
Great :-) Nice job :-)
Thanks
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 ;-)
Hey that whould be great.. Maybe we chould convince Thomas GRaff to give you an update of Sirion usb stack so you can use libusb.
That would be nice ;-)
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 ;-)
Its just fell so slow when the code is as small as it is
But still, as You have finished the port, do we at least have something to show :-:
Regards Rene W. Olsen
Openoffice-os4 mailing list Openoffice-os4@samfundet.no https://lists.samfundet.no/mailman/listinfo/openoffice-os4
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
On 2005/07/05, Mark Bond wrote:
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 ;-)
Thanks. Well the thing is that its gonna be really hard to finish libusb without a driver to test it
Dont worry too much, you are going great guns as far as Im concerned and Im sure Amon agrees.
:)
Regards Rene W. Olsen
Rene W. Olsen wrote:
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..
Good work!
This might also be the reason why the stack doesn't recognize two of my Saitek USB joysticks :-)
Best regards,
Rene W. Olsen wrote:
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..
Good work!
This might also be the reason why the stack doesn't recognize two of my Saitek USB joysticks :-)
Then I guess that You are happy now :-) Hope You get some time to test if they are working now ;-)
Best regards,
-- Hans-Joerg Frieden Technical Director, AmigaOS 4.0 Project Hyperion Entertainment Email: Hans-JoergF@hyperion-entertainment.com Web: http://www.hyperion-entertainment.biz/
Henning Nielsen Lund wrote:
Then I guess that You are happy now :-) Hope You get some time to test if they are working now ;-)
The bug still needs to be fixed (beta updates appear on our server at 11pm), but it is certainly good that another bug has been identified.
If push comes to shove, I still have some "test cases" that don't need a joystick ;-)
Regards,
Hi Rene,
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.
out of curiosity, other than SANE (and obviously scanning), what else is LibUSB usefull for, can it be used as a device driver type thing ie could it be used, seamlessly, with Spitfire and a usb palm for example?
Mark
On 2005/07/05, Mark Bond wrote:
out of curiosity, other than SANE (and obviously scanning), what else is LibUSB usefull for, can it be used as a device driver type thing ie could it be used, seamlessly, with Spitfire and a usb palm for example?
If you look at OO then SANE is proberly the only thing that use libusb, but if you look into bsd/linux land you see that there is many driver there use libusb like gPhoto (www.gphoto.org) or rio500 (rio500.sourceforge.net). Libusb just open up for many driver/utils to be ported
Regards Rene W. Olsen
On 7/5/05, Rene W. Olsen ac@rebels.com wrote:
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.
Slow? Pah! You, sir, are a star :o)