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:
< int i, stat, tries=25;
> int i, stat, tries=50;
< int i,j, nblocks, bsize=5000, stat, tries=20;
> int i,j, nblocks, bsize=5000, stat, tries=50;
< 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.