libgphoto2 icon indicating copy to clipboard operation
libgphoto2 copied to clipboard

how to fire on multiple USB ports

Open Teeroy666 opened this issue 1 year ago • 1 comments

I've tried a number of different approaches, but maybe its not possible.... Can multiple cameras be fired on the same Pi using gphoto? (multiple USB ports)

Teeroy666 avatar Oct 15 '22 01:10 Teeroy666

using gphoto2 commandline tool would be something like:

run: gphoto2 --auto-detect
parse the listed ports , and run for each gphoto2 --trigger-capture --port $PORT

but this will happen mostly sequential.

if you want it less sequential, you would need to write an app, e.g. in C or python to avoid unecessary delays.

msmeissn avatar Oct 20 '22 14:10 msmeissn