Hello Gphoto2 team! I'm trying to make shots on my Olympus pen E-pm1 camera using Raspberry pi, USB cable and gphoto2 software.
somehow "gphoto2 --auto-detect" detected my camera as Olympus mju 500 and it is not allowing me to sent "gphoto2 --capture-image" command. I tried to use other Olympus camera names like listed in manual but with no luck(--camera command). I need your advice, how can I use capture or/and capture and download command? What do I need to do for that? All required files are attached Thanks in advance!
pi@raspberrypi:~ $ LANG=C gphoto2 --list-all-config /main/actions/opcode Label: PTP Opcode Readonly: 0 Type: TEXT Current: 0x1001,0xparam1,0xparam2 END /main/settings/datetime Label: Camera Date and Time Readonly: 0 Type: DATE Current: 1293840000 Printable: Sat Jan 1 00:00:00 2011 Help: Use 'now' as the current time when setting. END /main/status/serialnumber Label: Serial Number Readonly: 0 Type: TEXT Current: BB9529026 END /main/status/manufacturer Label: Camera Manufacturer Readonly: 0 Type: TEXT Current: OLYMPUS END /main/status/cameramodel Label: Camera Model Readonly: 0 Type: TEXT Current: E-PM1 END /main/status/deviceversion Label: Device Version Readonly: 0 Type: TEXT Current: 1.00 END /main/status/vendorextension Label: Vendor Extension Readonly: 0 Type: TEXT Current: None END /main/status/batterylevel Label: Battery Level Readonly: 1 Type: TEXT Current: 100% END /main/other/5001 Label: Battery Level Readonly: 1 Type: MENU Current: 100 Choice: 0 1 Choice: 1 2 Choice: 2 3 Choice: 3 4 Choice: 4 5 Choice: 5 6 Choice: 6 7 Choice: 7 8 Choice: 8 9 Choice: 9 10 Choice: 10 11 Choice: 11 12 Choice: 12 13 Choice: 13 14 Choice: 14 15 Choice: 15 16 Choice: 16 17 Choice: 17 18 Choice: 18 19 Choice: 19 20 Choice: 20 21 Choice: 21 22 Choice: 22 23 Choice: 23 24 Choice: 24 25 Choice: 25 26 Choice: 26 27 Choice: 27 28 Choice: 28 29 Choice: 29 30 Choice: 30 31 Choice: 31 32 Choice: 32 33 Choice: 33 34 Choice: 34 35 Choice: 35 36 Choice: 36 37 Choice: 37 38 Choice: 38 39 Choice: 39 40 Choice: 40 41 Choice: 41 42 Choice: 42 43 Choice: 43 44 Choice: 44 45 Choice: 45 46 Choice: 46 47 Choice: 47 48 Choice: 48 49 Choice: 49 50 Choice: 50 51 Choice: 51 52 Choice: 52 53 Choice: 53 54 Choice: 54 55 Choice: 55 56 Choice: 56 57 Choice: 57 58 Choice: 58 59 Choice: 59 60 Choice: 60 61 Choice: 61 62 Choice: 62 63 Choice: 63 64 Choice: 64 65 Choice: 65 66 Choice: 66 67 Choice: 67 68 Choice: 68 69 Choice: 69 70 Choice: 70 71 Choice: 71 72 Choice: 72 73 Choice: 73 74 Choice: 74 75 Choice: 75 76 Choice: 76 77 Choice: 77 78 Choice: 78 79 Choice: 79 80 Choice: 80 81 Choice: 81 82 Choice: 82 83 Choice: 83 84 Choice: 84 85 Choice: 85 86 Choice: 86 87 Choice: 87 88 Choice: 88 89 Choice: 89 90 Choice: 90 91 Choice: 91 92 Choice: 92 93 Choice: 93 94 Choice: 94 95 Choice: 95 96 Choice: 96 97 Choice: 97 98 Choice: 98 99 Choice: 99 100 END /main/other/5011 Label: Date & Time Readonly: 0 Type: TEXT Current: 20110101T000000 END /main/other/d405 Label: Device Icon Readonly: 1 Type: TEXT Current: (null) END /main/other/d406 Label: Session Initiator Info Readonly: 0 Type: TEXT Current: Windows/6.0.5330.0 MTPClassDriver/6.0.5330.0 END /main/other/d407 Label: Perceived Device Type Readonly: 1 Type: TEXT Current: 1 END
pi@raspberrypi:~ $ gphoto2 --capture-image *** Error *** Sorry, your camera does not support generic capture ERROR: Could not capture image. ERROR: Could not capture. *** Error (-6: 'Unsupported operation') *** 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 Please make sure there is sufficient quoting around the arguments.
pi@raspberrypi:~ $ env LANG=C gphoto2 --debug --capture-image 0.000337 main (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST: 0.003309 main (2): gphoto2 2.5.20 0.005988 main (2): gphoto2 has been compiled with the following options: 0.007363 main (2): + gcc (C compiler used) 0.007623 main (2): + popt (mandatory, for handling command-line parameters) 0.007860 main (2): + exif (for displaying EXIF information) 0.008099 main (2): + cdk (for accessing configuration options) 0.008331 main (2): + aa (for displaying live previews) 0.008559 main (2): + jpeg (for displaying live previews in JPEG format) 0.010418 main (2): + readline (for easy navigation in the shell) 0.010713 main (2): libgphoto2 2.5.22 0.010964 main (2): libgphoto2 has been compiled with the following options: 0.011201 main (2): + all camlibs 0.011428 main (2): + gcc (C compiler used) 0.011652 main (2): + ltdl (for portable loading of camlibs) 0.013030 main (2): + EXIF (for special handling of EXIF files) 0.013299 main (2): libgphoto2_port 0.12.0 0.014022 main (2): libgphoto2_port has been compiled with the following options: 0.014312 main (2): + iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi 0.014543 main (2): + gcc (C compiler used) 0.016297 main (2): + ltdl (for portable loading of iolibs) 0.016622 main (2): + USB (libusb1, for USB cameras) 0.016971 main (2): + serial (for serial cameras) 0.017209 main (2): + no resmgr (serial port access and locking) 0.017443 main (2): + no ttylock (serial port locking) 0.017671 main (2): + no lockdev (serial port locking) 0.017902 main (2): CAMLIBS env var not set, using compile-time default instead 0.018130 main (2): IOLIBS env var not set, using compile-time default instead 0.018356 main (2): invoked with following arguments: 0.018592 main (2): --debug 0.018813 main (2): --capture-image 0.020566 load_settings (2): Creating gphoto config directory ('/home/pi/.gphoto') 0.021232 load_settings (2): Loading settings from file '/home/pi/.gphoto/settings'. 0.023162 main (2): The user has not specified both a model and a port. Try to figure them out. 0.025214 gp_port_info_list_load (2): Using ltdl to load io-drivers from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0'... 0.026837 foreach_func (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/disk'. 0.031178 gp_port_library_list (2): found fstab fsname proc 0.034105 gp_port_library_list (2): found fstab fsname PARTUUID=f6c54c3b-01 0.036765 gp_port_library_list (2): found fstab fsname PARTUUID=f6c54c3b-02 0.037696 gp_port_library_list (2): found mtab fsname /dev/root 0.039661 gp_port_library_list (2): found mtab fsname devtmpfs 0.041169 gp_port_library_list (2): found mtab fsname sysfs 0.041488 gp_port_library_list (2): found mtab fsname proc 0.041776 gp_port_library_list (2): found mtab fsname tmpfs 0.042217 gp_port_library_list (2): found mtab fsname devpts 0.044054 gp_port_library_list (2): found mtab fsname tmpfs 0.044525 gp_port_library_list (2): found mtab fsname tmpfs 0.046302 gp_port_library_list (2): found mtab fsname tmpfs 0.046851 gp_port_library_list (2): found mtab fsname cgroup2 0.047207 gp_port_library_list (2): found mtab fsname cgroup 0.049006 gp_port_library_list (2): found mtab fsname none 0.049461 gp_port_library_list (2): found mtab fsname cgroup 0.049764 gp_port_library_list (2): found mtab fsname cgroup 0.050052 gp_port_library_list (2): found mtab fsname cgroup 0.050550 gp_port_library_list (2): found mtab fsname cgroup 0.052038 gp_port_library_list (2): found mtab fsname cgroup 0.052350 gp_port_library_list (2): found mtab fsname debugfs 0.052709 gp_port_library_list (2): found mtab fsname mqueue 0.052965 gp_port_library_list (2): found mtab fsname systemd-1 0.054520 gp_port_library_list (2): found mtab fsname sunrpc 0.055254 gp_port_library_list (2): found mtab fsname configfs 0.057068 gp_port_library_list (2): found mtab fsname /dev/mmcblk0p1 0.057569 gp_port_library_list (2): found mtab fsname tmpfs 0.059883 foreach_func (2): Loaded '' ('^disk:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/disk'. 0.060289 foreach_func (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/ptpip'. 0.062530 foreach_func (2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/ptpip'. 0.065546 foreach_func (2): Loaded '' ('^ptpip:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/ptpip'. 0.066857 foreach_func (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/serial'. 0.070490 foreach_func (2): Loaded 'Serial Port Device' ('serial:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/serial'. 0.073671 foreach_func (2): Loaded '' ('^serial:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/serial'. 0.076473 foreach_func (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usb1'. 0.133155 foreach_func (2): Loaded '' ('^usb:') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usb1'. 0.137802 foreach_func (2): Loaded 'Universal Serial Bus' ('usb:001,018') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usb1'. 0.140389 foreach_func (2): Loaded 'Universal Serial Bus' ('usb:001,003') from '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usb1'. 0.140728 foreach_func (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usbdiskdirect'. 0.145288 foreach_func (2): Called for filename '/usr/lib/arm-linux-gnueabihf/libgphoto2_port/0.12.0/usbscsi'. 0.151194 gp_port_info_list_count (2): Counting entries (8 available)... 0.153827 gp_port_info_list_count (2): 4 regular entries available. 0.156596 gp_abilities_list_load_dir (2): Using ltdl to load camera libraries from '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22'... 0.160549 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/adc65'. 0.163396 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/agfa_cl20'. 0.165441 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/aox'. 0.167664 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/ax203'. 0.167941 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/barbie'. 0.168178 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/canon'. 0.168417 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/casio_qv'. 0.168725 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/clicksmart310'. 0.169034 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/digigr8'. 0.169245 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/digita'. 0.169452 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/dimagev'. 0.169661 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/dimera3500'. 0.169871 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/directory'. 0.170078 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/enigma13'. 0.170288 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/fuji'. 0.170488 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/gsmart300'. 0.172355 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/hp215'. 0.172705 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/iclick'. 0.172959 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/jamcam'. 0.173201 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/jd11'. 0.173451 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/jl2005a'. 0.174883 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/jl2005c'. 0.175306 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/kodak_dc120'. 0.175560 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/kodak_dc210'. 0.175814 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/kodak_dc240'. 0.176057 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/kodak_dc3200'. 0.176307 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/kodak_ez200'. 0.178276 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/konica'. 0.178888 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/konica_qm150'. 0.179197 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/largan'. 0.179445 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/lg_gsm'. 0.181152 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/mars'. 0.181430 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/mustek'. 0.181675 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/panasonic_coolshot'. 0.181921 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/panasonic_dc1000'. 0.182159 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/panasonic_dc1580'. 0.182395 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/panasonic_l859'. 0.182636 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/pccam300'. 0.182882 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/pccam600'. 0.183125 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/pentax'. 0.185212 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/polaroid_pdc320'. 0.185528 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/polaroid_pdc640'. 0.185757 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/polaroid_pdc700'. 0.185965 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/ptp2'. 0.187182 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/ricoh'. 0.187425 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/ricoh_g3'. 0.187633 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/samsung'. 0.187856 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/sierra'. 0.188101 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/sipix_blink2'. 0.188344 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/sipix_web2'. 0.188589 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/smal'. 0.190387 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/sonix'. 0.190725 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/sony_dscf1'. 0.190979 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/sony_dscf55'. 0.191224 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/soundvision'. 0.192555 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/spca50x'. 0.192993 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/sq905'. 0.193248 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/st2205'. 0.193493 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/stv0674'. 0.193740 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/stv0680'. 0.193985 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/sx330z'. 0.194229 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/topfield'. 0.196169 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/toshiba_pdrm11'. 0.196472 foreach_func (2): Found '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/tp6801'. 0.196782 gp_abilities_list_load_dir (2): Found 64 camera drivers. 1.291769 gp_port_info_list_count (2): Counting entries (8 available)... 1.294540 gp_port_info_list_count (2): 4 regular entries available. 1.297255 gp_port_new (2): Creating new device... 1.297621 gp_port_info_list_get_info (2): Getting info of entry 0 (8 available)... 1.299648 gp_port_set_settings (2): Setting settings... 1.302362 gp_port_info_list_get_info (2): Getting info of entry 1 (8 available)... 1.306110 gp_port_set_timeout (2): Setting port timeout to 500 milliseconds. 1.308885 gp_port_set_settings (2): Setting settings... 1.311397 gp_port_info_list_get_info (2): Getting info of entry 2 (8 available)... 1.364451 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds. 1.367661 gp_port_set_settings (2): Setting settings... 1.370105 gp_libusb1_update (2): (old int=0, conf=-1, alt=-1) port usb:001,018, (new int=0, conf=-1, alt=-1) port usb:001,018 1.371334 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes 1.371606 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras... 1.390519 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)... 1.396995 gp_libusb1_find_device_lib (2): Looking for USB device (vendor 0x7b4, product 0x113)... found. 1.400504 gp_libusb1_find_device_lib (2): Detected defaults: config 1, interface 0, altsetting 0, inep 82, outep 01, intep 83, class 06, subclass 01 1.403171 gp_abilities_list_detect_usb(2): Found 'Olympus mju 500' (0x7b4,0x113) 1.405825 gp_port_info_list_get_info (2): Getting info of entry 3 (8 available)... 1.462135 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds. 1.465245 gp_port_set_settings (2): Setting settings... 1.467792 gp_libusb1_update (2): (old int=0, conf=-1, alt=-1) port usb:001,003, (new int=0, conf=-1, alt=-1) port usb:001,003 1.469122 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes 1.469351 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras... 1.488433 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)... 1.503841 gp_libusb1_find_device_by_class_lib(2): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)... 1.507441 gp_port_free (2): Freeing port... 1.509987 gp_port_close (2): Closing port... 1.517862 gp_camera_set_abilities (2): Setting abilities ('Olympus mju 500')... 1.520345 gp_setting_set (2): Setting key 'model' to value 'Olympus mju 500' (gphoto2) 1.521737 save_settings (2): Saving 2 setting(s) to file "/home/pi/.gphoto/settings" 1.526424 gp_port_info_list_lookup_path(2): Looking for path 'usb:001,018' (8 entries available)... 1.526812 gp_port_info_list_get_info (2): Getting info of entry 2 (8 available)... 1.527070 gp_camera_set_port_info (2): Setting port info for port 'Universal Serial Bus' at 'usb:001,018'... 1.580355 gp_port_set_timeout (2): Setting port timeout to 5000 milliseconds. 1.583333 gp_port_set_settings (2): Setting settings... 1.586069 gp_libusb1_update (2): (old int=0, conf=-1, alt=-1) port usb:001,018, (new int=0, conf=-1, alt=-1) port usb:001,018 1.586349 gp_libusb1_update (2): lowlevel libusb1 port not yet opened, no need for libusb changes 1.586561 gp_setting_set (2): Setting key 'port' to value 'usb:001,018' (gphoto2) 1.586787 save_settings (2): Saving 2 setting(s) to file "/home/pi/.gphoto/settings" 1.590563 gp_camera_init (2): Initializing camera... 1.593653 gp_libusb1_find_device_lib (2): Looking for USB device (vendor 0x7b4, product 0x113)... found. 1.594857 gp_libusb1_find_device_lib (2): Detected defaults: config 1, interface 0, altsetting 0, inep 82, outep 01, intep 83, class 06, subclass 01 1.596791 gp_camera_init (2): Loading '/usr/lib/arm-linux-gnueabihf/libgphoto2/2.5.22/ptp2'... 1.644512 gp_port_open (2): Opening USB port... 1.647449 gp_libusb1_open (2): () 1.649514 gp_libusb1_open (2): claiming interface 0 1.652530 camera_init (2): maxpacketsize 512 1.655135 gp_port_set_timeout (2): Setting port timeout to 8000 milliseconds. 1.655755 ptp (2): PTP: Opening session 1.657683 ptp_usb_sendreq (2): Sending PTP_OC 0x1002 (Open session) (0x1) request... 1.657975 gp_port_write (3): Writing 16 = 0x10 bytes to port... 1.659196 gp_port_write (3): Wrote 16 = 0x10 bytes to port: (hexdump of 16 bytes) 0000 10 00 00 00 01 00 02 10-00 00 00 00 01 00 00 00 ................ 1.660901 ptp_usb_getresp (2): Reading PTP_OC 0x1002 (Open session) response... 1.661178 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 1.682916 gp_port_read (3): Read 12 = 0xc out of 1024 bytes from port: (hexdump of 12 bytes) 0000 0c 00 00 00 03 00 01 20-00 00 00 00 ....... .... 1.683449 gp_port_set_timeout (2): Setting port timeout to 20000 milliseconds. 1.683736 ptp_usb_sendreq (2): Sending PTP_OC 0x1001 (Get device info) request... 1.683986 gp_port_write (3): Writing 12 = 0xc bytes to port... 1.685469 gp_port_write (3): Wrote 12 = 0xc bytes to port: (hexdump of 12 bytes) 0000 0c 00 00 00 01 00 01 10-01 00 00 00 ............ 1.687599 ptp_usb_getdata (2): Reading PTP_OC 0x1001 (Get device info) data... 1.687862 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 1.688776 gp_port_read (3): Read 183 = 0xb7 out of 1024 bytes from port: (hexdump of 183 bytes) 0000 b7 00 00 00 02 00 01 10-01 00 00 00 64 00 06 00 ............d... 0010 00 00 64 00 00 00 00 14-00 00 00 01 10 02 10 03 ..d............. 0020 10 04 10 05 10 06 10 07-10 08 10 09 10 0a 10 0b ................ 0030 10 0f 10 14 10 15 10 16-10 1b 10 01 98 02 98 03 ................ 0040 98 05 98 04 00 00 00 04-40 05 40 02 40 09 40 05 ........@.@.@.@. 0050 00 00 00 01 50 11 50 05-d4 06 d4 07 d4 04 00 00 ....P.P......... 0060 00 01 38 00 38 08 30 0a-30 06 00 00 00 01 30 06 ..8.8.0.0.....0. 0070 30 08 30 0a 30 00 38 01-38 08 4f 00 4c 00 59 00 0.0.0.8.8.O.L.Y. 0080 4d 00 50 00 55 00 53 00-00 00 06 45 00 2d 00 50 M.P.U.S....E.-.P 0090 00 4d 00 31 00 00 00 05-31 00 2e 00 30 00 30 00 .M.1....1...0.0. 00a0 00 00 0a 42 00 42 00 39-00 35 00 32 00 39 00 30 ...B.B.9.5.2.9.0 00b0 00 32 00 36 00 00 00 - .2.6... 1.692285 ptp_usb_getresp (2): Reading PTP_OC 0x1001 (Get device info) response... 1.692566 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 1.693298 gp_port_read (3): Read 12 = 0xc out of 1024 bytes from port: (hexdump of 12 bytes) 0000 0c 00 00 00 03 00 01 20-01 00 00 00 ....... .... 1.695249 print_debug_deviceinfo (2): Device info: 1.695542 print_debug_deviceinfo (2): Manufacturer: OLYMPUS 1.697161 print_debug_deviceinfo (2): Model: E-PM1 1.697772 print_debug_deviceinfo (2): device version: 1.00 1.698060 print_debug_deviceinfo (2): serial number: 'BB9529026' 1.698301 print_debug_deviceinfo (2): Vendor extension ID: 0x00000006 1.698531 print_debug_deviceinfo (2): Vendor extension version: 100 1.698756 print_debug_deviceinfo (2): Vendor extension description: (null) 1.698996 print_debug_deviceinfo (2): Functional Mode: 0x0000 1.699225 print_debug_deviceinfo (2): PTP Standard Version: 100 1.700921 print_debug_deviceinfo (2): Supported operations: 1.701219 print_debug_deviceinfo (2): 0x1001 (Get device info) 1.701472 print_debug_deviceinfo (2): 0x1002 (Open session) 1.701726 print_debug_deviceinfo (2): 0x1003 (Close session) 1.701978 print_debug_deviceinfo (2): 0x1004 (Get storage IDs) 1.702230 print_debug_deviceinfo (2): 0x1005 (Get storage info) 1.702449 print_debug_deviceinfo (2): 0x1006 (Get number of objects) 1.702662 print_debug_deviceinfo (2): 0x1007 (Get object handles) 1.702874 print_debug_deviceinfo (2): 0x1008 (Get object info) 1.704394 print_debug_deviceinfo (2): 0x1009 (Get object) 1.704835 print_debug_deviceinfo (2): 0x100a (Get thumbnail) 1.705237 print_debug_deviceinfo (2): 0x100b (Delete object) 1.706607 print_debug_deviceinfo (2): 0x100f (Format storage) 1.706891 print_debug_deviceinfo (2): 0x1014 (Get device property description) 1.707149 print_debug_deviceinfo (2): 0x1015 (Get device property value) 1.707401 print_debug_deviceinfo (2): 0x1016 (Set device property value) 1.707654 print_debug_deviceinfo (2): 0x101b (Get partial object) 1.707912 print_debug_deviceinfo (2): 0x9801 (Get object properties supported) 1.709566 print_debug_deviceinfo (2): 0x9802 (Get object property description) 1.709934 print_debug_deviceinfo (2): 0x9803 (Get object property value) 1.710198 print_debug_deviceinfo (2): 0x9805 (Get object property list) 1.710430 print_debug_deviceinfo (2): Events Supported: 1.711822 print_debug_deviceinfo (2): 0x4004 (StoreAdded) 1.712105 print_debug_deviceinfo (2): 0x4005 (StoreRemoved) 1.712361 print_debug_deviceinfo (2): 0x4002 (ObjectAdded) 1.712668 print_debug_deviceinfo (2): 0x4009 (RequestObjectTransfer) 1.712963 print_debug_deviceinfo (2): Device Properties Supported: 1.713230 print_debug_deviceinfo (2): 0x5001 (Battery Level) 1.715087 print_debug_deviceinfo (2): 0x5011 (Date & Time) 1.715394 print_debug_deviceinfo (2): 0xd405 (Device Icon) 1.715651 print_debug_deviceinfo (2): 0xd406 (Session Initiator Info) 1.717025 print_debug_deviceinfo (2): 0xd407 (Perceived Device Type) 1.717335 ptp_usb_sendreq (2): Sending PTP_OC 0x1004 (Get storage IDs) request... 1.717588 gp_port_write (3): Writing 12 = 0xc bytes to port... 1.718315 gp_port_write (3): Wrote 12 = 0xc bytes to port: (hexdump of 12 bytes) 0000 0c 00 00 00 01 00 04 10-02 00 00 00 ............ 1.720157 ptp_usb_getdata (2): Reading PTP_OC 0x1004 (Get storage IDs) data... 1.720398 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 1.721108 gp_port_read (3): Read 20 = 0x14 out of 1024 bytes from port: (hexdump of 20 bytes) 0000 14 00 00 00 02 00 04 10-02 00 00 00 01 00 00 00 ................ 0010 01 00 01 00 - .... 1.722918 ptp_usb_getresp (2): Reading PTP_OC 0x1004 (Get storage IDs) response... 1.723196 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 1.723933 gp_port_read (3): Read 12 = 0xc out of 1024 bytes from port: (hexdump of 12 bytes) 0000 0c 00 00 00 03 00 01 20-02 00 00 00 ....... .... 1.725994 ptp (2): (storage=0xffffffff, handle=0xffffffff) 1.726258 ptp (2): Listing ... 1.726538 ptp_usb_sendreq (2): Sending PTP_OC 0x1007 (Get object handles) (0xffffffff,0x0,0xffffffff) request... 1.727976 gp_port_write (3): Writing 24 = 0x18 bytes to port... 1.728825 gp_port_write (3): Wrote 24 = 0x18 bytes to port: (hexdump of 24 bytes) 0000 18 00 00 00 01 00 07 10-03 00 00 00 ff ff ff ff ................ 0010 00 00 00 00 ff ff ff ff- ........ 1.730903 ptp_usb_getdata (2): Reading PTP_OC 0x1007 (Get object handles) data... 1.731184 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 1.731935 gp_port_read (3): Read 20 = 0x14 out of 1024 bytes from port: (hexdump of 20 bytes) 0000 14 00 00 00 02 00 07 10-03 00 00 00 01 00 00 00 ................ 0010 01 00 00 00 - .... 1.733749 ptp_usb_getresp (2): Reading PTP_OC 0x1007 (Get object handles) response... 1.734030 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 1.734762 gp_port_read (3): Read 12 = 0xc out of 1024 bytes from port: (hexdump of 12 bytes) 0000 0c 00 00 00 03 00 01 20-03 00 00 00 ....... .... 1.737678 ptp (2): adding new objectid 0x00000001 (nrofobs=0,j=0) 1.737966 ptp (2): (storage=0x00010001, handle=0xffffffff) 1.738198 ptp (2): Listing ... 1.738484 ptp_usb_sendreq (2): Sending PTP_OC 0x1007 (Get object handles) (0x10001,0x0,0xffffffff) request... 1.738743 gp_port_write (3): Writing 24 = 0x18 bytes to port... 1.741018 gp_port_write (3): Wrote 24 = 0x18 bytes to port: (hexdump of 24 bytes) 0000 18 00 00 00 01 00 07 10-04 00 00 00 01 00 01 00 ................ 0010 00 00 00 00 ff ff ff ff- ........ 1.742818 ptp_usb_getdata (2): Reading PTP_OC 0x1007 (Get object handles) data... 1.743098 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 1.743837 gp_port_read (3): Read 20 = 0x14 out of 1024 bytes from port: (hexdump of 20 bytes) 0000 14 00 00 00 02 00 07 10-04 00 00 00 01 00 00 00 ................ 0010 01 00 00 00 - .... 1.746182 ptp_usb_getresp (2): Reading PTP_OC 0x1007 (Get object handles) response... 1.746460 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 1.747208 gp_port_read (3): Read 12 = 0xc out of 1024 bytes from port: (hexdump of 12 bytes) 0000 0c 00 00 00 03 00 01 20-04 00 00 00 ....... .... 1.748939 ptp (2): adding old objectid 0x00000001 (nrofobs=1,j=0) 1.749401 gp_context_error (0): Sorry, your camera does not support generic capture *** Error *** Sorry, your camera does not support generic capture 1.750185 gp_camera_capture [gphoto2-camera.c:1340](0): 'camera->functions->capture (camera, type, path, context)' failed: -6 ERROR: Could not capture image. ERROR: Could not capture. *** Error (-6: 'Unsupported operation') *** 1.757839 gp_camera_free (2): Freeing camera... 1.760565 gp_camera_exit (2): Exiting camera ('Olympus mju 500')... 1.763238 gp_port_get_timeout (2): Current port timeout is 20000 milliseconds. 1.765920 gp_port_set_timeout (2): Setting port timeout to 150 milliseconds. 1.766254 gp_port_check_int (3): Reading 24 = 0x18 bytes from interrupt endpoint... 1.916858 gp_port_check_int (3): Reading 24 = 0x18 bytes from interrupt endpoint... 2.067547 gp_port_set_timeout (2): Setting port timeout to 20000 milliseconds. 2.067771 ptp_usb_sendreq (2): Sending PTP_OC 0x1003 (Close session) request... 2.067874 gp_port_write (3): Writing 12 = 0xc bytes to port... 2.068445 gp_port_write (3): Wrote 12 = 0xc bytes to port: (hexdump of 12 bytes) 0000 0c 00 00 00 01 00 03 10-05 00 00 00 ............ 2.068600 ptp_usb_getresp (2): Reading PTP_OC 0x1003 (Close session) response... 2.068704 gp_port_read (3): Reading 1024 = 0x400 bytes from port... 2.070374 gp_port_read (3): Read 12 = 0xc out of 1024 bytes from port: (hexdump of 12 bytes) 0000 0c 00 00 00 03 00 01 20-05 00 00 00 ....... .... 2.070852 gp_port_close (2): Closing port... 2.073155 _close_async_interrupts (2): canceling transfer 0:0x12c6770 (status 0) 2.073549 _close_async_interrupts (2): canceling transfer 1:0x12c7c98 (status 0) 2.073858 _close_async_interrupts (2): canceling transfer 2:0x12c80f8 (status 0) 2.074154 _close_async_interrupts (2): canceling transfer 3:0x12c4a48 (status 0) 2.074454 _close_async_interrupts (2): canceling transfer 4:0x12c3aa8 (status 0) 2.074751 _close_async_interrupts (2): canceling transfer 5:0x12d7ac0 (status 0) 2.075202 _close_async_interrupts (2): canceling transfer 6:0x12c1368 (status 0) 2.075518 _close_async_interrupts (2): canceling transfer 7:0x12c5ea8 (status 0) 2.075825 _close_async_interrupts (2): canceling transfer 8:0x12c1eb8 (status 0) 2.076121 _close_async_interrupts (2): canceling transfer 9:0x12c5fb0 (status 0) 2.076499 _cb_irq (2): 0x12c6770 with status 3 2.078433 _cb_irq (2): Transfer 0x12c6770 should be in LIBUSB_TRANSFER_COMPLETED, but is 3! 2.078824 _cb_irq (2): 0x12c7c98 with status 3 2.079082 _cb_irq (2): Transfer 0x12c7c98 should be in LIBUSB_TRANSFER_COMPLETED, but is 3! 2.079370 _cb_irq (2): 0x12c80f8 with status 3 2.080773 _cb_irq (2): Transfer 0x12c80f8 should be in LIBUSB_TRANSFER_COMPLETED, but is 3! 2.081164 _cb_irq (2): 0x12c4a48 with status 3 2.081420 _cb_irq (2): Transfer 0x12c4a48 should be in LIBUSB_TRANSFER_COMPLETED, but is 3! 2.081709 _cb_irq (2): 0x12c3aa8 with status 3 2.081960 _cb_irq (2): Transfer 0x12c3aa8 should be in LIBUSB_TRANSFER_COMPLETED, but is 3! 2.082247 _cb_irq (2): 0x12d7ac0 with status 3 2.084046 _cb_irq (2): Transfer 0x12d7ac0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3! 2.084417 _cb_irq (2): 0x12c1368 with status 3 2.084669 _cb_irq (2): Transfer 0x12c1368 should be in LIBUSB_TRANSFER_COMPLETED, but is 3! 2.085095 _cb_irq (2): 0x12c5ea8 with status 3 2.086405 _cb_irq (2): Transfer 0x12c5ea8 should be in LIBUSB_TRANSFER_COMPLETED, but is 3! 2.086698 _cb_irq (2): 0x12c1eb8 with status 3 2.086906 _cb_irq (2): Transfer 0x12c1eb8 should be in LIBUSB_TRANSFER_COMPLETED, but is 3! 2.087145 _cb_irq (2): 0x12c5fb0 with status 3 2.087355 _cb_irq (2): Transfer 0x12c5fb0 should be in LIBUSB_TRANSFER_COMPLETED, but is 3! 2.091097 gp_filesystem_reset (2): resetting filesystem 2.094081 gp_filesystem_lru_clear (2): Clearing fscache LRU list... 2.096829 gp_filesystem_lru_clear (2): fscache LRU list already empty 2.097156 delete_all_folders (2): Internally deleting all folders from '/'... 2.098762 lookup_folder (2): Lookup folder '/'... 2.099036 lookup_folder (2): Found! / is 0x12be440 2.099273 recurse_delete_folder (2): Recurse delete folder 0x12be440// 2.099504 gp_port_free (2): Freeing port... 2.100834 gp_port_close (2): Closing port... 2.104445 gp_filesystem_reset (2): resetting filesystem 2.107794 gp_filesystem_lru_clear (2): Clearing fscache LRU list... 2.109370 gp_filesystem_lru_clear (2): fscache LRU list already empty 2.109645 delete_all_folders (2): Internally deleting all folders from '/'... 2.109881 lookup_folder (2): Lookup folder '/'... 2.110111 lookup_folder (2): Found! / is 0x12be440 2.110340 recurse_delete_folder (2): Recurse delete folder 0x12be440//
pi@raspberrypi:~ $ LANG=C gphoto2 --summary Camera summary: Manufacturer: OLYMPUS Model: E-PM1 Version: 1.00 Serial Number: BB9529026 Vendor Extension ID: 0x6 (1.0) Capture Formats: JPEG Defined Type MS Wave MS AVI Display Formats: Association/Directory, DPOF, MS Wave, MS AVI, Defined Type, JPEG Supported MTP Object Properties: Association/Directory/3001: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name DPOF/3006: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name MS Wave/3008: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc89/Duration de93/SampleRate de94/NumberOfChannels de9a/AudioBitRate MS AVI/300a: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc81/RepresentativeSampleFormat dc82/RepresentativeSampleSize dc83/RepresentativeSampleHeight dc84/RepresentativeSampleWidth dc86/RepresentativeSampleData dc87/Width dc88/Height dc89/Duration de93/SampleRate de94/NumberOfChannels de97/ScanDepth de9a/AudioBitRate de9b/VideoFourCCCodec de9c/VideoBitRate Defined Type/3800: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc81/RepresentativeSampleFormat dc82/RepresentativeSampleSize dc83/RepresentativeSampleHeight dc84/RepresentativeSampleWidth dc86/RepresentativeSampleData dc88/Height dc87/Width dcd3/ImageBitDepth JPEG/3801: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc81/RepresentativeSampleFormat dc82/RepresentativeSampleSize dc83/RepresentativeSampleHeight dc84/RepresentativeSampleWidth dc86/RepresentativeSampleData dc88/Height dc87/Width dcd3/ImageBitDepth Device Capabilities: File Download, File Deletion, No File Upload No Image Capture, No Open Capture, No vendor specific capture Storage Devices Summary: store_00010001: StorageDescription: None VolumeLabel: None Storage Type: Removable RAM (memory card) Filesystemtype: Digital Camera Layout (DCIM) Access Capability: Read-Write Maximum Capability: 8060403712 (7687 MB) Free Space (Bytes): 7022247936 (6696 MB) Free Space (Images): -1 Device Property Summary: Battery Level(0x5001):(read only) (type=0x2) Range [1 - 100, step 1] value: 100% (100) Date & Time(0x5011):(readwrite) (type=0xffff) '20110101T000000' Device Icon(0xd405):(read only) (type=0x0) Undefined Session Initiator Info(0xd406):(readwrite) (type=0xffff) 'Windows/6.0.5330.0 MTPClassDriver/6.0.5330.0' Perceived Device Type(0xd407):(read only) (type=0x6) 1
pi@raspberrypi:~ $ gphoto2 --auto-detect Model Port ---------------------------------------------------------- Olympus mju 500 usb:001,018
pi@raspberrypi:~ $ lsusb Bus 001 Device 018: ID 07b4:0113 Olympus Optical Co., Ltd Mju 500 / Stylus Digital Camera (PTP) Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. SMC9512/9514 USB Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
_______________________________________________ Gphoto-devel mailing list Gphoto-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gphoto-devel