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 Homebrew installed, 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

/main/actions/bulb
/main/actions/uilock
/main/actions/syncdatetime
/main/actions/autofocusdrive
/main/actions/manualfocusdrive
/main/actions/eoszoom
/main/actions/eoszoomposition
/main/actions/eosviewfinder
/main/settings/datetime
/main/settings/reviewtime
/main/settings/output
/main/settings/evfmode
/main/settings/ownername
/main/settings/artist
/main/settings/copyright
/main/settings/capturetarget
/main/settings/capture
/main/status/model
/main/status/ptpversion
/main/status/batterylevel
/main/status/lensname
/main/status/serialnumber
/main/status/shuttercounter
/main/status/availableshots
/main/imgsettings/imageformat
/main/imgsettings/imageformatcf
/main/imgsettings/imageformatexthd
/main/imgsettings/iso
/main/imgsettings/whitebalance
/main/imgsettings/whitebalanceadjusta
/main/imgsettings/whitebalanceadjustb
/main/imgsettings/whitebalancexa
/main/imgsettings/whitebalancexb
/main/capturesettings/exposurecompensation
/main/capturesettings/autoexposuremode
/main/capturesettings/drivemode
/main/capturesettings/picturestyle
/main/capturesettings/shutterspeed
/main/capturesettings/meteringmode
/main/capturesettings/bracketmode
/main/capturesettings/aeb
/main/other/d402
/main/other/d407
/main/other/d406
/main/other/d303

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.

