Hi,
I have been trying to get capture working with my Powershot A620.
My first problem was getting random timeouts with the capture ptp command.
That was fixed by increasing the tries count a bit.
The second problem was that capture always hung at the second get
partial object usb request and the camera needed a reset afterwards.
That was fixed by changing the values used for the pos parameter from
0,2,3 to 0,1,2.
I have not tried the viewfinder, but otherwise it seems to work now.
the diff for my ptp-utils.c vs the cvs head:
319a320
>
433c434
< int i, stat, tries=25;
---
> int i, stat, tries=50;
468c469
< int i,j, nblocks, bsize=5000, stat, tries=20;
---
> int i,j, nblocks, bsize=5000, stat, tries=50;
539c540
< pos = (!i) ? 0 : ( (!tail && i==nblocks-1) ? 3:2 );
---
> pos = (!i) ? 0 : ( (!tail && i==nblocks-1) ? 2:1 );
Unless these changes are deemed harmful for other cameras, please feel
free to add them to the cvs tree.
Best Regards,
-s.
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Capture-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/capture-devel