gphoto / gphoto2

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

Panasonic FZ10002 PTP Timeout #548

Open HandyAndy90 opened 1 year ago

HandyAndy90 commented 1 year ago

Hello,

when triggering the camera (which is in PTP mode) following error shows up: pi@raspberrypi:~ $ gphoto2 --capture-image

Error PTP Timeout

Error An error occurred in the io-library ('Timeout reading from or writing to the port'): No error description available ERROR: Could not capture image. ERROR: Could not capture.

The connected Camera is a Panasonic FZ1000 II; shown as DMC-FS62 when typing "gphoto2 --auto-detect"

gphoto2 2.5.28 gcc, popt(m), exif, no cdk, no aa, no jpeg, no readline libgphoto2 2.5.30 standard camlibs (SKIPPING docupen lumix), gcc, no ltdl, EXIF libgphoto2_port 0.12.1

Tried several steps found on google to solve the issue, without succes. Thanks to all for helping me, solving this issue!!

Panasonic_DC-FZ10002

msmeissn commented 1 year ago

can you capture debuglogfile?

gphoto2 --capture-image --debug --debug-logfile=capture.log

and attach capture.log here?

HandyAndy90 commented 1 year ago

I'm not sure if this is the intended output of this command...

gphoto2 --capture-image --debug --debug-logfile=capture.log

Error Sorry, your camera does not support generic capture ERROR: Could not capture image. ERROR: Could not capture. Error (-6: 'Unsupported operation')

HandyAndy90 commented 1 year ago

Any recommendations what I can try to solve this? Regarding the logfile it might be an issue from my side, the camera trigger might be a compatibility problem, right? Thanks for supporting me here.

msmeissn commented 1 year ago

can you attach the generate "capture.log" to this ticket?

I fear the camera might not support remote controlled capture over USB.

HandyAndy90 commented 1 year ago

Unfortunately the command:

gphoto2 --capture-image --debug --debug-logfile=capture.log

seems not to work. However there seems no logfile to be generated. Instead it shows up followoing:

Error Sorry, your camera does not support generic capture ERROR: Could not capture image. ERROR: Could not capture. Error (-6: 'Unsupported operation')

Should the log be displayed on the screen or do I need to download it from a specific path? Maybe it's a user issue from my side ;) sorry, if so!

msmeissn commented 1 year ago

it is put into the "capture.log" file in the directory you run this command in, likely your home directory.

HandyAndy90 commented 1 year ago

Found it, thank you! Here's the file. capture.log