PTP support works fine for the A495 with a recent autobuild version of CHDK-DE, was reported in German CHDK forum. Only the motion detection has maybe a problem.
msl
Hi msl,
I can't read german, except with the help of a translator.. but I've been testing the a495 for the last few hours.
After I figured out how to get libusb working, it all seemed very promising. I can control the camera via lua script commands (struggling to find a nice api guide here though) and can shoot photos etc.
I haven't discovered interactive commands to list files and download files (once you're in the interactive shell)
Because I need to control 40 cameras, I was planning on using ptpcam --chdk in a c# piped process, one for each camera, then I'll have streams for each camera's stdin and stdout
Everything works except downloading photos - I can't get anything to transfer.
I'm in windows 7 with UAC, but most stuff works, and i've tried running the processes as administrator.
When I try a -G, I just hear the USB connect/disconnect noise and nothing else happens.
if I try a -g=handle then I get an error message.
Here's an example of me listing the files on a device and then attempting a download.
I located what looked like a beta build of the 100f firmware for the a495 on the german forum and tried that instead of the alpha i'm getting from autobuild but I think it's actually older.
Download didn't work in that either.
C:\Users\Gareth Evans\Desktop\libusb-win32-bin-1.2.4.0\bin\x86>ptpcam -G
Camera: Canon PowerShot A495
C:\Users\Gareth Evans\Desktop\libusb-win32-bin-1.2.4.0\bin\x86>ptpcam -l
Listing devices...
bus/dev vendorID/prodID device model
bus-0/\\.\libusb0-0001--0x04a9-0x31ef 0x04A9/0x31EF Canon PowerShot A495
C:\Users\Gareth Evans\Desktop\libusb-win32-bin-1.2.4.0\bin\x86>ptpcam -L
Listing files...
Camera: Canon PowerShot A495
Handler: Size: Captured: name:
0x01980841: 1699380 2011-05-02 07:58 IMG_0132.JPG
0x01980851: 1711728 2011-05-02 08:21 IMG_0133.JPG
C:\Users\Gareth Evans\Desktop\libusb-win32-bin-1.2.4.0\bin\x86>ptpcam -g=0x01980
851:
Camera: Canon PowerShot A495
Could not get object info
PTP: Invalid Object Handle
C:\Users\Gareth Evans\Desktop\libusb-win32-bin-1.2.4.0\bin\x86>ptpcam -g=0x01980
851
Camera: Canon PowerShot A495
Could not get object info
PTP: Invalid Object Handle
C:\Users\Gareth Evans\Desktop\libusb-win32-bin-1.2.4.0\bin\x86>ptpcam -g=0198085
1
Camera: Canon PowerShot A495
Could not get object info
PTP: Invalid Object Handle
C:\Users\Gareth Evans\Desktop\libusb-win32-bin-1.2.4.0\bin\x86>ptpcam -g=0198085
1:
Camera: Canon PowerShot A495
Could not get object info
PTP: Invalid Object Handle
This is the only feature we are stuck on - we can do everything else