gphoto / gphoto2

The gphoto2 commandline tool for accessing and controlling digital cameras.
GNU General Public License v2.0
707 stars 116 forks source link

Cannot get shuttercount on EOS350d #355

Closed aseques closed 4 years ago

aseques commented 4 years ago

I am using a gphoto2 to obtain data from a Canon EOS 350D, but unfortunately it doesn't work, the version I'm using of gphoto is 2.5.23 from ubuntu 20.04

When in mode PC set at the camera

Model                          Port                                            
----------------------------------------------------------
Canon Digital Rebel XT (normal mode) usb:003,003

When mode is set to PTP

Model                          Port                                            
----------------------------------------------------------
Canon EOS 350D                 usb:003,004     

On both cases I see this error in the output

*** Error ***              
/main not found in configuration tree.
*** Error (-1: 'Unspecified error') ***       

Stil I can get some attributes shown without issue such as `sudo gphoto2 --get-config /main/status/firmwareversion ptp.txt pcmode.txt

Is there something I'm doing wrong? Thanks

msmeissn commented 4 years ago

You do not need to write the full path, you could use gphoto2 --get-config shuttercount

That said, as far as I currently know, the EOS 350D does not export the shuttercount to our knowledge.

aseques commented 4 years ago

Thanks for your help anyway