Skip to content

Instantly share code, notes, and snippets.

@jegade
Created February 26, 2012 17:38
Show Gist options
  • Save jegade/1917897 to your computer and use it in GitHub Desktop.
Save jegade/1917897 to your computer and use it in GitHub Desktop.
usb_set_debug: Setting debugging level to 255 (on)
usb_os_init: Found USB VFS at /dev/bus/usb
usb_os_find_busses: Found 001
usb_os_find_devices: Found 022 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
usb_set_debug: Setting debugging level to 255 (on)
usb_os_init: Found USB VFS at /dev/bus/usb
usb_os_find_busses: Found 001
usb_os_find_devices: Found 022 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
usb_set_debug: Setting debugging level to 255 (on)
usb_os_init: Found USB VFS at /dev/bus/usb
usb_os_find_busses: Found 001
usb_os_find_devices: Found 022 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
USB error: could not get bound driver: No data available
*** Error ***
PTP I/O error
*** Error ***
An error occurred in the io-library ('Unspecified error'): No error description available
ERROR: Could not capture image.
*** Error (-1: 'Unspecified error') ***
beaglebone ~ # cat my-logfile.txt
0.000070 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000641 main(2): gphoto2 2.4.11
0.000743 main(2): gphoto2 has been compiled with the following options:
0.000817 main(2): + armv7a-hardfloat-linux-gnueabi-gcc (C compiler used)
0.000884 main(2): + popt (mandatory, for handling command-line parameters)
0.000947 main(2): + no exif (for displaying EXIF information)
0.001012 main(2): + cdk (for accessing configuration options)
0.001077 main(2): + no aa (for displaying live previews)
0.001142 main(2): + no jpeg (for displaying live previews in JPEG format)
0.001207 main(2): + readline (for easy navigation in the shell)
0.001297 main(2): libgphoto2 2.4.12
0.001413 main(2): libgphoto2 has been compiled with the following options:
0.001485 main(2): + armv7a-hardfloat-linux-gnueabi-gcc (C compiler used)
0.001576 main(2): + ltdl (for portable loading of camlibs)
0.001645 main(2): + no EXIF (for special handling of EXIF files)
0.001722 main(2): libgphoto2_port 0.8.0
0.001799 main(2): libgphoto2_port has been compiled with the following options:
0.001867 main(2): + armv7a-hardfloat-linux-gnueabi-gcc (C compiler used)
0.001932 main(2): + ltdl (for portable loading of camlibs)
0.001997 main(2): + USB (libusb, for USB cameras)
0.002062 main(2): + serial (for serial cameras)
0.002127 main(2): + no resmgr (serial port access and locking)
0.002192 main(2): + no ttylock (serial port locking)
0.002256 main(2): + no lockdev (serial port locking)
0.002324 main(2): CAMLIBS env var not set, using compile-time default instead
0.002390 main(2): IOLIBS env var not set, using compile-time default instead
0.002661 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
0.003212 setting/gphoto2-setting.c(2): Loading settings from file "/root/.gphoto/settings"
0.003761 main(2): The user has not specified both a model and a port. Try to figure them out.
0.003954 gphoto2-port-info-list(2): Using ltdl to load io-drivers from '/usr/lib/libgphoto2_port/0.8.0'...
0.004963 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/disk'.
0.006723 gphoto2-port/disk(2): found fstab fsname /dev/mmcblk0p1
0.007016 gphoto2-port/disk(2): found fstab fsname /dev/mmcblk0p2
0.007346 gphoto2-port/disk(2): found mtab fsname rootfs
0.007491 gphoto2-port/disk(2): found mtab fsname /dev/root
0.007602 gphoto2-port/disk(2): found mtab fsname proc
0.007695 gphoto2-port/disk(2): found mtab fsname rc-svcdir
0.007850 gphoto2-port/disk(2): found mtab fsname sysfs
0.007952 gphoto2-port/disk(2): found mtab fsname debugfs
0.008114 gphoto2-port/disk(2): found mtab fsname udev
0.008434 gphoto2-port/disk(2): found mtab fsname devpts
0.008543 gphoto2-port/disk(2): found mtab fsname shm
0.008666 gphoto2-port/disk(2): found mtab fsname usbfs
0.008805 gphoto2-port/disk(2): found mtab fsname binfmt_misc
0.009313 gphoto2-port-info-list(2): Could not load port driver list: 'Unspecified error'.
0.009467 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/ptpip'.
0.010608 gphoto2-port-info-list(2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib/libgphoto2_port/0.8.0/ptpip'.
0.010768 gphoto2-port-info-list(2): Loaded '' ('^ptpip') from '/usr/lib/libgphoto2_port/0.8.0/ptpip'.
0.010858 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.012482 gphoto2-port-info-list(2): Loaded 'Serial Port 0' ('serial:/dev/ttyS0') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.012624 gphoto2-port-info-list(2): Loaded 'Serial Port 1' ('serial:/dev/ttyS1') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.012708 gphoto2-port-info-list(2): Loaded 'Serial Port 2' ('serial:/dev/ttyS2') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.012787 gphoto2-port-info-list(2): Loaded 'Serial Port 3' ('serial:/dev/ttyS3') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.012865 gphoto2-port-info-list(2): Loaded '' ('^serial') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.012946 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/usb'.
0.022222 gphoto2-port-info-list(2): Loaded '' ('^usb:') from '/usr/lib/libgphoto2_port/0.8.0/usb'.
0.022558 gphoto2-port-info-list(2): Loaded 'Universal Serial Bus' ('usb:001,022') from '/usr/lib/libgphoto2_port/0.8.0/usb'.
0.022651 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/usb1'.
0.024724 gphoto2-port-info-list(2): '/usr/lib/libgphoto2_port/0.8.0/usb1' already loaded
0.025104 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/usbdiskdirect'.
0.026488 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/usbscsi'.
0.027826 gphoto2-port-info-list(2): Counting entries (10 available)...
0.027975 gphoto2-port-info-list(2): 6 regular entries available.
0.034641 gphoto2-abilities-list(2): Using ltdl to load camera libraries from '/usr/lib/libgphoto2/2.4.12'...
0.041535 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.12/ptp2'.
0.041779 gp-abilities-list(2): Found 1 camera drivers.
0.086692 gphoto2-port-info-list(2): Counting entries (10 available)...
0.086985 gphoto2-port-info-list(2): 6 regular entries available.
0.087076 gphoto2-port(2): Creating new device...
0.087204 gphoto2-port-info-list(2): Getting info of entry 0 (10 available)...
0.088864 gphoto2-port(2): Setting settings...
0.089045 gphoto2-port-info-list(2): Getting info of entry 1 (10 available)...
0.090311 gphoto2-port(2): Setting timeout to 500 milliseconds...
0.090457 gphoto2-port(2): Setting settings...
0.090560 gphoto2-port-info-list(2): Getting info of entry 2 (10 available)...
0.091594 gphoto2-port(2): Setting timeout to 500 milliseconds...
0.091729 gphoto2-port(2): Setting settings...
0.091823 gphoto2-port-info-list(2): Getting info of entry 3 (10 available)...
0.092782 gphoto2-port(2): Setting timeout to 500 milliseconds...
0.092909 gphoto2-port(2): Setting settings...
0.093000 gphoto2-port-info-list(2): Getting info of entry 4 (10 available)...
0.093948 gphoto2-port(2): Setting timeout to 500 milliseconds...
0.094073 gphoto2-port(2): Setting settings...
0.094166 gphoto2-port-info-list(2): Getting info of entry 5 (10 available)...
0.101269 gphoto2-port(2): Setting timeout to 5000 milliseconds...
0.101474 gphoto2-port(2): Setting settings...
0.101573 libusb(2): gp_port_usb_update(old int=0, conf=-1, alt=-1), (new int=0, conf=-1, alt=-1)
0.101655 gphoto2-abilities-list.c(1): Auto-detecting USB cameras...
0.102061 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x319a)... found.
0.102155 gphoto2-port-usb(2): inep to look for is 81
0.102224 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
0.102302 gphoto2-abilities-list.c(2): Found 'Canon EOS 7D' (0x4a9,0x319a)
0.102409 gphoto2-port(2): Freeing port...
0.102498 gphoto2-port(2): Closing port...
0.103081 gphoto2-camera(2): Setting abilities ('Canon EOS 7D')...
0.103233 gphoto2-setting(2): Setting key 'model' to value 'Canon EOS 7D' (gphoto2)
0.103327 gphoto2-setting(2): Saving 2 setting(s) to file "/root/.gphoto/settings"
0.104120 gphoto2-port-info-list(2): Looking for path 'usb:001,022' (10 entries available)...
0.104288 gphoto2-port-info-list(2): Getting info of entry 5 (10 available)...
0.104391 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at 'usb:001,022'...
0.111513 gphoto2-port(2): Setting timeout to 5000 milliseconds...
0.111714 gphoto2-port(2): Setting settings...
0.111817 libusb(2): gp_port_usb_update(old int=0, conf=-1, alt=-1), (new int=0, conf=-1, alt=-1)
0.111899 gphoto2-setting(2): Setting key 'port' to value 'usb:001,022' (gphoto2)
0.111984 gphoto2-setting(2): Saving 2 setting(s) to file "/root/.gphoto/settings"
0.114018 gphoto2-camera(2): Initializing camera...
0.114261 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x319a)... found.
0.114353 gphoto2-port-usb(2): inep to look for is 81
0.114422 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
0.114499 gphoto2-camera(2): Loading '/usr/lib/libgphoto2/2.4.12/ptp2'...
0.116719 gphoto2-port(2): Opening USB port...
0.116916 libusb(2): gp_port_usb_open()
0.118583 libusb(2): claiming interface 0
0.119031 ptp2(2): maxpacketsize 512
0.119679 gphoto2-port(2): Setting timeout to 1500 milliseconds...
0.119843 ptp(2): PTP: Opening session
0.119978 gphoto2-port(2): Writing 16=0x10 bytes to port...
0.120088 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 ................
1.620929 ptp2/usb_sendreq(2): request code 0x1002 sending req result -35
1.621104 ptp2/camera_init(0): ptp_opensession returns 2ff
1.621190 ptp2/device_reset_request(2): sending reset
1.621299 gphoto2-port(2): Writing message (request=0x66 value=0x0 index=0x0 size=0=0x0)...
1.621398 gphoto2-port(3): No hexdump (NULL buffer)
1.622767 ptp(2): PTP: Opening session
1.622918 gphoto2-port(2): Writing 16=0x10 bytes to port...
1.623016 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 ................
3.124250 ptp2/usb_sendreq(2): request code 0x1002 sending req result -35
3.124464 ptp2/camera_init(0): ptp_opensession returns 2ff
3.124540 ptp2/device_reset_request(2): sending reset
3.124608 gphoto2-port(2): Writing message (request=0x66 value=0x0 index=0x0 size=0=0x0)...
3.124707 gphoto2-port(3): No hexdump (NULL buffer)
3.125928 ptp(2): PTP: Opening session
3.126049 gphoto2-port(2): Writing 16=0x10 bytes to port...
3.126147 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 ................
4.627714 ptp2/usb_sendreq(2): request code 0x1002 sending req result -35
4.627838 ptp2/camera_init(0): ptp_opensession returns 2ff
4.627910 ptp2/device_reset_request(2): sending reset
4.627977 gphoto2-port(2): Writing message (request=0x66 value=0x0 index=0x0 size=0=0x0)...
4.628063 gphoto2-port(3): No hexdump (NULL buffer)
4.629513 context(0): PTP I/O error
4.629813 gphoto2-port(2): Closing port...
4.630391 context(0): An error occurred in the io-library ('Unspecified error'): No error description available
4.632017 gp-camera(2): Freeing camera...
4.632180 gphoto2-port(2): Freeing port...
4.632261 gphoto2-port(2): Closing port...
4.632659 gphoto2-filesystem(2): resetting filesystem
4.632767 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
4.632834 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
4.632899 gphoto2-filesystem(2): Internally deleting all folders from '/'...
4.632964 gphoto2-filesystem(2): Lookup folder '/'...
4.633032 gphoto2-filesystem(2): Found! / is 0x2d2f0
4.633098 gphoto2-filesystem(2): Recurse delete folder 0x2d2f0//
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment