gphoto / gphoto2

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

eos2000 / eos1500 #395

Open dl6dbh opened 3 years ago

dl6dbh commented 3 years ago

install libgphoto2 2.5.26.1 and gphoto2 2.5.26.1 camera is an eos2000d

gphoto2 --auto-detect show eos1500d

msmeissn commented 3 years ago

do you have the usb ids?

run lsusb

and report the Canon line

dl6dbh commented 3 years ago

pi@raspberrypi:~ $ lsusb Bus 001 Device 004: ID 046d:c31c Logitech, Inc. Keyboard K120 Bus 001 Device 006: ID 04a9:32e1 Canon, Inc. Bus 001 Device 005: ID 0424:7800 Standard Microsystems Corp. Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub pi@raspberrypi:~ $

dl6dbh commented 3 years ago

Gphoto2 is quit running. But i see the difference by the autodetect

gphoto2 --list-all-config

/main/status/cameramodel Label: Kameramodell Readonly: 0 Type: TEXT Current: Canon EOS 2000D END /main/status/deviceversion Label: Version des Gerätes Readonly: 0 Type: TEXT Current: 3-1.0.0 END

gphoto2 --auto-detect Modell Port

Canon EOS 1500D usb:001,008

msmeissn commented 3 years ago

weird. i have another issue where it reports 1500D, and it has the 0x32e1 id too. Perhaps they share the same ID.

the id is in the end less important, we test for capabilities.... so it should work regardless what is reported

mms- commented 3 years ago

Canon EOS 1500D will not reliably capture images using just --capture-image-and-download unless there is a --wait-event=2s also included on start. 1s doesn't seem to be enough. With the delay it is reliable without it and gives 'I/O in progress' or 'PTP busy' errors otherwise. Seems there are some timing issues, this is arm64 build on a RPi.

libgphoto2 2.5.25 gphoto2 2.5.23

msmeissn commented 3 years ago

could you attach here or mail me a failing debuglog and a working one? need to see if we can add a trigger condition. (in camlibs/ptp2/config.c camera_prepare_canon_eos_capture )