rendered paste body# env LANG=C gphoto2 --debug --camera "USB PTP Class Camera" --port "usb:" --capture-image -f "/store_80000001" -p "capt0000.jpg"
0.000039 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.032323 main(2): gphoto2 2.2.0
0.055502 main(2): gphoto2 has been compiled with the following options:
0.055812 main(2): + mipsel-linux-uclibc-gcc (C compiler used)
0.056117 main(2): + popt (for handling command-line parameters)
0.056419 main(2): + exif (for displaying EXIF information)
0.056721 main(2): + no cdk (for accessing configuration options)
0.057021 main(2): + no aa (for displaying live previews)
0.057323 main(2): + no jpeg (for displaying live previews in JPEG format)
0.057627 main(2): + no readline (for easy navigation in the shell)
0.057932 main(2): libgphoto2 2.2.1
0.058253 main(2): libgphoto2 has been compiled with the following options:
0.058553 main(2): + mipsel-linux-uclibc-gcc (C compiler used)
0.058857 main(2): + EXIF (for special handling of EXIF files)
0.059160 main(2): + no /proc/meminfo (adapts cache size to memory available)
0.059467 main(2): libgphoto2_port 0.6.1
0.059789 main(2): libgphoto2_port has been compiled with the following options:
0.060089 main(2): + mipsel-linux-uclibc-gcc (C compiler used)
0.060389 main(2): + USB (libusb, for USB cameras)
0.060689 main(2): + serial (for serial cameras)
0.060987 main(2): + no resmgr (serial port access and locking)
0.061291 main(2): + no baudboy (serial port locking)
0.061591 main(2): + no ttylock (serial port locking)
0.061890 main(2): + no lockdev (serial port locking)
0.062642 main(2): Processing 'model' option ('USB PTP Class Camera')...
0.063545 gphoto2-camera(2): Setting abilities ('USB PTP Class Camera')...
0.064030 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
0.065077 setting/gphoto2-setting.c(2): Loading settings from file "/tmp/.gphoto/settings"
0.065736 gphoto2-setting(2): Setting key 'model' to value 'USB PTP Class Camera' (gphoto2)
0.066201 gphoto2-setting(2): Saving 2 setting(s) to file "/tmp/.gphoto/settings"
0.067103 main(2): Processing 'port' option ('usb:')...
0.067588 gphoto2-port-info-list(2): Using ltdl to load io-drivers from '/usr/lib/libgphoto2_port/0.6.1'...
0.068442 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.6.1/disk'.
0.072630 gphoto2-port-info-list(2): Could not load port driver list: 'Unspecified error'.
0.073006 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.6.1/ptpip'.
0.075246 gphoto2-port-info-list(2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib/libgphoto2_port/0.6.1/ptpip'.
0.075729 gphoto2-port-info-list(2): Loaded '' ('^ptpip') from '/usr/lib/libgphoto2_port/0.6.1/ptpip'.
0.076123 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.6.1/serial'.
0.078185 gphoto2-port-serial(2): Trying to lock '/dev/tts/0'...
0.078936 gphoto2-port-serial(2): Trying to lock '/dev/tts/1'...
0.086498 gphoto2-port-info-list(2): Loaded 'Serial Port 0' ('serial:/dev/tts/0') from '/usr/lib/libgphoto2_port/0.6.1/serial'.
0.096084 gphoto2-port-info-list(2): Loaded 'Serial Port 1' ('serial:/dev/tts/1') from '/usr/lib/libgphoto2_port/0.6.1/serial'.
0.096499 gphoto2-port-info-list(2): Loaded '' ('^serial') from '/usr/lib/libgphoto2_port/0.6.1/serial'.
0.096897 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.6.1/usb'.
0.109063 gphoto2-port-info-list(2): Loaded 'Universal Serial Bus' ('usb:') from '/usr/lib/libgphoto2_port/0.6.1/usb'.
0.109510 gphoto2-port-info-list(2): Loaded '' ('^usb:') from '/usr/lib/libgphoto2_port/0.6.1/usb'.
0.109939 gphoto2-port-info-list(2): Counting entries (8 available)...
0.110252 gphoto2-port-info-list(2): 4 regular entries available.
0.110548 gphoto2-port-info-list(2): Looking for path 'usb:' (8 entries available)...
0.110936 gphoto2-port-info-list(2): Getting info of entry 3 (8 available)...
0.111343 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at 'usb:'...
0.122878 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.123222 gphoto2-port(2): Setting settings...
0.123473 gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2)
0.134066 gphoto2-setting(2): Saving 2 setting(s) to file "/tmp/.gphoto/settings"
0.137094 gphoto2-camera(2): Initializing camera...
0.137592 gphoto2-port(0): The supplied vendor or product id (0x0,0x0) is not valid.
0.137938 gphoto2-port-usb(1): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)... found.
0.138350 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, idVendor ID 04a9, idProduct 30b1, inep 81, outep 02, intep 83
0.138984 gphoto2-camera(2): Loading '/usr/lib/libgphoto2/2.2.1/ptp2'...
0.142563 gphoto2-port(2): Opening USB port...
0.143273 gphoto2-port(0): Could not query kernel driver of device.
0.144041 gphoto2-port(2): Setting timeout to 8000 millisecond(s)...
0.144553 ptp(2): PTP: Opening session
0.145027 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.145425 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000 10 00 00 00 01 00 02 10-00 00 00 00 01 00 00 00 ................
0.148979 gphoto2-port(2): Reading 4096=0x1000 bytes from port...
0.157742 gphoto2-port(2): Could only read 12 out of 4096 byte(s)
0.158171 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000 0c 00 00 00 03 00 01 20-00 00 00 00 ....... ....
0.158630 gphoto2-port(2): Writing 12=0xc byte(s) to port...
0.159008 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000 0c 00 00 00 01 00 01 10-01 00 00 00 ............
8.164011 PTP2/library.c(2): PTP: gp_port_* function returned 0xffffffdd -35
8.164490 context(0): PTP I/O error
*** Error ***
PTP I/O error
8.165117 gphoto2-port(2): Closing port...
8.165940 context(0): An error occurred in the io-library ('Unspecified error'): Could not query kernel driver of device.
*** Error ***
An error occurred in the io-library ('Unspecified error'): Could not query kernel driver of device.
ERROR: Could not capture.
8.166944 main(2): Getting 'capt0000.jpg'...
8.167406 gphoto2-camera(2): Getting file 'capt0000.jpg' in folder '/store_80000001'...
8.167798 gphoto2-camera(2): Initializing camera...
8.168090 gphoto2-port(0): The supplied vendor or product id (0x0,0x0) is not valid.
8.168371 gphoto2-port-usb(1): Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)... found.
8.168763 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, idVendor ID 04a9, idProduct 30b1, inep 81, outep 02, intep 83
8.169384 gphoto2-camera(2): Loading '/usr/lib/libgphoto2/2.2.1/ptp2'...
8.172930 gphoto2-port(2): Opening USB port...
8.173533 gphoto2-port(0): Could not query kernel driver of device.
8.174267 gphoto2-port(2): Setting timeout to 8000 millisecond(s)...
8.174776 ptp(2): PTP: Opening session
8.175255 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
8.175653 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000 10 00 00 00 01 00 02 10-00 00 00 00 01 00 00 00 ................
16.183999 PTP2/library.c(2): PTP: gp_port_* function returned 0xffffffdd -35
16.195941 ptp(2): PTP: Opening session
16.196207 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
16.196569 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000 10 00 00 00 01 00 02 10-00 00 00 00 01 00 00 00 ................
24.203904 PTP2/library.c(2): PTP: gp_port_* function returned 0xffffffdd -35
24.204320 ptp(2): PTP: Opening session
24.204576 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
24.204929 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000 10 00 00 00 01 00 02 10-00 00 00 00 01 00 00 00 ................
32.213917 PTP2/library.c(2): PTP: gp_port_* function returned 0xffffffdd -35
32.214360 context(0): PTP I/O error
*** Error ***
PTP I/O error
32.214940 gphoto2-port(2): Closing port...
32.215698 context(0): An error occurred in the io-library ('Unspecified error'): Could not query kernel driver of device.
*** Error ***
An error occurred in the io-library ('Unspecified error'): Could not query kernel driver of device.
*** Error (-1: 'Unspecified error') ***
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 --camera "USB PTP Class Camera" --port "usb:" --capture-image -f "/store_80000001" -p "capt0000.jpg"
Please make sure there is sufficient quoting around the arguments.
32.218143 gp-camera(2): Freeing camera...
32.218466 gphoto2-port(2): Freeing port...
32.218727 gphoto2-port(2): Closing port...
32.219669 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
32.219985 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
32.220243 gphoto2-filesystem(2): Internally deleting all folders from '/'...
root@OpenWrt:~#