Skip to content

Instantly share code, notes, and snippets.

@boxysean
Created August 19, 2014 17:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boxysean/825ddf43dc0736dce82a to your computer and use it in GitHub Desktop.
Save boxysean/825ddf43dc0736dce82a to your computer and use it in GitHub Desktop.
Raspberry Pi cannot see the Canon 5D Mark II (firmware v 2.1.2) it is connected to
pi@gifbooth ~/GIFBooth $ gphoto2 --list-ports
Devices found: 2
Path Description
--------------------------------------------------------------
ptpip: PTP/IP Connection
usb:001,003 Universal Serial Bus
pi@gifbooth ~/GIFBooth $ gphoto2 --auto-detect
Model Port
----------------------------------------------------------
pi@gifbooth ~/GIFBooth $ gphoto2 --capture-image-and-download
*** Error: No camera found. ***
For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <gphoto-devel@lists.sourceforge.net>, please run
gphoto2 as follows:
env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --capture-image-and-download
Please make sure there is sufficient quoting around the arguments.
pi@gifbooth ~/GIFBooth $ rm my-logfile.txt
pi@gifbooth ~/GIFBooth $ env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --capture-image-and-download
*** Error: No camera found. ***
pi@gifbooth ~/GIFBooth $ cat my-logfile.txt
0.000150 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.004906 main(2): gphoto2 2.5.2
0.007295 main(2): gphoto2 has been compiled with the following options:
0.007382 main(2): + gcc (C compiler used)
0.007513 main(2): + popt (mandatory, for handling command-line parameters)
0.007629 main(2): + exif (for displaying EXIF information)
0.007703 main(2): + no cdk (for accessing configuration options)
0.007772 main(2): + no aa (for displaying live previews)
0.007839 main(2): + no jpeg (for displaying live previews in JPEG format)
0.007905 main(2): + no readline (for easy navigation in the shell)
0.008043 main(2): libgphoto2 2.5.2
0.008149 main(2): libgphoto2 has been compiled with the following options:
0.008220 main(2): + all camlibs
0.008289 main(2): + gcc (C compiler used)
0.008357 main(2): + ltdl (for portable loading of camlibs)
0.008426 main(2): + EXIF (for special handling of EXIF files)
0.008552 main(2): libgphoto2_port 0.10.0
0.008653 main(2): libgphoto2_port has been compiled with the following options:
0.008727 main(2): + gcc (C compiler used)
0.008797 main(2): + ltdl (for portable loading of camlibs)
0.008862 main(2): + USB (libusb1, for USB cameras)
0.008931 main(2): + serial (for serial cameras)
0.008999 main(2): + no resmgr (serial port access and locking)
0.009068 main(2): + no ttylock (serial port locking)
0.009132 main(2): + no lockdev (serial port locking)
0.009203 main(2): CAMLIBS env var not set, using compile-time default instead
0.009272 main(2): IOLIBS env var not set, using compile-time default instead
0.009647 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
0.010348 setting/gphoto2-setting.c(2): Loading settings from file "/home/pi/.gphoto/settings"
0.011125 main(2): The user has not specified both a model and a port. Try to figure them out.
0.011816 gphoto2-port-info-list(2): Using ltdl to load io-drivers from '/usr/local/lib/libgphoto2_port/0.10.0'...
0.012932 gphoto2-port-info-list(2): Called for filename '/usr/local/lib/libgphoto2_port/0.10.0/disk'.
0.015004 gphoto2-port/disk(2): found fstab fsname proc
0.015243 gphoto2-port/disk(2): found fstab fsname /dev/mmcblk0p5
0.015585 gphoto2-port/disk(2): found fstab fsname /dev/mmcblk0p6
0.016391 gphoto2-port/disk(2): found mtab fsname rootfs
0.016607 gphoto2-port/disk(2): found mtab fsname /dev/root
0.016760 gphoto2-port/disk(2): found mtab fsname devtmpfs
0.016884 gphoto2-port/disk(2): found mtab fsname tmpfs
0.017068 gphoto2-port/disk(2): found mtab fsname tmpfs
0.017253 gphoto2-port/disk(2): found mtab fsname proc
0.017373 gphoto2-port/disk(2): found mtab fsname sysfs
0.017483 gphoto2-port/disk(2): found mtab fsname tmpfs
0.017665 gphoto2-port/disk(2): found mtab fsname devpts
0.017791 gphoto2-port/disk(2): found mtab fsname /dev/mmcblk0p5
0.018356 gphoto2-port-info-list(2): Could not load port driver list: 'Unspecified error'.
0.018498 gphoto2-port-info-list(2): Loaded '' ('^disk:') from '/usr/local/lib/libgphoto2_port/0.10.0/disk'.
0.018600 gphoto2-port-info-list(2): Called for filename '/usr/local/lib/libgphoto2_port/0.10.0/ptpip'.
0.020056 gphoto2-port-info-list(2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/local/lib/libgphoto2_port/0.10.0/ptpip'.
0.020218 gphoto2-port-info-list(2): Loaded '' ('^ptpip:') from '/usr/local/lib/libgphoto2_port/0.10.0/ptpip'.
0.020316 gphoto2-port-info-list(2): Called for filename '/usr/local/lib/libgphoto2_port/0.10.0/serial'.
0.022576 gphoto2-port-info-list(2): Loaded '' ('^serial:') from '/usr/local/lib/libgphoto2_port/0.10.0/serial'.
0.022761 gphoto2-port-info-list(2): Called for filename '/usr/local/lib/libgphoto2_port/0.10.0/usb'.
0.027140 gphoto2-port-info-list(2): Loaded '' ('^usb:') from '/usr/local/lib/libgphoto2_port/0.10.0/usb'.
0.027318 gphoto2-port-info-list(2): Loaded 'Universal Serial Bus' ('usb:001,003') from '/usr/local/lib/libgphoto2_port/0.10.0/usb'.
0.027421 gphoto2-port-info-list(2): Called for filename '/usr/local/lib/libgphoto2_port/0.10.0/usb1'.
0.029973 gphoto2-port-info-list(2): '/usr/local/lib/libgphoto2_port/0.10.0/usb1' already loaded
0.030559 gphoto2-port-info-list(2): Called for filename '/usr/local/lib/libgphoto2_port/0.10.0/usbdiskdirect'.
0.032912 gphoto2-port-info-list(2): Called for filename '/usr/local/lib/libgphoto2_port/0.10.0/usbscsi'.
0.034733 gphoto2-port-info-list(2): Counting entries (6 available)...
0.034899 gphoto2-port-info-list(2): 2 regular entries available.
0.035132 gphoto2-abilities-list(2): Using ltdl to load camera libraries from '/usr/local/lib/libgphoto2/2.5.2'...
0.038341 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/adc65'.
0.038542 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/agfa_cl20'.
0.038636 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/aox'.
0.038719 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/ax203'.
0.038796 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/barbie'.
0.038870 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/canon'.
0.038947 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/casio_qv'.
0.039024 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/clicksmart310'.
0.039099 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/digigr8'.
0.039174 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/digita'.
0.039249 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/dimagev'.
0.039326 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/dimera3500'.
0.039457 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/directory'.
0.039580 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/enigma13'.
0.039668 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/fuji'.
0.039746 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/gsmart300'.
0.039823 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/hp215'.
0.039901 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/iclick'.
0.039976 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/jamcam'.
0.040052 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/jd11'.
0.040127 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/jl2005a'.
0.040202 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/jl2005c'.
0.040278 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/kodak_dc120'.
0.040353 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/kodak_dc210'.
0.040430 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/kodak_dc240'.
0.040505 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/kodak_dc3200'.
0.040581 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/kodak_ez200'.
0.040655 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/konica'.
0.040729 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/konica_qm150'.
0.040806 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/largan'.
0.040884 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/lg_gsm'.
0.040963 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/mars'.
0.041042 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/mustek'.
0.041119 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/panasonic_coolshot'.
0.041200 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/panasonic_dc1000'.
0.041561 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/panasonic_dc1580'.
0.041698 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/panasonic_l859'.
0.041783 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/pccam300'.
0.041864 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/pccam600'.
0.041943 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/pentax'.
0.042022 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/polaroid_pdc320'.
0.042101 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/polaroid_pdc640'.
0.042287 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/polaroid_pdc700'.
0.042373 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/ptp2'.
0.042452 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/ricoh'.
0.042531 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/ricoh_g3'.
0.042609 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/samsung'.
0.042689 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/sierra'.
0.042765 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/sipix_blink2'.
0.042843 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/sipix_web2'.
0.042921 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/smal'.
0.042999 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/sonix'.
0.043079 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/sony_dscf1'.
0.043157 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/sony_dscf55'.
0.043234 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/soundvision'.
0.043311 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/spca50x'.
0.043387 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/sq905'.
0.043467 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/st2205'.
0.043545 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/stv0674'.
0.043621 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/stv0680'.
0.043700 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/sx330z'.
0.043778 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/topfield'.
0.043854 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/toshiba_pdrm11'.
0.043934 gphoto2-abilities-list(2): Found '/usr/local/lib/libgphoto2/2.5.2/tp6801'.
0.044084 gp-abilities-list(2): Found 64 camera drivers.
0.668282 gphoto2-port-info-list(2): Counting entries (6 available)...
0.668510 gphoto2-port-info-list(2): 2 regular entries available.
0.668603 gphoto2-port(2): Creating new device...
0.668725 gphoto2-port-info-list(2): Getting info of entry 0 (6 available)...
0.670143 gphoto2-port(2): Setting settings...
0.670337 gphoto2-port-info-list(2): Getting info of entry 1 (6 available)...
0.674441 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.674625 gphoto2-port(2): Setting settings...
0.674780 libusb(2): gp_port_usb_update(old int=0, conf=-1, alt=-1) port usb:001,003, (new int=0, conf=-1, alt=-1), port usb:001,003
0.674888 gphoto2-abilities-list.c(1): Auto-detecting USB cameras...
0.678224 gphoto2-port-usb(1): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
0.681000 gphoto2-port-usb(1): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
0.681433 gphoto2-port(2): Freeing port...
0.681597 gphoto2-port(2): Closing port...
0.682268 gphoto2-camera(2): Setting abilities ('Canon EOS 7D')...
0.682426 gphoto2-setting(2): Setting key 'model' to value 'Canon EOS 7D' (gphoto2)
0.682528 gphoto2-setting(2): Saving 3 setting(s) to file "/home/pi/.gphoto/settings"
0.683865 gphoto2-port-info-list(2): Looking for path 'usb:001,013' (6 entries available)...
0.684049 gphoto2-port-info-list(2): Starting regex search for 'usb:001,013'...
0.684147 gphoto2-port-info-list(2): Trying '^disk:'...
0.687070 gphoto2-port-info-list(2): re_match failed (-1)
0.687216 gphoto2-port-info-list(2): Trying '^ptpip:'...
0.687525 gphoto2-port-info-list(2): re_match failed (-1)
0.687674 gphoto2-port-info-list(2): Trying '^serial:'...
0.687930 gphoto2-port-info-list(2): re_match failed (-1)
0.688033 gphoto2-port-info-list(2): Trying '^usb:'...
0.688389 gphoto2-port-info-list(2): Getting info of entry 2 (7 available)...
0.688516 gphoto2-camera(2): Setting port info for port 'Generic Port' at 'usb:001,013'...
0.692479 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.692659 gphoto2-port(2): Setting settings...
0.692817 libusb(2): gp_port_usb_update(old int=0, conf=-1, alt=-1) port usb:001,013, (new int=0, conf=-1, alt=-1), port usb:001,013
0.693044 gphoto2-setting(2): Setting key 'port' to value 'usb:001,013' (gphoto2)
0.693151 gphoto2-setting(2): Saving 3 setting(s) to file "/home/pi/.gphoto/settings"
0.694323 gphoto2-camera(2): Initializing camera...
pi@gifbooth ~/GIFBooth $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment