ShutterCount Supports the 7D Mark II

I received my Canon EOS 7D Mark II last Thursday. The very first thing I did with the camera was to add it to ShutterCount. Well, this was one of the reasons for buying it.

A first impressions post will also come in a couple of days weeks, but first things first.

7d2-sc

Apple approved the update last night, so the new version (1.3) is now available on the Mac App Store.

The update is free for existing users. New customers can buy the app on the Mac App Store.

ShutterCount for the Mac Released

My newest Mac app, ShutterCount displays the number of shutter actuations (the shutter count) of your Canon EOS digital camera. The shutter count is read directly from a USB-connected camera, and thus provides accurate numbers that are not attainable with simple EXIF-based methods.

ShutterCount

Simple is that. You can skip the trip to Canon for a reading, and you don’t have to pay every single time you want to check the count. Note however, that video clips recorded are not included in the number. For a separate mirror movement reading (that includes videos) you should still have to visit a Canon service center.

Speaking of money, you can grab the app at a special introductory price from the Mac App Store. This promotion runs until the end of October.

Supported cameras are the following:

  • Canon EOS-1D X
  • Canon EOS 5D Mark II
  • Canon EOS 5D Mark III
  • Canon EOS 6D
  • Canon EOS 7D
  • Canon EOS 60D
  • Canon EOS 70D
  • Canon EOS 100D / Rebel SL1 / Kiss X7
  • Canon EOS 600D / Rebel T3i / Kiss X5
  • Canon EOS 650D / Rebel T4i / Kiss X6i
  • Canon EOS 700D / Rebel T5i / Kiss X7i
  • Canon EOS 1100D / Rebel T3 / Kiss X50

Sleepless External Display on a Mac

The original frustrating issue: my other half’s 13″ retina Macbook Pro was unable to put the external display into sleep. Video signal was off, but something kept the display always on (it’s a Samsung SyncMaster 213T – which isn’t a young one, but still a very capable monitor). So I tried a crazy idea: swapped my Mini Displayport to DVI adapter with hers.

And the result was – to my biggest surprise – proper display sleep. I was curious whether it is a faulty adapter or what, so tried the non-sleeping adapter with my EIZO CG241W. The result? Proper sleep behavior again.

The only difference between the two MiniDP to DVI adapters is that mine is almost three years old, while hers is from last December. They look exactly the same, have the exact same part number, etc.

Conclusion: if you encounter display sleep issues, the culprit might be compatibility between your adapter and monitor. Try to get an older Apple adapter or try an aftermarket one.

hdiutil Requires sudo for Read/Write

Another unwelcome surprise from Apple: in some recent OS X update (I don’t know exactly which one as I ran into the problem this morning) they changed how hdiutil behaves when mounting sparsebundles in read/write mode (it is used in my build scripts as a step toward generating the final setup DMG): it now requires sudo-ing when you use the -readwrite flag.

The problem is that sudo by default prompts for a password and silently fails when used from a script. The solution is to remove that password requirement. This is carried out by adding a line to the /etc/sudoers file:

%admin ALL=(ALL) NOPASSWD: /usr/bin/hdiutil

This innocent one-line edit requires lots of command-line gymnastics, however. Permissions on the sudoers file is 440 by default, and the sudo command fails to work with anything other that that.

So you have to boot your Mac in single user mode to do the edit (by holding down Command+S at startup). Then you have to mount the root file system in read-write mode and change the permissions on the file:

mount -o update /
cd /etc
chmod 640 sudoers
vim sudoers

Add the line to the end of the file, save it and restore the file’s permissions:

chmod 440 sudoers

You can now reboot, and sudo hdiutil will not ask for a password any more! So it can be safely used from within build scripts.

  ☕ ☕ ☕

Did this post help you? Consider buying me a coffee if so.