Text us: 480.389.6596

Reading out the Shutter Count of Canon EOS Cameras

Reposted from: http://www.twam.info/software/read-out-canon-eos-7d-shuttercount-on-os-x


Read out Canon EOS 7D shutter count on OS X

If you own a Digital single-lens reflex (DSLR) camera you might want to read out the shutter count. For my Canon EOS 7D this can be done very easily using gPhoto2. gPhoto2 is a free open-source tool which supports more than 1300 cameras. As it is written for Unix-like systems it can be compiled for OS X very easily. If you have Homebrewinstalled, you can install it easily via the terminal by running

brew install gphoto2

Homebrew will install some libraries and gphoto2. Now we can switch on the camera and connect it by USB. If we ask gPhoto2 to query all support config options by

gphoto2 --list-config

we might receive an error like

An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (m). Make sure no other program or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
*** Error (-53: 'Could not claim the USB device') ***

This is because OS X starts the Picture-Transfer-Protocol daemon which occupies the device. We can quit the daemon by

killall PTPCamera

If we now try again to readout the support config options by

gphoto2 --list-config

we should receive a list like


Now, we can read out one of these config options, e.g. the shutter count, by running

gphoto2 --get-config /main/status/shuttercounter

which results in

Label: Shutter Counter
Type: TEXT
Current: 4930

The 4930 fits perfectly to the number of pictures I made with my Canon EOS 7D.

%d bloggers like this:
Increase more than 500% of Email Subscribers!
Your Information will never be shared with any third party.
Dolor aliquet augue augue sit magnis, magna aenean aenean et! Et tempor, facilisis cursus turpis tempor odio putonius mudako empero brutto populius giten facilisis cursus turpis balocus tredium todo.
Thank You. We will contact you as soon as possible.
Worry No More!
Complimentary Threat Analysis

Got a Question?
By communicating with me, downloading my installer or scheduling with me in any way shape or form you hold me free of any and all liability, confirm you understand my rates, FAQ, as well as agree to my terms of service and hiring.
We're here to help!
Subscribe below to our latest articles.
Every 10th subscriber will get a year of data backups via Backblaze on us! :)
Click above to schedule an appointment for a free consult and a month free of our worry free plan.
Our goal is to see you happy!
Text Us:

Email Us:
We're here to help!
We have some love to share!
Leave us your info and we'll reach out!

We're here to help!
Our goal is to see you happy!
Please don't hesitate to ask questions if you have any!