gphoto / gphoto2

The gphoto2 commandline tool for accessing and controlling digital cameras.
GNU General Public License v2.0
703 stars 117 forks source link

PTP store not available randomly displayed #142

Open jimpurple opened 6 years ago

jimpurple commented 6 years ago

I have 5 Nikon CoolPix S6800 cameras connected to a powered USB hub. I have written a shell script that runs all 5 cameras at the same time using --port to select each camera. The problem is that randomly I get the error PTP store not available on one or more of the cameras. It seems worse if I have let the cameras sit for several minutes as more cameras throw the error. But if I run the shell script over and over, then they all seem to start working. But if I then wait a minute or two and run the shell script again, then one of more of the cameras throws that error again.

Has anyone experienced something like this and more importantly does anyone have a suggestion on how to make it stop?

Each camera does have a memory card in it and the exact line I am sending is: gphoto2 --port usb:001,101 --capture-image

Any help would be greatly appreciated.

msmeissn commented 5 years ago

I did not hear this yet..

This might be some form of powersaving?

I would do event wiating on those or continous polling. this should not hurt the cameras and keep them alive

wbrickner commented 5 years ago

I'm also experiencing a similar issue! Did you ever fix it? Please help