Whenever I plug in my Canon camera via USB, it gets locked, so when I run gphoto2, I get:
Error (-60: 'Could not lock the device')
Weeks ago, when I first connected the camera, a dialog asked me, "What to do when a medium with photos is mounted?" And I selected, "Do Nothing." But still the camera gets locked.
Once it's locked, and a camera icon appears in the Unity left-side icon bar, I can right-click it and choose "Unmount." Then gphoto2 can connect to the camera. But it would be better if the camera didn't get locked immediately on connection. Any advice appreciated.
If it matters, the gphoto2 command I'm running is:
$ gphoto2 -P -T