Canon EOS 1Ds Mark III remote capture works

View: New views
2 Messages — Rating Filter:   Alert me  

Canon EOS 1Ds Mark III remote capture works

by gphoto-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I hacked libgphoto2 v2.4.2, adding this to camlibs/ptp2/library.c at line 732:

         {"Canon:EOS 1D Mark III jholt (PTP mode)",0x04a9, 0x3147, PTPBUG_DCIM_WRONG_PARENT|PTP_CAP},

(It's a copy of the entry for the 400D)

$ ./gphoto2/gphoto2 --auto-detect
Model                          Port
----------------------------------------------------------
Canon EOS 1D Mark III jholt (PTP mode) usb:
Canon EOS 1D Mark III jholt (PTP mode) usb:001,030

$ ./gphoto2/gphoto2 -a
Abilities for camera             : Canon EOS 1D Mark III jholt (PTP mode)
Serial port support              : no
USB support                      : yes
Capture choices                  :
                                  : Image
Configuration support            : yes
Delete selected files on camera  : yes
Delete all files on camera       : no
File preview (thumbnail) support : yes
File upload support              : yes

I've had intermittent hangs and errors, but I'm usually able to capture
images:

$ rlfe ./gphoto2/gphoto2 --shell --debug --debug-logfile=mark3debug.txt
gphoto2: {gphoto2: {...le/jholt/gphoto2-2.4.2} /> } /> list-config
/main/settings/capturetarget
/main/settings/capture
/main/capturesettings/focuslock
gphoto2: {gphoto2: {...le/jholt/gphoto2-2.4.2} /> } /> get-config
The command 'get-config' requires an argument.
gphoto2: {gphoto2: {...le/jholt/gphoto2-2.4.2} /> } /> set-config capture=1
gphoto2: {gphoto2: {...le/jholt/gphoto2-2.4.2} /> } />
capture-image-and-download
New file is in location /capt0000.jpg on the camera
File capt0000.jpg exists. Overwrite? [y|n] y
Saving file as capt0000.jpg
Deleting file /capt0000.jpg on the camera
Deleting 'capt0000.jpg' from folder '/'...
gphoto2: {gphoto2: {...le/jholt/gphoto2-2.4.2} /> } />

Even if I set capturetarget to record to the memory card, it seems to record
to internal RAM.

I have a 1GB(!) debug logfile (381MB w/bzip2) from that session if anybody
wants it.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@...
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

Re: Canon EOS 1Ds Mark III remote capture works

by Marcus Meissner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jul 16, 2008 at 09:55:00PM +0000, gphoto@... wrote:

>
> I hacked libgphoto2 v2.4.2, adding this to camlibs/ptp2/library.c at line 732:
>
>          {"Canon:EOS 1D Mark III jholt (PTP mode)",0x04a9, 0x3147, PTPBUG_DCIM_WRONG_PARENT|PTP_CAP},
>
> (It's a copy of the entry for the 400D)
>
> $ ./gphoto2/gphoto2 --auto-detect
> Model                          Port
> ----------------------------------------------------------
> Canon EOS 1D Mark III jholt (PTP mode) usb:
> Canon EOS 1D Mark III jholt (PTP mode) usb:001,030

I have added it to our internal list, without the "jholt" ;)
 

> $ ./gphoto2/gphoto2 -a
> Abilities for camera             : Canon EOS 1D Mark III jholt (PTP mode)
> Serial port support              : no
> USB support                      : yes
> Capture choices                  :
>                                   : Image
> Configuration support            : yes
> Delete selected files on camera  : yes
> Delete all files on camera       : no
> File preview (thumbnail) support : yes
> File upload support              : yes
>
> I've had intermittent hangs and errors, but I'm usually able to capture
> images:
>
> $ rlfe ./gphoto2/gphoto2 --shell --debug --debug-logfile=mark3debug.txt
> gphoto2: {gphoto2: {...le/jholt/gphoto2-2.4.2} /> } /> list-config
> /main/settings/capturetarget
> /main/settings/capture
> /main/capturesettings/focuslock
> gphoto2: {gphoto2: {...le/jholt/gphoto2-2.4.2} /> } /> get-config
> The command 'get-config' requires an argument.
> gphoto2: {gphoto2: {...le/jholt/gphoto2-2.4.2} /> } /> set-config capture=1
> gphoto2: {gphoto2: {...le/jholt/gphoto2-2.4.2} /> } />
> capture-image-and-download
> New file is in location /capt0000.jpg on the camera
> File capt0000.jpg exists. Overwrite? [y|n] y
> Saving file as capt0000.jpg
> Deleting file /capt0000.jpg on the camera
> Deleting 'capt0000.jpg' from folder '/'...
> gphoto2: {gphoto2: {...le/jholt/gphoto2-2.4.2} /> } />
>
> Even if I set capturetarget to record to the memory card, it seems to record
> to internal RAM.

The capture protocol for the EOS was fully reverse engineered from dumps
and wild guessing. I have not implemented the card based capture yet, because
I haven't seen / investigated traces for it.
 
> I have a 1GB(!) debug logfile (381MB w/bzip2) from that session if anybody
> wants it.

As it did capture, its not that helpful ;)

Btw, list-config should show some stuff to configure (after capture=1).

Ciao, Marcus

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@...
https://lists.sourceforge.net/lists/listinfo/gphoto-devel
LightInTheBox - Buy quality products at wholesale price!