CHDK Forum

Using CHDK => General Help and Assistance on using CHDK stable releases => Topic started by: timistof on 10 / January / 2013, 12:36:50

Title: IXUS 230 HS PTP Tethered shooting
Post by: timistof on 10 / January / 2013, 12:36:50
Hi,

I was wondering if any of you guys managed to get the IXUS 230 to shoot pics with ptp / ptpcam?
I'm using ixus230_elph310hs-100e-1.1.0-2394-full_ALPHA.
Then, I downloaded ptpcam_V2.0 and ptpCamGui2.0.134 (those are the newest, right?).
They both see the camera, and I can do stuff like "luar play_sound(5)" with ptpcam.

But, when I click any of the "shoot-mode" buttons, the camera seems to lose connection.
Also, when I do "luar shoot()", ptpcam is just sitting there, waiting for a response.

To me, it almost seems that the camera is physically incapable of shooting when connected trough usb. Is this the case? Does anybody have any experience in this?
I have to confess tough that I'm running ptpcam on windows xp on a virtual machine on my mac, but because the lua commands seem to work I don't really think that that's the issue.

The reason I want to use chdk is to control a large amount of (preferably cheap) cameras. I have to be able to let them take pictures and then download them trough USB. Does anyone know of any other cheap canon that let's me to this with chdk?

Thanks!

Title: Re: IXUS 230 HS PTP Tethered shooting
Post by: reyalp on 10 / January / 2013, 17:11:08
But, when I click any of the "shoot-mode" buttons, the camera seems to lose connection.
Do you mean in the ptpcamgui UI, or physically on the camera? Just to be clear, you should be using the ui (or switch_mode_usb(1) in lua)
Quote
Also, when I do "luar shoot()", ptpcam is just sitting there, waiting for a response.
You must be in record mode before you use shoot, so if you can't get into record mode, this won't work.

Quote
To me, it almost seems that the camera is physically incapable of shooting when connected trough usb. Is this the case?
Unlikely it's physically incapable, but there might be bugs which prevent it from working. If you haven't already, it would be a good idea to search the forum and see if other users have had problems with PTP on this particular camera. I have a really vague memory someone else reported problems with PTP on this camera, but I haven't found  post confirming it so I may well be mistaken.
Quote
I have to confess tough that I'm running ptpcam on windows xp on a virtual machine on my mac, but because the lua commands seem to work I don't really think that that's the issue.
Agree, if basic lua works then this probably shouldn't be an issue. You might want to stress test it with some uploads and downloads or something, just to make sure it isn't failing intermittently or going down after some period of time.

If there are any tricks needed to get this working from a VM, that might be of interest to other users on the forum.
Quote
The reason I want to use chdk is to control a large amount of (preferably cheap) cameras. I have to be able to let them take pictures and then download them trough USB. Does anyone know of any other cheap canon that let's me to this with chdk?
In general, it should work on any complete CHDK port, but it's possible that individual cameras have problems. There's no way for the CHDK developers to test every camera, so you have to rely on what's reported by other users on the forum.

You can look in the PTP development thread http://chdk.setepontos.com/index.php?topic=4338.930 (http://chdk.setepontos.com/index.php?topic=4338.930) and chdkptp development thread http://chdk.setepontos.com/index.php?topic=6231.270 (http://chdk.setepontos.com/index.php?topic=6231.270) to find some  specific models others have used successful.

I believe the a810 is cheap, currently available and has been reported to work. I don't personally own this camera though.

Note that getting everything to work reliably may involve quite a bit of effort on your part, especially if you want all the cameras controlled by the same computer.