libgphoto2 icon indicating copy to clipboard operation
libgphoto2 copied to clipboard

Turn off/on camera?

Open gabrielesartor opened this issue 1 year ago • 2 comments

Is it possible to turn off/on the camera using this library?

Given that there are some electronic components which can do it (like https://www.seagulluav.com/product/seagull-rec/) using USB, maybe there is a way to do it also with a libgphoto command via USB? I didn't find this feature in this library, right?

(I'm using a Canon Powershot 740 HS) Thank you in advance!

gabrielesartor avatar Sep 21 '22 11:09 gabrielesartor

I currently have no experience with that, sorry. As for PTP level, while there is a PTP PowerDown opcode, it is only supported by some Kodaks.

For Canon I have not seen such a command.

So my guess is "no" currently.

msmeissn avatar Sep 22 '22 11:09 msmeissn

You can enable/disable the usb device using libusb1. It will only turn on/off cameras which are powered via usb though.

jabdoa2 avatar Nov 28 '22 14:11 jabdoa2