123 thoughts on “Read out Canon EOS 7D shutter count on OS X

  1. Great article!! It worked really well with my 7D. I was a bit worried about my shutter count, but I'm only at 1/5th of the shutter life after a year. Not bad!

  2. I am just about to take your tutorial for a spin, but was wondering what needed to be done to reconfigure my mac after the killall PTPCamera command. Something like runall PTPCamera?

  3. Great article - sounds like you are one of the few people have found a way to get this shutter count for a canon eos 7d. this doesnt read to me as though it will work for a simple person like me working with windows and just trying to find a way to give out info when selling my camera. am i missing something?

  4. Hi, I tried the command for getting shutter count on my 7d which successfully gave 'Current:16'. But I was just wondering why after taking several photos again then rerunning the command again, it still gave the same number. Any idea what I am doing wrong? Thanks .

  5. I have done what you have told via ubuntu and here is the result: 5012.

    I reset the file numbering in the camera and took another photo

    here is the final result:

    root@sinan-HP-Pro-3010-Microtower:/home/sinan# gphoto2 –get-config /main/status/shuttercounter
    Label: Shutter Counter
    Type: TEXT
    Current: 5013

    works brilliant!
    thanks!

  6. What's wrong about the shutter count on the 7d itself?
    Menu > Battery Info > shutter count
    it shows the same number for me as i got with your tutorial.

  7. Thanks for very useful info

    I bought brand new camera but my image count started from 8000+. I searched the web to know how to get actual shutter count. most of the techniques didn't work except this one. it gave me exact shutter count. I used it on ubuntu in virtualbox.

    thanks again

  8. Hi, doesn't work for me...

    the problem it's me off course, I have no experience with these kind of stuff, programming and such.
    when typed into the terminal (brew install gphoto2) it says this to me (quite long):

    any help?!?

    ==> Installing gphoto2 dependency: libgphoto2
    ==> Downloading http://downloads.sourceforge.net/project/gphoto/libgphoto/2.4.11
    File already downloaded in /Users/Giacomo/Library/Caches/Homebrew
    ==> ./configure --prefix=/usr/local/Cellar/libgphoto2/2.4.11
    [...]
    checking for ltdl.h... yes
    checking for lt_dlinit in -lltdl... no
    configure: error: 
    libgphoto2 requires the ltdl library, included with libtool
    [...]
    Error: Failed executing: ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/libgphoto2/2.4.11
    Please report this bug: https://github.com/mxcl/homebrew/wiki/Checklist-before-filing-a-new-issue
    It looks like an autotools configure failed.
    Consider re-running the install with '-vd' to keep 'config.log' around:
        brew install -vd libgphoto2
    Gist 'config.log' and any error output when reporting an issue.
    Remember to include your config information: brew --config
  9. i did it....instead of using brew I installed it using sudo and worked great...
    I just installed macports then gphoto2 and now works like a charm

    12482 clickys ehehe

    thanks anyway for your help!

  10. Great, struggled with X-Code on App Store, not running Lion, but checked DVDs that came with Mac and hey presto under optional applications.

    Followed everything and worked like a dream, 65939 - quite a few since January!

    Recommended

  11. Worked well on my Canon 60d. If you're getting messages saying unable to lock the camera then type -

    sudo killall gvfs-gphoto2-volume-monitor

    and try again.

    Seems to count the number of photos but the shutter actuations when switching in and out of liveview don't seem to accumulate.

  12. Thank you SO much. I've been looking for the ability to check my shutter actuations forever. This method worked perfectly. I'm totally in your debt.

  13. Tobias,

    Thank you for a great program, although I have no programming experience and am stuck. I managed to install homebrew and download gPhoto2 and unzip it in my downloads folder. I'm not sure where to go from there. I typed in "brew install gphoto2" in a terminal that I opened from Utilities folder but I'm assuming that was the wrong thing to do as it did not work. If you could provide some explicit step by step instructions I wold be eternally grateful.

    Warm regards - Sanjay

  14. Anyone have ported this program to Windows yet? I tried running Ubuntu LiveCD but it does not connect to the internet to download the gphoto2 files. I downloaded it manually but I can't find a way to install it. Anyone have any ideas? Thank you in advance...

  15. I'm getting an error, can anyone help?

    I installed XCode and Homebrew via terminal. If I enter "gphoto2 --list-config" I get "gphoto2: command not found"

  16. THX!! this is soooo super awesome!! works for my 550D !! And this is way safer than ML which dont dare to try on my brand new 550d...

  17. ummm.. on my 550d it appears that the shutter counter does not refresh itself until you turn off the camera and turn back on.. but this is good enough for me 😀 .. serial number gives me a negative ten digits which does not match the one printed on the bottom of my cam, tho i could be fooled and given a refurbished one,, dont really care.. lens name is right on my EF 50mm f1.8 II.. also model gives me a ten digits number i have no idea whats going on..

  18. I am bit suspicious about this. Or may be my understanding of 'available shots' is different
    /main/status/shuttercounter = Gave me 905
    /main/status/availableshots = Gave me 43963

    As we know 7D shutter life is 150000 shutters, so shouldn't it show 150000 - 905 = 149095

  19. Stupid ? ...sorry for the redundancy. I am trying to install this on my macbook pro osx

    what does this mean: (Make sure to run this inside a stand-alone terminal, not something like Emacs Shell)

    I downloaded the zip & got a install_homebrew.rb file
    when i tried installing it all i got was a "notepad" page filled with code...

    what is up..?

  20. Felipe:
    what does this mean: (Make sure to run this inside a stand-alone terminal, not something like Emacs Shell)

    Open the Terminal program, which you can find under Utilities in the Application folder. Then type in the command given and press return.

  21. This worked even for a 5D Mark III. Unfortunately it helped me confirm that the "new" unit has been used before.

  22. I installed the gphoto2. Not sure if it was done properly. Also, my mac is not recognizing my 7d in Finder when I plug it in. The camera is accessible in EOS utility.
    I am running 10.7.3 on a MacBook Pro. Here's the detail from my Terminal app. There are several errors. I have no idea what they mean. I'm a bit over my head. Thanks so much for your assistance.

    Allen-Berman-4:~ allenberman$ brew install gphoto2
    ==> Installing gphoto2 dependency: pkg-config
    ==> Downloading http://pkg-config.freedesktop.org/releases/pkg-config-0.25.tar.g
    ######################################################################## 100.0%
    ==> ./configure --disable-debug --prefix=/usr/local/Cellar/pkg-config/0.25 --wit
    [...]
    checking whether the C compiler works... no
    configure: error: in `/private/tmp/homebrew-pkg-config-0.25-yWej/pkg-config-0.25':
    configure: error: C compiler cannot create executables
    [...]
    Allen-Berman-4:~ allenberman$ gphoto2 --list-config
    -bash: gphoto2: command not found
  23. Allen B:

    checking whether the C compiler works… no
    configure: error: in `/private/tmp/homebrew-pkg-config-0.25-yWej/pkg-config-0.25′:
    configure: error: C compiler cannot create executables

    You compiling of gphoto2 fails. It looks like you did not install you C compiler correctly. You might want to double check, that you installed Xcode properly.

  24. Thanks for your help. Unfortunately, I don't know what Xcode is. I just followed the directions for installing HomeBrew and gphoto2. Is Xcode and additional script that I need to install? If so, how?

  25. If you read the directions for installing HomeBrew carefully, you should have installed Xcode. 🙂 It's the developing environment from Apple.

  26. Took me a while to figure out, but it worked perfectly. i have 2 -7d camera's and in order for me to do the second one, i just had to restart terminal and start at process

    gphoto2 --list-config
    killall PTPCamera

    then so one, and it worked great!!
    thanks..
    ian

  27. If you are using Mountain Lion with homebrew you might have a few problems. I had to follow the instructions here first: https://gist.github.com/1860902

    That got homebrew to the point where "brew doctor" gave no errors.

    Then I had to do "brew install libtool".

    After that, "brew install gphoto2" finally worked.

  28. Thanks for the article! It really helped to me to get started with gphoto2 and camera API's. Couldn't figure out that daemon part myself.

  29. I tried this, but once everything is installed and I try to run any command on gphoto2 nothing happens. no command from the command list of gphoto2 work.
    Any help on this?

    Thanks for the tutorial. I hope to finally know how many pictures I still got left in my 2y old 7D.

    Thanks Again.

  30. This is foreign to me, so excuse my lack of understanding. I believe that my problem is that the package is not placed in a location where the compiler can find it to do the install, but I may be way off. This is the printout in terminal:

    ssds-Mac-Pro-2:~ jackfoote$ brew install gphoto2
    Warning: Could not locate developer tools. Consult `brew doctor`.
    Warning: No developer tools installed
    You should install the Command Line Tools: http://connect.apple.com
    Warning: It appears you have MacPorts or Fink installed.
    Software installed with other package managers causes known problems for
    Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.
    Warning: Could not locate developer tools. Consult `brew doctor`.
    Warning: Could not locate developer tools. Consult `brew doctor`.
    Warning: Could not locate developer tools. Consult `brew doctor`.
    ==> Installing gphoto2 dependency: libusb
    Warning: Could not locate developer tools. Consult `brew doctor`.
    Warning: Could not locate developer tools. Consult `brew doctor`.
    /usr/local/Library/Homebrew/superenv.rb:61:in `check': unhandled exception
    	from /usr/local/Library/Homebrew/superenv.rb:43:in `setup_build_environment'
    	from /usr/local/Library/Homebrew/build.rb:101:in `install'
    	from /usr/local/Library/Homebrew/build.rb:42:in `main'
    	from /usr/local/Library/Homebrew/build.rb:12
    	from /usr/local/Library/Formula/libusb.rb:17
    ssds-Mac-Pro-2:~ jackfoote$
  31. Well tried one more time, this time around I had the Canon software installed onto my Mac, and it worked, not sure if this is the reason why it was not working previously, but, I would leave this as a tip.
    Make Sure you have Canon Software installed, before trying.

    Going to try this on my G12 and my XTi.

    Thanks Again.

    BTW: my 7D has 46176 shots in little over 2 years. 😀

  32. I just read and followed your directions after searching all over the web for a Mac 7D Shutter count method. I only use terminal about twice a year usually related to my digital cine cameras, but your instructions were very good. I realized that I got one error because I didn't have X-Code installed (at least I think that was what it meant) went the Apple App store and got my free copy. So after installing that it went pretty much as documented. The only hitch was I had to start X-Code and agree to licence which had all of the open source agreements. I just copied and pasted your commands into the command line and it went just like you said.

    So I have 15,458 shutter count. I am the second owner so that doesn't seem too bad.
    Thank You Twam!

  33. Thanks for this info as I am trying to find a way to know what the shutter count is on my 7D for a while.
    Not familiar with doing stuff with terminal... Followed instructions... Got this message :

    talbotj:~ talbotj$ install Xcode
    usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
    [-o owner] file1 file2
    install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
    [-o owner] file1 ... fileN directory
    install -d [-v] [-g group] [-m mode] [-o owner] directory ...
    talbotj:~ talbotj$ brew install gphoto2
    Warning: Xcode not installed
    Most stuff needs Xcode to build: http://developer.apple.com/xcode/
    ==> Installing gphoto2 dependency: libusb
    sh: - : invalid option
    /usr/local/Library/Homebrew/superenv.rb:63:in `check': unhandled exception
    from /usr/local/Library/Homebrew/superenv.rb:43:in `setup_build_environment'
    from /usr/local/Library/Homebrew/build.rb:105:in `install'
    from /usr/local/Library/Homebrew/build.rb:43:in `main'
    from /usr/local/Library/Homebrew/build.rb:12
    from /usr/local/Library/Formula/libusb.rb:17

    I'm on OS X 10.6.8 and cannot upgrade for now. Tried installing Xcode, but it doesn't seem to be available for my system's version...

    So I'm stuck there as I have no clue what to do next.

  34. @Josee
    Xcode must be download from the Apple Website and installed (not in the Terminal). I don't know if it is possible to download a version compatible with OS X 10.6.8 🙁

  35. It finally worked! I Installed Xcode 3.2.6 (it was on my installation CDs that came with my computer) and I was able to know the shutter count! Thanks so so much! Have a Merry Christmas and Happy New Year!

  36. Great tutorial.

    I have an interesting issue. Running 10.8.3, xcode, homebrew, and gphoto2 installed. When I run the following command...

    gphoto2 --list-config

    I get the following error.

    gphoto2(57352,0x7fff762c7180) malloc: *** error for object 0x7fbd9a40c4a0: incorrect checksum for freed object - object was probably modified after being freed.
    *** set a breakpoint in malloc_error_break to debug
    Abort trap: 6

    Any suggestions would be appreciated.

  37. @Matt

    Nevermind, I figured it out. Even though I had xcode installed, I also needed Xcode command line utilities as well. Once installed, I was able to pull the count. Thanks again.

  38. My shuttercount is at

    Label: Shutter Counter
    Type: TEXT
    Current: 149114

    what should i do? Do i have to buy a new sensor?
    Label: Available Shots
    Type: TEXT
    Current: 82889

  39. I'm quite confused by "shutter counter" and "availabe shots!"
    My Shutter counter returned the number of 3367
    but Available shots returned 38751!

    could not be confused more..................

  40. dear Twam, I would pay you to find out the shutter count of my supposedly new cannon 5d mark 111. Believe me for the average person what your describing is just not possible. Ive tried to follow your instructions many times and got no where.
    What is brew doctor?
    what is x code?
    how do I bug or not bug!!!
    Arghhhhhhhhhhhhhhhhhhhhhhhhhhhhh!
    Why is this so hard its my camera, why's the shutter count such a secret!!
    sorry, but could you explain how to do this, again, as if you were talking to a very small, very stupid child.
    thanks,
    p

  41. @paul
    Hi Paul!

    1. This only works in Apple computers.
    2. Install Xcode. This can be found within the AppStore
    3. Open a terminal and type in
      ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"

      to install homebrew. Afterwards run

      brew doctor

      and it will tell you if you need anything else to do. Probably you will need to install the Xcode Command Line Tools. You’ll need to enable them under Preferences > Downloads within Xcode.

    4. Again in the terminal window type
      brew install gphoto2

      to install gphoto2.

    5. Plug in your camera
    6. In the terminal run
      killall PTPCamera

      followed by

      gphoto2 --get-config /main/status/shuttercounter
  42. For me it was easier to install Gphoto2 under Ubuntu - virtual machine VMWare on my Mac. Finally I could confirm my new 5D M3 is really new.

  43. Howdy,

    Great program. Gives me: *** Error (-1: 'Unspecified error') ***

    For debugging messages, please use the --debug option.
    Debugging messages may help finding a solution to your problem.
    If you intend to send any error or debug messages to the gphoto
    developer mailing list , please run
    gphoto2 as follows:

    env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --get-config /main/status/shuttercounter

    Please make sure there is sufficient quoting around the arguments.

    THis one only crops up with my 5dII. Works great with my 7d 1Dx and 5dIII

  44. Hi all!

    I getting the following error when trying to access my 7D using gPhoto2.

    *** Error ***
    An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Permission denied). 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') ***

    I tried to access as root, but I got the same error. Any ideias?

    Thanks.

  45. Thanks very much for posting this method. You relieved some worry over how much wear and tear my Canon 7D has accumulated over the past 3 years.
    Your instructions and the software components all work fine under Mountain Lion 10.8.2.

  46. Thank you very much! Excellent, easy to follow post even for a novice! On my first few attempts the code wasn't working until I realised I had not updated my XCODE, this was highlight in red in the terminal, as soon as I updated XCODE it worked perfectly.

    Label: Shutter Counter
    Type: TEXT
    Current: 8249

  47. Hey Tobias, many thanks for that great article, I never use the Terminal, but following your instructions was really easy, it worked with my new EOS 6D.

    All the Best!

  48. Thank you very much for explain and share this!! I couldn't imagine other way to know the shutter counter without this perfect tutorial!

    Greetings from Spain.

  49. I don't think this is very accurate. It's told me I've only used 70,090 on my Canon EOS 7D. Which I've had since day one of release. When going on EOSShuttercount site over a year ago I was as 200,000+ I even took 100 more shutters and it's not moved or counted them.

    iMac 27inch (late 2009) i5
    OSX Mountain Lion (10.8.3)
    Canon EOS 7D
    Canon T3i

    • try closing your terminal and turning camera off. I even changed batteries. I took a ton of photos and when I tried again the camera shutter count was accurately adjusted. works great.
      200,000 plus actuations is a ton, even since day one of the cameras release.

  50. Thank you very much! works perfectly on my 5d3, I've been looking for this for a long time!

  51. Thanks very much! worked perfectly on our newly purchased refurb 7D. This is such a useful tool for verifying the amount of usage of one of these "used" devices. Ours only had 869 on the shutter counter, practically brand new. Canon factory refurbished is definitely the way to go!

  52. I never leave comments normally for things like this. But this time you have done the "impossible" and I am writing to say you are a legend. Although the original thread started over two years ago I don't care. I used this guide and found that my 5D3 had just over 30k shutter actuations.

    Cheers,
    Matt

  53. Thanks for a great tutorial. Having searched high and low for a program that works with a 5D3, I had no choice but to learn about gPhoto2, homebrew, xcode etc. I'm not a developer, just tinker around with coding as a hobby, so after installing everything was not sure what to do until I found this tutorial.

    Worked a treat. Easy to follow and effective. 🙂

    Thanks to you I now know my shutter count is on 13631. Which sounds accurate as it was very rarely used. I bought it when it was on 13369 (according to EOSCount)

    Thanks.

    Jay

  54. I have use this procedure for my 6D. It works well. "shuttercounter" shows resonable number but .... it is exactly the same as on camera: Menu/4th-key/Battery data/Number of pictures taken (free translation from Polish). The main question therefore is if "shuttercounter" shows total number of shots on particular camera or on battery inserted to the camera? Why - I do not believe that there were no test shots on this body e.g. in a factory.

  55. Extremely helpful.
    I used this to see how many clicks it has after I bought my 7D from canon refurb store. First one came out with 3200 and I returned it, second one came out with just 54!

    BIG help..

    • I wouldn't have bothered unless there was another problem with the camera. 3200 isn't exactly high in a camera with a shutter that's rated for 150,000. I've seen 7D's go to 400,000 without shutter failure. Mine has ~120,000 and is going strong after 3+ years. Plus you can't be sure that Canon didn't just reset the second one before sending it to you. It is possible.

      Anyway, according to gphoto2 my 5D Mark III refurb came with under 100 shutter actuations as well, though again, who really knows what they did in the factory?

  56. Thanks! I used Macports as I already had that installed. After updating my existing packages, a
    sudo port install gphoto2
    worked like a charm along with the rest of your instructions.

  57. I tried some of the suggestions here and found that gphoto2 app to either be very difficult to install or really poor instructions.

    I ended up finding http://eoscount.com
    It does cost about $2.23 to get the shutter count, but it was a breeze and took about 3 minutes vs. the hours I spent last night trying to get gphoto2 to work.

    eoscount worked great on my 7D and 5D mk III. Money well spent.

  58. great. after updating my xcode and installing homebrew it worked like a charme.
    reading the shuttercount on my 6D now is easy .-)

    Thank you for that!

  59. I had some problems installing this at first but, like some others, I found xcode on my mac installation disc (I'm still running 10.6.8 so couldn't download from apple). Even though I got a note that said it needed updating it still worked and I got the shutter counts for both of my cameras. I just bought a used 7D and it shows only 5375 (surprised to find it that low). It also showed correct serial number for 7D but the serial number doesn't match up for my XSi even though I know the serial number on my camera is right because I bought it brand new from Costco several years ago. Seems the command lines for some of the items in the list are either wrong or pertain to something other than what it appears they should be. At any rate, happy to be able to get this and many thanks. btw, I'm about as technically challenged as they come so if I got it anybody should be able to. The xcode was the thing I was missing so if you're having problems make sure you have that and be very careful to type in command lines correctly. Easy to miss a space or character if not careful.

  60. THANK YOU for this! I've spent so many hours trying to get a shutter count on my 60D and this was the only tutorial that worked. Much appreciated!

  61. This worked like a charm. Thank you so much for putting this together! I ran it on my Canon 5D MIII, which I just bought from a eBay seller- shuttercount = 1 =)

  62. Thanks a lot!
    Very clear and it worked perfectly.
    However there´s a minimal difference between file number and shutter counter: 6800 to 6806. Maybe due to shooting when battery was almost gone and no picture was saved.
    I tried it also on my G11 but Canon unfortunately doesn´t provide any info regarding shutter count...
    Last but not least: Homebrew rocks!

  63. I've got refurbished D6. Ran Xcode, homebrew, gPhoto.....AND just checked the shutter
    it only got 400 clicks !!! yay!!! Thanxxx

  64. After upgrading to Maverick, it stopped working with this error
    gphoto2 --list-config
    dyld: Library not loaded: /usr/lib/libltdl.7.dylib
    Referenced from: /usr/local/lib/libgphoto2.2.dylib
    Reason: image not found
    Trace/BPT trap: 5

    I am trying to update xcode and see if that fixes. Gphoto org has made their product line up bigger and honestly more complicated for one time users like me who just care about shutter count!

    Not successful yet, will post if I can fix it.

  65. Hey guys, I just got an old XTi and yes it is used :-D. I just spent the last three days dtrying to figure out how to get the shutter count and was just about to do the 400plus hack when I found this site and thought "7D? hmmm, well maybe". I'm using linux but figured it should work, and it has with one exception, I still don't have the shutter count. The "available shots" is also useless since itdoes some wild fluctuations based on how many I take and a restart of my machine but it always starts at 15683 and gets higher. The check for shuteer count returns "Label: Camera Status Information".
    Can anyone here (if you are still around) help. I would really appreciate it. This has been the only post that has gotten any real result so far I just wished it cold give me exactly what I wanted.

    • Hi there!

      I have the same issue with my Canon 5D/original/.

      It recognises the camera and the long list is coming up with the :

      Detected a 'Canon: EOS 5D (normal mode)'. ...and under the listing
      Detected a 'Canon:EOS 5D (normal mode)'.
      /main/settings/ownername
      /main/settings/capturesizeclass
      /main/settings/iso
      /main/settings/shootingmode
      /main/settings/shutterspeed
      /main/settings/zoom
      /main/settings/aperture
      /main/settings/exposurecompensation
      /main/settings/imageformat
      /main/settings/focusmode
      /main/settings/flashmode
      /main/settings/beep
      /main/actions/syncdatetime
      /main/status/model
      /main/status/datetime
      /main/status/firmwareversion
      /main/status/driver
      /main/Driver/list_all_files

      ...but, I don't have all the listings including the shuttercounter.

      Can anyone explain this?

      Thank you! 🙂

  66. hi there,

    I want to try Gphoto2 but after installing Homebrew and Xcode I get this message after running :

    gphoto2 --list-config
    dyld: Library not loaded: @@HOMEBREW_PREFIX@@/opt/readline/lib/libreadline.6.2.dylib
    Referenced from: /usr/local/bin/gphoto2
    Reason: image not found
    Trace/BPT trap: 5

    Can somebody help me out please to get me to the next step by solving this ?
    Thanks!

    PS: I run OSX Mountain Lion
    Xcode 5.1.1

  67. Thanks - finally a simple step by step way to extract data without some clunky app, to reveal something that really ought to be available right out of the menu!

    Much appreciated.

  68. Hi,

    It was a while until i figure out how to use it 😀

    So I checked my three cameras, nothing good...
    1. 7D - 326351 🙁
    2. 7D - 245511 🙁
    3. 5D mark III - 128 🙂

    I can't even sell any of 7D...

    But thanks a lot for help author!

  69. I just followed the instructions and I got this:

    Label: Shutter Counter
    Type: TEXT
    Current: 68112

    Thanks!

  70. Just did it !!!
    I followed all the instructions and worked like a charm. You just have to be patient when installing gphoto2.
    I got this for my 5DIII
    Label: Shutter Counter
    Type: TEXT
    Current: 12797
    Thanks a lot

  71. Kinda works.. but displays wrong number of shutter.

    Using Macbook Pro with OSX 10.11.5 (El Capitain)
    Camera: Canon EOS 5D Mark III

    AntonsMBP:~ anton$ gphoto2 --get-config /main/status/shuttercounter

    *** Error ***
    Property '/main/status/shuttercounter' not found.
    Label: Shuttercounter
    Type: TEXT
    Current: 467

    My last picture name is: IMG_0480

  72. doesn't work with me 🙁 everything runs smooth until the last step when i run : gphoto2 --get-config /main/status/shuttercounter
    ...and nothing happens 🙁

  73. I get up to this point and then nothing happens..

    An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (No such file or directory). Make sure no other program (MacOS PTPCamera service) 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') ***

    Michaels-Mac-Pro:~ michaeloberholzer$ killall PTPCamera
    Michaels-Mac-Pro:~ michaeloberholzer$ gphoto2 --list-config

  74. I think it might be worth noting that sometimes terminal is a little tempremental with it;s output so to read the output you might need to add an output file to ths command like this

    gphoto2 --get-config /main/status/shuttercounter > ~/Desktop/shutter.txt

    and I also had to remove the battery afterwards as I had 'Err' on the body of the camera, a dodgy mini usb connection though I think is this problem.

  75. hi! thanks for this tool.

    I have a 400D and /main/status/shuttercounter is not on my config list. Does that means that my camera doesn't have this option or I'm doing something wrong? I can see my availabel shots, but not the counter because is not on the list.

    Thank you again!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.