Gphoto2 compiler and installer script. This script was initially created for Raspbian and Raspberry Pi but it is also tested for Ubuntu and Debian Jessie & Wheezy.
Nikon cameras with electronic shutters throw 0x200f PTP access denied when attempting to set applicationmode (d1f0, which is set implicitly when capturing movies), but only if gphoto2 was installed with gphoto2-updater.
To be clear, the issue does not appear to occur on Nikon cameras with mechanical shutters, and it does not occur at all if gphoto2 was installed as a package via apt.
I know this sounds weird, but we reproduced this with 100% consistency on multiple machines.
Eventually, we narrowed it down to the libgphoto2-port12 package (which thankfully still exists for raspbian, while the gphoto2 package is hopelessly outdated).
When we installed libgphoto2 with the gphoto2-updater, and then additionally installed the libgphoto2-port12 package, the operation worked, though gphoto2 --version still shows the same version for libgphoto2_port (though with a slightly different description).
I can't speculate about potential root causes of the issue, and I'll admit that it's somewhat esoteric and easy to fix once the culprit is known, but somebody might want to take a look at this at some point.
This is a migration of this issue, after we narrowed it down: https://github.com/gphoto/libgphoto2/issues/418
Nikon cameras with electronic shutters throw 0x200f PTP access denied when attempting to set applicationmode (d1f0, which is set implicitly when capturing movies), but only if gphoto2 was installed with gphoto2-updater.
To be clear, the issue does not appear to occur on Nikon cameras with mechanical shutters, and it does not occur at all if gphoto2 was installed as a package via apt.
I know this sounds weird, but we reproduced this with 100% consistency on multiple machines. Eventually, we narrowed it down to the libgphoto2-port12 package (which thankfully still exists for raspbian, while the gphoto2 package is hopelessly outdated).
When we installed libgphoto2 with the gphoto2-updater, and then additionally installed the libgphoto2-port12 package, the operation worked, though gphoto2 --version still shows the same version for libgphoto2_port (though with a slightly different description).
I can't speculate about potential root causes of the issue, and I'll admit that it's somewhat esoteric and easy to fix once the culprit is known, but somebody might want to take a look at this at some point.