You are not logged in.

#1 2011-12-25 12:24:37

dabbi2000
Member
From: Reykjavik, Iceland
Registered: 2011-09-28
Posts: 119
Website

"Permission denied" while accessing Canon 550D with libgphoto2

I have followed the Wiki for access problems but I just can't get it to work, the camera is seen but I cannot transfer anything from it, I'm getting "libusb couldn't open USB device /dev/bus/usb/002/003: Permission denied. libusb requires write access to USB device nodes." all the time

gphoto2 --summary:

Camera summary:
Manufacturer: Canon Inc.
Model: Canon EOS 500D
  Version: 3-1.1.0
  Serial Number: 8486ab29c68547159242370d5563101a
Vendor Extension ID: 0xb (2.0)

Capture Formats: JPEG
Display Formats: Association/Directory, Script, DPOF, MS AVI, MS Wave, JPEG, CRW, Unknown(b103), Unknown(bf02), Defined Type, Unknown(b104)
Supported MTP Object Properties:
	Association/Directory/3001: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified
	Script/3002: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified
	DPOF/3006: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified
	MS AVI/300a: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified dc87/Width dc88/Height dc89/Duration de97/ScanDepth de9b/VideoFourCCCodec de9c/VideoBitRate de9a/AudioBitRate de93/SampleRate de94/NumberOfChannels
	MS Wave/3008: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified dc89/Duration de9a/AudioBitRate de93/SampleRate de94/NumberOfChannels
	JPEG/3801: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified dc87/Width dc88/Height dcd3/ImageBitDepth
	CRW/b101: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified
	Unknown(b103)/b103: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified
	Unknown(bf02)/bf02: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified
	Defined Type/3800: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified dc87/Width dc88/Height dcd3/ImageBitDepth
	Unknown(b104)/b104: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified dc87/Width dc88/Height dc89/Duration de97/ScanDepth de9b/VideoFourCCCodec de9c/VideoBitRate de9a/AudioBitRate de93/SampleRate de94/NumberOfChannels

Device Capabilities:
	File Download, File Deletion, File Upload
	No Image Capture, No Open Capture, Canon EOS Capture

Storage Devices Summary:
store_00020001:
	StorageDescription: SD
	VolumeLabel: None
	Storage Type: Removable RAM (memory card)
	Filesystemtype: Digital Camera Layout (DCIM)
	Access Capability: Read-Write
	Maximum Capability: 8160542720 (7782 MB)
	Free Space (Bytes): 698908672 (666 MB)
	Free Space (Images): -1

Device Property Summary:
Property 0xd402:(read only) (type=0xffff) 'Canon EOS 500D'
Property 0xd407:(read only) (type=0x6) 1
Property 0xd406:(readwrite) (type=0xffff) 'Unknown Initiator'

and the debug file from gphoto

0.000030 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000086 main(2): gphoto2 2.4.10
0.000101 main(2): gphoto2 has been compiled with the following options:
0.000115 main(2):  + gcc (C compiler used)
0.000126 main(2):  + popt (mandatory, for handling command-line parameters)
0.000138 main(2):  + exif (for displaying EXIF information)
0.000150 main(2):  + no cdk (for accessing configuration options)
0.000162 main(2):  + aa (for displaying live previews)
0.000174 main(2):  + jpeg (for displaying live previews in JPEG format)
0.000185 main(2):  + readline (for easy navigation in the shell)
0.000201 main(2): libgphoto2 2.4.10.1
0.000215 main(2): libgphoto2 has been compiled with the following options:
0.000228 main(2):  + gcc (C compiler used)
0.000242 main(2):  + ltdl (for portable loading of camlibs)
0.000254 main(2):  + EXIF (for special handling of EXIF files)
0.000268 main(2): libgphoto2_port 0.8.0
0.000283 main(2): libgphoto2_port has been compiled with the following options:
0.000296 main(2):  + gcc (C compiler used)
0.000307 main(2):  + ltdl (for portable loading of camlibs)
0.000321 main(2):  + USB (libusb, for USB cameras)
0.000333 main(2):  + serial (for serial cameras)
0.000345 main(2):  + no resmgr (serial port access and locking)
0.000357 main(2):  + no baudboy (serial port locking)
0.000368 main(2):  + no ttylock (serial port locking)
0.000380 main(2):  + no lockdev (serial port locking)
0.000392 main(2): CAMLIBS env var not set, using compile-time default instead
0.000404 main(2): IOLIBS env var not set, using compile-time default instead
0.000433 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
0.000487 setting/gphoto2-setting.c(2): Loading settings from file "/home/david/.gphoto/settings"
0.000724 main(2): The user has not specified both a model and a port. Try to figure them out.
0.000749 gphoto2-port-info-list(2): Using ltdl to load io-drivers from '/usr/lib/libgphoto2_port/0.8.0'...
0.000841 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/disk'.
0.003838 gphoto2-port/disk(2): found fstab fsname tmpfs
0.003872 gphoto2-port/disk(2): found fstab fsname tmps
0.003896 gphoto2-port/disk(2): found fstab fsname UUID=5a94d96e-0fdd-425a-91c5-6fe96da349f0
0.003912 gphoto2-port/disk(2): found fstab fsname UUID=ce706691-4517-477c-a42d-417ab8ffef38
0.003931 gphoto2-port/disk(2): found fstab fsname UUID=eca58c28-a738-4567-a57e-d30d04d2fc69
0.003951 gphoto2-port/disk(2): found fstab fsname UUID=10bc0f7b-5677-4a4b-9a20-678037ca06ff
0.003972 gphoto2-port/disk(2): found fstab fsname 192.168.0.10:/Data
0.004082 gphoto2-port/disk(2): found mtab fsname rootfs
0.004103 gphoto2-port/disk(2): found mtab fsname proc
0.004125 gphoto2-port/disk(2): found mtab fsname /sys
0.004148 gphoto2-port/disk(2): found mtab fsname udev
0.004170 gphoto2-port/disk(2): found mtab fsname /run
0.004192 gphoto2-port/disk(2): found mtab fsname /dev/sda1
0.004209 gphoto2-port/disk(2): found mtab fsname devpts
0.004231 gphoto2-port/disk(2): found mtab fsname shm
0.004252 gphoto2-port/disk(2): found mtab fsname tmpfs
0.004274 gphoto2-port/disk(2): found mtab fsname tmps
0.004294 gphoto2-port/disk(2): found mtab fsname /dev/sda3
0.004313 gphoto2-port/disk(2): found mtab fsname /dev/sdc1
0.004331 gphoto2-port/disk(2): found mtab fsname rpc_pipefs
0.004356 gphoto2-port/disk(2): found mtab fsname 192.168.0.10:/Data/
0.004408 gphoto2-port-info-list(2): Could not load port driver list: 'Unspecified error'.
0.004425 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/ptpip'.
0.004540 gphoto2-port-info-list(2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib/libgphoto2_port/0.8.0/ptpip'.
0.004560 gphoto2-port-info-list(2): Loaded '' ('^ptpip') from '/usr/lib/libgphoto2_port/0.8.0/ptpip'.
0.004576 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.004778 gphoto2-port-info-list(2): Loaded 'Serial Port 0' ('serial:/dev/ttyS0') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.004797 gphoto2-port-info-list(2): Loaded 'Serial Port 1' ('serial:/dev/ttyS1') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.004819 gphoto2-port-info-list(2): Loaded 'Serial Port 2' ('serial:/dev/ttyS2') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.004835 gphoto2-port-info-list(2): Loaded 'Serial Port 3' ('serial:/dev/ttyS3') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.004850 gphoto2-port-info-list(2): Loaded '' ('^serial') from '/usr/lib/libgphoto2_port/0.8.0/serial'.
0.004865 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/usb'.
0.189309 gphoto2-port-info-list(2): Loaded '' ('^usb:') from '/usr/lib/libgphoto2_port/0.8.0/usb'.
0.189349 gphoto2-port-info-list(2): Loaded 'Universal Serial Bus' ('usb:001,005') from '/usr/lib/libgphoto2_port/0.8.0/usb'.
0.189364 gphoto2-port-info-list(2): Loaded 'Universal Serial Bus' ('usb:002,003') from '/usr/lib/libgphoto2_port/0.8.0/usb'.
0.189380 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/usbdiskdirect'.
0.189702 gphoto2-port-info-list(2): Called for filename '/usr/lib/libgphoto2_port/0.8.0/usbscsi'.
0.189845 gphoto2-port-info-list(2): Counting entries (11 available)...
0.189864 gphoto2-port-info-list(2): 7 regular entries available.
0.190025 gphoto2-abilities-list(2): Using ltdl to load camera libraries from '/usr/lib/libgphoto2/2.4.10.1'...
0.190458 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/adc65'.
0.190478 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/agfa_cl20'.
0.190491 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/aox'.
0.190505 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/ax203'.
0.190520 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/barbie'.
0.190533 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/canon'.
0.190546 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/casio_qv'.
0.190558 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/clicksmart310'.
0.190571 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/digigr8'.
0.190584 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/digita'.
0.190597 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/dimagev'.
0.190609 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/dimera3500'.
0.190622 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/directory'.
0.190634 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/enigma13'.
0.190647 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/fuji'.
0.190660 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/gsmart300'.
0.190672 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/hp215'.
0.190685 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/iclick'.
0.190698 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/jamcam'.
0.190710 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/jd11'.
0.190723 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/jl2005a'.
0.190736 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/jl2005c'.
0.190748 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/kodak_dc120'.
0.190761 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/kodak_dc210'.
0.190774 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/kodak_dc240'.
0.190786 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/kodak_dc3200'.
0.190799 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/kodak_ez200'.
0.190812 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/konica'.
0.190825 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/konica_qm150'.
0.190837 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/largan'.
0.190850 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/lg_gsm'.
0.190862 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/mars'.
0.190875 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/mustek'.
0.190888 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/panasonic_coolshot'.
0.190910 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/panasonic_dc1000'.
0.190923 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/panasonic_dc1580'.
0.190936 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/panasonic_l859'.
0.190948 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/pccam300'.
0.190961 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/pccam600'.
0.190973 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/polaroid_pdc320'.
0.190986 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/polaroid_pdc640'.
0.190999 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/polaroid_pdc700'.
0.191012 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/ptp2'.
0.191024 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/ricoh'.
0.191037 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/ricoh_g3'.
0.191050 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/samsung'.
0.191063 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/sierra'.
0.191076 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/sipix_blink2'.
0.191088 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/sipix_web2'.
0.191101 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/smal'.
0.191113 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/sonix'.
0.191126 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/sony_dscf1'.
0.191138 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/sony_dscf55'.
0.191151 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/soundvision'.
0.191164 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/spca50x'.
0.191176 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/sq905'.
0.191189 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/st2205'.
0.191202 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/stv0674'.
0.191214 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/stv0680'.
0.191227 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/sx330z'.
0.191240 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/topfield'.
0.191252 gphoto2-abilities-list(2): Found '/usr/lib/libgphoto2/2.4.10.1/toshiba_pdrm11'.
0.191269 gp-abilities-list(2): Found 62 camera drivers.
0.210941 gphoto2-port-info-list(2): Counting entries (11 available)...
0.210974 gphoto2-port-info-list(2): 7 regular entries available.
0.210984 gphoto2-port(2): Creating new device...
0.210996 gphoto2-port-info-list(2): Getting info of entry 0 (11 available)...
0.211082 gphoto2-port(2): Setting settings...
0.211095 gphoto2-port-info-list(2): Getting info of entry 1 (11 available)...
0.211176 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.211189 gphoto2-port(2): Setting settings...
0.211199 gphoto2-port-info-list(2): Getting info of entry 2 (11 available)...
0.211273 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.211286 gphoto2-port(2): Setting settings...
0.211295 gphoto2-port-info-list(2): Getting info of entry 3 (11 available)...
0.211371 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.211383 gphoto2-port(2): Setting settings...
0.211393 gphoto2-port-info-list(2): Getting info of entry 4 (11 available)...
0.211466 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.211479 gphoto2-port(2): Setting settings...
0.211488 gphoto2-port-info-list(2): Getting info of entry 5 (11 available)...
0.213264 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.213278 gphoto2-port(2): Setting settings...
0.213287 libusb(2): gp_port_usb_update(old int=0, conf=-1, alt=-1), (new int=0, conf=-1, alt=-1)
0.213296 gphoto2-abilities-list.c(1): Auto-detecting USB cameras...
0.213330 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x31cf)... found.
0.213340 gphoto2-port-usb(2): inep to look for is 81
0.213348 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
0.213365 gphoto2-abilities-list.c(2): Found 'Canon EOS 500D' (0x4a9,0x31cf)
0.213376 gphoto2-port-info-list(2): Getting info of entry 6 (11 available)...
0.215043 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.215056 gphoto2-port(2): Setting settings...
0.215065 libusb(2): gp_port_usb_update(old int=0, conf=-1, alt=-1), (new int=0, conf=-1, alt=-1)
0.215075 gphoto2-abilities-list.c(1): Auto-detecting USB cameras...
0.215353 gphoto2-port(2): Freeing port...
0.215365 gphoto2-port(2): Closing port...
0.215411 gphoto2-camera(2): Setting abilities ('Canon EOS 500D')...
0.215424 gphoto2-setting(2): Setting key 'model' to value 'Canon EOS 500D' (gphoto2)
0.215435 gphoto2-setting(2): Saving 4 setting(s) to file "/home/david/.gphoto/settings"
0.215589 gphoto2-port-info-list(2): Looking for path 'usb:001,005' (11 entries available)...
0.215603 gphoto2-port-info-list(2): Getting info of entry 5 (11 available)...
0.215613 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at 'usb:001,005'...
0.217304 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.217318 gphoto2-port(2): Setting settings...
0.217327 libusb(2): gp_port_usb_update(old int=0, conf=-1, alt=-1), (new int=0, conf=-1, alt=-1)
0.217336 gphoto2-setting(2): Setting key 'port' to value 'usb:001,005' (gphoto2)
0.217345 gphoto2-setting(2): Saving 4 setting(s) to file "/home/david/.gphoto/settings"
0.217489 gphoto2-camera(2): Initializing camera...
0.217506 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x31cf)... found.
0.217518 gphoto2-port-usb(2): inep to look for is 81
0.217526 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
0.217535 gphoto2-camera(2): Loading '/usr/lib/libgphoto2/2.4.10.1/ptp2'...
0.217732 gphoto2-port(2): Opening USB port...
0.217744 libusb(2): gp_port_usb_open()
0.217771 libusb(2): claiming interface 0
0.217793 ptp2(2): maxpacketsize 512
0.218546 gphoto2-port(2): Setting timeout to 1500 millisecond(s)...
0.218560 ptp(2): PTP: Opening session
0.218572 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.218583 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.218678 ptp2/ptp_usb_getresp(2): reading response
0.218690 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.218700 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.220052 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.220069 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-00 00 00 00              ....... ....    

0.220081 gphoto2-port(2): Setting timeout to 20000 millisecond(s)...
0.220092 gphoto2-port(2): Writing 12=0xc byte(s) to port...
0.220102 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 01 00 01 10-01 00 00 00              ............    

0.220169 ptp2/ptp_usb_getdata(2): reading data
0.220179 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.220188 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.222673 gphoto2-port(2): Could only read 383 out of 512 byte(s)
0.222689 gphoto2-port(3): Hexdump of 383 = 0x17f bytes follows:
0000  7f 01 00 00 02 00 01 10-01 00 00 00 64 00 06 00  ............d...
0010  00 00 c8 00 00 00 00 4f-00 00 00 14 10 15 10 16  .......O........
0020  10 01 10 02 10 03 10 06-10 04 10 01 91 05 10 02  ................
0030  91 07 10 08 10 03 91 09-10 04 91 0a 10 1b 10 07  ................
0040  91 0c 10 0d 10 0b 10 05-91 0f 10 06 91 10 91 27  ...............'
0050  91 0b 91 08 91 09 91 0c-91 0e 91 0f 91 25 91 26  .............%.&
0060  91 15 91 14 91 13 91 16-91 17 91 20 91 f0 91 18  ........... ....
0070  91 21 91 f1 91 1d 91 0a-91 1b 91 1c 91 1e 91 1a  .!..............
0080  91 53 91 54 91 60 91 55-91 57 91 58 91 59 91 5a  .S.T.`.U.W.X.Y.Z
0090  91 1f 91 fe 91 ff 91 28-91 29 91 2d 91 2e 91 2f  .......(.).-.../
00a0  91 01 98 02 98 03 98 04-98 05 98 52 90 53 90 57  ...........R.S.W
00b0  90 58 90 59 90 5a 90 5f-90 07 00 00 00 09 40 04  .X.Y.Z._......@.
00c0  40 05 40 03 40 02 40 07-40 01 c1 03 00 00 00 02  @.@.@.@.@.......
00d0  d4 07 d4 06 d4 01 00 00-00 01 38 0b 00 00 00 01  ..........8.....
00e0  30 02 30 06 30 0a 30 08-30 01 38 01 b1 03 b1 02  0.0.0.0.0.8.....
00f0  bf 00 38 04 b1 0b 43 00-61 00 6e 00 6f 00 6e 00  ..8...C.a.n.o.n.
0100  20 00 49 00 6e 00 63 00-2e 00 00 00 0f 43 00 61   .I.n.c......C.a
0110  00 6e 00 6f 00 6e 00 20-00 45 00 4f 00 53 00 20  .n.o.n. .E.O.S. 
0120  00 35 00 30 00 30 00 44-00 00 00 08 33 00 2d 00  .5.0.0.D....3.-.
0130  31 00 2e 00 31 00 2e 00-30 00 00 00 21 38 00 34  1...1...0...!8.4
0140  00 38 00 36 00 61 00 62-00 32 00 39 00 63 00 36  .8.6.a.b.2.9.c.6
0150  00 38 00 35 00 34 00 37-00 31 00 35 00 39 00 32  .8.5.4.7.1.5.9.2
0160  00 34 00 32 00 33 00 37-00 30 00 64 00 35 00 35  .4.2.3.7.0.d.5.5
0170  00 36 00 33 00 31 00 30-00 31 00 61 00 00 00     .6.3.1.0.1.a... 

0.222715 ptp2/ptp_usb_getresp(2): reading response
0.222724 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.222732 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.223419 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.223431 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-01 00 00 00              ....... ....    

0.223452 PTP2/ptp2/library.c(2): Device info:
0.223461 PTP2/ptp2/library.c(2): Manufacturer: Canon Inc.
0.223469 PTP2/ptp2/library.c(2):   Model: Canon EOS 500D
0.223477 PTP2/ptp2/library.c(2):   device version: 3-1.1.0
0.223485 PTP2/ptp2/library.c(2):   serial number: '8486ab29c68547159242370d5563101a'
0.223494 PTP2/ptp2/library.c(2): Vendor extension ID: 0x0000000b
0.223502 PTP2/ptp2/library.c(2): Vendor extension version: 200
0.223510 PTP2/ptp2/library.c(2): Vendor extension description: (null)
0.223520 PTP2/ptp2/library.c(2): Functional Mode: 0x0000
0.223528 PTP2/ptp2/library.c(2): PTP Standard Version: 100
0.223536 PTP2/ptp2/library.c(2): Supported operations:
0.223544 PTP2/ptp2/library.c(2):   0x1014
0.223552 PTP2/ptp2/library.c(2):   0x1015
0.223560 PTP2/ptp2/library.c(2):   0x1016
0.223568 PTP2/ptp2/library.c(2):   0x1001
0.223576 PTP2/ptp2/library.c(2):   0x1002
0.223584 PTP2/ptp2/library.c(2):   0x1003
0.223592 PTP2/ptp2/library.c(2):   0x1006
0.223600 PTP2/ptp2/library.c(2):   0x1004
0.223608 PTP2/ptp2/library.c(2):   0x9101
0.223617 PTP2/ptp2/library.c(2):   0x1005
0.223625 PTP2/ptp2/library.c(2):   0x9102
0.223633 PTP2/ptp2/library.c(2):   0x1007
0.223641 PTP2/ptp2/library.c(2):   0x1008
0.223649 PTP2/ptp2/library.c(2):   0x9103
0.223657 PTP2/ptp2/library.c(2):   0x1009
0.223665 PTP2/ptp2/library.c(2):   0x9104
0.223673 PTP2/ptp2/library.c(2):   0x100a
0.223681 PTP2/ptp2/library.c(2):   0x101b
0.223689 PTP2/ptp2/library.c(2):   0x9107
0.223697 PTP2/ptp2/library.c(2):   0x100c
0.223705 PTP2/ptp2/library.c(2):   0x100d
0.223713 PTP2/ptp2/library.c(2):   0x100b
0.223721 PTP2/ptp2/library.c(2):   0x9105
0.223729 PTP2/ptp2/library.c(2):   0x100f
0.223737 PTP2/ptp2/library.c(2):   0x9106
0.223745 PTP2/ptp2/library.c(2):   0x9110
0.223753 PTP2/ptp2/library.c(2):   0x9127
0.223761 PTP2/ptp2/library.c(2):   0x910b
0.223769 PTP2/ptp2/library.c(2):   0x9108
0.223777 PTP2/ptp2/library.c(2):   0x9109
0.223785 PTP2/ptp2/library.c(2):   0x910c
0.223793 PTP2/ptp2/library.c(2):   0x910e
0.223801 PTP2/ptp2/library.c(2):   0x910f
0.223809 PTP2/ptp2/library.c(2):   0x9125
0.223817 PTP2/ptp2/library.c(2):   0x9126
0.223825 PTP2/ptp2/library.c(2):   0x9115
0.223834 PTP2/ptp2/library.c(2):   0x9114
0.223841 PTP2/ptp2/library.c(2):   0x9113
0.223849 PTP2/ptp2/library.c(2):   0x9116
0.223857 PTP2/ptp2/library.c(2):   0x9117
0.223865 PTP2/ptp2/library.c(2):   0x9120
0.223874 PTP2/ptp2/library.c(2):   0x91f0
0.223882 PTP2/ptp2/library.c(2):   0x9118
0.223890 PTP2/ptp2/library.c(2):   0x9121
0.223898 PTP2/ptp2/library.c(2):   0x91f1
0.223906 PTP2/ptp2/library.c(2):   0x911d
0.223914 PTP2/ptp2/library.c(2):   0x910a
0.223922 PTP2/ptp2/library.c(2):   0x911b
0.223930 PTP2/ptp2/library.c(2):   0x911c
0.223938 PTP2/ptp2/library.c(2):   0x911e
0.223945 PTP2/ptp2/library.c(2):   0x911a
0.223959 PTP2/ptp2/library.c(2):   0x9153
0.223967 PTP2/ptp2/library.c(2):   0x9154
0.223975 PTP2/ptp2/library.c(2):   0x9160
0.223983 PTP2/ptp2/library.c(2):   0x9155
0.223991 PTP2/ptp2/library.c(2):   0x9157
0.223999 PTP2/ptp2/library.c(2):   0x9158
0.224007 PTP2/ptp2/library.c(2):   0x9159
0.224015 PTP2/ptp2/library.c(2):   0x915a
0.224023 PTP2/ptp2/library.c(2):   0x911f
0.224031 PTP2/ptp2/library.c(2):   0x91fe
0.224039 PTP2/ptp2/library.c(2):   0x91ff
0.224046 PTP2/ptp2/library.c(2):   0x9128
0.224054 PTP2/ptp2/library.c(2):   0x9129
0.224062 PTP2/ptp2/library.c(2):   0x912d
0.224070 PTP2/ptp2/library.c(2):   0x912e
0.224078 PTP2/ptp2/library.c(2):   0x912f
0.224086 PTP2/ptp2/library.c(2):   0x9801
0.224094 PTP2/ptp2/library.c(2):   0x9802
0.224102 PTP2/ptp2/library.c(2):   0x9803
0.224110 PTP2/ptp2/library.c(2):   0x9804
0.224117 PTP2/ptp2/library.c(2):   0x9805
0.224125 PTP2/ptp2/library.c(2):   0x9052
0.224133 PTP2/ptp2/library.c(2):   0x9053
0.224141 PTP2/ptp2/library.c(2):   0x9057
0.224149 PTP2/ptp2/library.c(2):   0x9058
0.224157 PTP2/ptp2/library.c(2):   0x9059
0.224165 PTP2/ptp2/library.c(2):   0x905a
0.224173 PTP2/ptp2/library.c(2):   0x905f
0.224180 PTP2/ptp2/library.c(2): Events Supported:
0.224188 PTP2/ptp2/library.c(2):   0x4009
0.224196 PTP2/ptp2/library.c(2):   0x4004
0.224204 PTP2/ptp2/library.c(2):   0x4005
0.224212 PTP2/ptp2/library.c(2):   0x4003
0.224220 PTP2/ptp2/library.c(2):   0x4002
0.224228 PTP2/ptp2/library.c(2):   0x4007
0.224235 PTP2/ptp2/library.c(2):   0xc101
0.224243 PTP2/ptp2/library.c(2): Device Properties Supported:
0.224251 PTP2/ptp2/library.c(2):   0xd402
0.224259 PTP2/ptp2/library.c(2):   0xd407
0.224267 PTP2/ptp2/library.c(2):   0xd406
0.224329 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.224340 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000  10 00 00 00 01 00 01 98-02 00 00 00 01 30 00 00  .............0..

0.224419 ptp2/ptp_usb_getdata(2): reading data
0.224429 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.224439 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.226419 gphoto2-port(2): Could only read 36 out of 512 byte(s)
0.226433 gphoto2-port(3): Hexdump of 36 = 0x24 bytes follows:
0000  24 00 00 00 02 00 01 98-02 00 00 00 0a 00 00 00  $...............
0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
0020  08 dc 09 dc            -                         ....            

0.226443 ptp2/ptp_usb_getresp(2): reading response
0.226452 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.226461 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.226669 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.226681 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-02 00 00 00              ....... ....    

0.226699 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.226710 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000  10 00 00 00 01 00 01 98-03 00 00 00 02 30 00 00  .............0..

0.227041 ptp2/ptp_usb_getdata(2): reading data
0.227051 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.227060 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.228175 gphoto2-port(2): Could only read 36 out of 512 byte(s)
0.228193 gphoto2-port(3): Hexdump of 36 = 0x24 bytes follows:
0000  24 00 00 00 02 00 01 98-03 00 00 00 0a 00 00 00  $...............
0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
0020  08 dc 09 dc            -                         ....            

0.228209 ptp2/ptp_usb_getresp(2): reading response
0.228221 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.228235 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.228553 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.228574 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-03 00 00 00              ....... ....    

0.228599 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.228614 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000  10 00 00 00 01 00 01 98-04 00 00 00 06 30 00 00  .............0..

0.228923 ptp2/ptp_usb_getdata(2): reading data
0.228943 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.228957 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.230051 gphoto2-port(2): Could only read 36 out of 512 byte(s)
0.230070 gphoto2-port(3): Hexdump of 36 = 0x24 bytes follows:
0000  24 00 00 00 02 00 01 98-04 00 00 00 0a 00 00 00  $...............
0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
0020  08 dc 09 dc            -                         ....            

0.230086 ptp2/ptp_usb_getresp(2): reading response
0.230099 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.230112 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.230426 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.230443 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-04 00 00 00              ....... ....    

0.230467 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.230483 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000  10 00 00 00 01 00 01 98-05 00 00 00 0a 30 00 00  .............0..

0.230673 ptp2/ptp_usb_getdata(2): reading data
0.230688 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.230702 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.231800 gphoto2-port(2): Could only read 54 out of 512 byte(s)
0.231818 gphoto2-port(3): Hexdump of 54 = 0x36 bytes follows:
0000  36 00 00 00 02 00 01 98-05 00 00 00 13 00 00 00  6...............
0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
0020  08 dc 09 dc 87 dc 88 dc-89 dc 97 de 9b de 9c de  ................
0030  9a de 93 de 94 de      -                         ......          

0.231833 ptp2/ptp_usb_getresp(2): reading response
0.231846 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.231859 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.232175 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.232192 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-05 00 00 00              ....... ....    

0.232220 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.232236 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000  10 00 00 00 01 00 01 98-06 00 00 00 08 30 00 00  .............0..

0.232547 ptp2/ptp_usb_getdata(2): reading data
0.232563 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.232578 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.233674 gphoto2-port(2): Could only read 44 out of 512 byte(s)
0.233697 gphoto2-port(3): Hexdump of 44 = 0x2c bytes follows:
0000  2c 00 00 00 02 00 01 98-06 00 00 00 0e 00 00 00  ,...............
0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
0020  08 dc 09 dc 89 dc 9a de-93 de 94 de              ............    

0.233713 ptp2/ptp_usb_getresp(2): reading response
0.233725 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.233739 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.234052 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.234071 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-06 00 00 00              ....... ....    

0.234097 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.234112 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000  10 00 00 00 01 00 01 98-07 00 00 00 01 38 00 00  .............8..

0.234298 ptp2/ptp_usb_getdata(2): reading data
0.234313 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.234327 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.235425 gphoto2-port(2): Could only read 42 out of 512 byte(s)
0.235443 gphoto2-port(3): Hexdump of 42 = 0x2a bytes follows:
0000  2a 00 00 00 02 00 01 98-07 00 00 00 0d 00 00 00  *...............
0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
0020  08 dc 09 dc 87 dc 88 dc-d3 dc                    ..........      

0.235458 ptp2/ptp_usb_getresp(2): reading response
0.235471 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.235484 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.235800 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.235817 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-07 00 00 00              ....... ....    

0.235848 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.235900 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000  10 00 00 00 01 00 01 98-08 00 00 00 01 b1 00 00  ................

0.236047 ptp2/ptp_usb_getdata(2): reading data
0.236062 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.236076 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.237175 gphoto2-port(2): Could only read 36 out of 512 byte(s)
0.237193 gphoto2-port(3): Hexdump of 36 = 0x24 bytes follows:
0000  24 00 00 00 02 00 01 98-08 00 00 00 0a 00 00 00  $...............
0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
0020  08 dc 09 dc            -                         ....            

0.237209 ptp2/ptp_usb_getresp(2): reading response
0.237222 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.237235 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.237550 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.237567 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-08 00 00 00              ....... ....    

0.237591 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.237606 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000  10 00 00 00 01 00 01 98-09 00 00 00 03 b1 00 00  ................

0.237923 ptp2/ptp_usb_getdata(2): reading data
0.237938 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.237952 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.239050 gphoto2-port(2): Could only read 36 out of 512 byte(s)
0.239067 gphoto2-port(3): Hexdump of 36 = 0x24 bytes follows:
0000  24 00 00 00 02 00 01 98-09 00 00 00 0a 00 00 00  $...............
0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
0020  08 dc 09 dc            -                         ....            

0.239083 ptp2/ptp_usb_getresp(2): reading response
0.239095 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.239109 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.239427 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.239446 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-09 00 00 00              ....... ....    

0.239470 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.239485 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000  10 00 00 00 01 00 01 98-0a 00 00 00 02 bf 00 00  ................

0.239673 ptp2/ptp_usb_getdata(2): reading data
0.239688 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.239702 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.240802 gphoto2-port(2): Could only read 36 out of 512 byte(s)
0.240820 gphoto2-port(3): Hexdump of 36 = 0x24 bytes follows:
0000  24 00 00 00 02 00 01 98-0a 00 00 00 0a 00 00 00  $...............
0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
0020  08 dc 09 dc            -                         ....            

0.240835 ptp2/ptp_usb_getresp(2): reading response
0.240848 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.240861 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.241174 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.241192 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-0a 00 00 00              ....... ....    

0.241215 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.241230 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000  10 00 00 00 01 00 01 98-0b 00 00 00 00 38 00 00  .............8..

0.241548 ptp2/ptp_usb_getdata(2): reading data
0.241563 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.241577 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.242675 gphoto2-port(2): Could only read 42 out of 512 byte(s)
0.242694 gphoto2-port(3): Hexdump of 42 = 0x2a bytes follows:
0000  2a 00 00 00 02 00 01 98-0b 00 00 00 0d 00 00 00  *...............
0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
0020  08 dc 09 dc 87 dc 88 dc-d3 dc                    ..........      

0.242710 ptp2/ptp_usb_getresp(2): reading response
0.242729 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.242743 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.243051 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.243069 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-0b 00 00 00              ....... ....    

0.243093 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.243108 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000  10 00 00 00 01 00 01 98-0c 00 00 00 04 b1 00 00  ................

0.243298 ptp2/ptp_usb_getdata(2): reading data
0.243313 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.243327 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.244426 gphoto2-port(2): Could only read 54 out of 512 byte(s)
0.244447 gphoto2-port(3): Hexdump of 54 = 0x36 bytes follows:
0000  36 00 00 00 02 00 01 98-0c 00 00 00 13 00 00 00  6...............
0010  01 dc 02 dc 03 dc 04 dc-07 dc 0b dc 41 dc 44 dc  ............A.D.
0020  08 dc 09 dc 87 dc 88 dc-89 dc 97 de 9b de 9c de  ................
0030  9a de 93 de 94 de      -                         ......          

0.244463 ptp2/ptp_usb_getresp(2): reading response
0.244475 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.244489 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.244801 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.244820 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-0c 00 00 00              ....... ....    

0.244858 gphoto2-port(2): Writing 12=0xc byte(s) to port...
0.244874 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 01 00 04 10-0d 00 00 00              ............    

0.245047 ptp2/ptp_usb_getdata(2): reading data
0.245062 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.245076 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.246174 gphoto2-port(2): Could only read 20 out of 512 byte(s)
0.246193 gphoto2-port(3): Hexdump of 20 = 0x14 bytes follows:
0000  14 00 00 00 02 00 04 10-0d 00 00 00 01 00 00 00  ................
0010  01 00 02 00            -                         ....            

0.246208 ptp2/ptp_usb_getresp(2): reading response
0.246220 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.246233 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.246924 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.246942 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-0d 00 00 00              ....... ....    

0.246962 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.246977 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000  10 00 00 00 01 00 05 10-0e 00 00 00 01 00 02 00  ................

0.247048 ptp2/ptp_usb_getdata(2): reading data
0.247063 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.247077 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.248424 gphoto2-port(2): Could only read 48 out of 512 byte(s)
0.248442 gphoto2-port(3): Hexdump of 48 = 0x30 bytes follows:
0000  30 00 00 00 02 00 05 10-0e 00 00 00 04 00 03 00  0...............
0010  00 00 00 00 68 e6 01 00-00 00 00 80 a8 29 00 00  ....h........)..
0020  00 00 ff ff ff ff 03 53-00 44 00 00 00 00 00 00  .......S.D......

0.248457 ptp2/ptp_usb_getresp(2): reading response
0.248470 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.248483 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.249178 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.249204 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-0e 00 00 00              ....... ....    

0.249241 gphoto2-port(2): Writing 12=0xc byte(s) to port...
0.249257 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 01 00 01 10-0f 00 00 00              ............    

0.249424 ptp2/ptp_usb_getdata(2): reading data
0.249439 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.249454 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.251051 gphoto2-port(2): Could only read 383 out of 512 byte(s)
0.251075 gphoto2-port(3): Hexdump of 383 = 0x17f bytes follows:
0000  7f 01 00 00 02 00 01 10-0f 00 00 00 64 00 06 00  ............d...
0010  00 00 c8 00 00 00 00 4f-00 00 00 14 10 15 10 16  .......O........
0020  10 01 10 02 10 03 10 06-10 04 10 01 91 05 10 02  ................
0030  91 07 10 08 10 03 91 09-10 04 91 0a 10 1b 10 07  ................
0040  91 0c 10 0d 10 0b 10 05-91 0f 10 06 91 10 91 27  ...............'
0050  91 0b 91 08 91 09 91 0c-91 0e 91 0f 91 25 91 26  .............%.&
0060  91 15 91 14 91 13 91 16-91 17 91 20 91 f0 91 18  ........... ....
0070  91 21 91 f1 91 1d 91 0a-91 1b 91 1c 91 1e 91 1a  .!..............
0080  91 53 91 54 91 60 91 55-91 57 91 58 91 59 91 5a  .S.T.`.U.W.X.Y.Z
0090  91 1f 91 fe 91 ff 91 28-91 29 91 2d 91 2e 91 2f  .......(.).-.../
00a0  91 01 98 02 98 03 98 04-98 05 98 52 90 53 90 57  ...........R.S.W
00b0  90 58 90 59 90 5a 90 5f-90 07 00 00 00 09 40 04  .X.Y.Z._......@.
00c0  40 05 40 03 40 02 40 07-40 01 c1 03 00 00 00 02  @.@.@.@.@.......
00d0  d4 07 d4 06 d4 01 00 00-00 01 38 0b 00 00 00 01  ..........8.....
00e0  30 02 30 06 30 0a 30 08-30 01 38 01 b1 03 b1 02  0.0.0.0.0.8.....
00f0  bf 00 38 04 b1 0b 43 00-61 00 6e 00 6f 00 6e 00  ..8...C.a.n.o.n.
0100  20 00 49 00 6e 00 63 00-2e 00 00 00 0f 43 00 61   .I.n.c......C.a
0110  00 6e 00 6f 00 6e 00 20-00 45 00 4f 00 53 00 20  .n.o.n. .E.O.S. 
0120  00 35 00 30 00 30 00 44-00 00 00 08 33 00 2d 00  .5.0.0.D....3.-.
0130  31 00 2e 00 31 00 2e 00-30 00 00 00 21 38 00 34  1...1...0...!8.4
0140  00 38 00 36 00 61 00 62-00 32 00 39 00 63 00 36  .8.6.a.b.2.9.c.6
0150  00 38 00 35 00 34 00 37-00 31 00 35 00 39 00 32  .8.5.4.7.1.5.9.2
0160  00 34 00 32 00 33 00 37-00 30 00 64 00 35 00 35  .4.2.3.7.0.d.5.5
0170  00 36 00 33 00 31 00 30-00 31 00 61 00 00 00     .6.3.1.0.1.a... 

0.251101 ptp2/ptp_usb_getresp(2): reading response
0.251113 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.251127 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.251801 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.251819 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-0f 00 00 00              ....... ....    

0.251843 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.251859 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000  10 00 00 00 01 00 14 10-10 00 00 00 02 d4 00 00  ................

0.251923 ptp2/ptp_usb_getdata(2): reading data
0.251938 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.251952 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.253300 gphoto2-port(2): Could only read 80 out of 512 byte(s)
0.253320 gphoto2-port(3): Hexdump of 80 = 0x50 bytes follows:
0000  50 00 00 00 02 00 14 10-10 00 00 00 02 d4 ff ff  P...............
0010  00 0f 43 00 61 00 6e 00-6f 00 6e 00 20 00 45 00  ..C.a.n.o.n. .E.
0020  4f 00 53 00 20 00 35 00-30 00 30 00 44 00 00 00  O.S. .5.0.0.D...
0030  0f 43 00 61 00 6e 00 6f-00 6e 00 20 00 45 00 4f  .C.a.n.o.n. .E.O
0040  00 53 00 20 00 35 00 30-00 30 00 44 00 00 00 00  .S. .5.0.0.D....

0.253336 ptp2/ptp_usb_getresp(2): reading response
0.253348 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.253362 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.254051 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.254069 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-10 00 00 00              ....... ....    

0.254106 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.254122 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000  10 00 00 00 01 00 14 10-11 00 00 00 07 d4 00 00  ................

0.254174 ptp2/ptp_usb_getdata(2): reading data
0.254188 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.254203 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.255551 gphoto2-port(2): Could only read 26 out of 512 byte(s)
0.255571 gphoto2-port(3): Hexdump of 26 = 0x1a bytes follows:
0000  1a 00 00 00 02 00 14 10-11 00 00 00 07 d4 06 00  ................
0010  00 01 00 00 00 01 00 00-00 00                    ..........      

0.255586 ptp2/ptp_usb_getresp(2): reading response
0.255599 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.255612 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.256304 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.256326 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-11 00 00 00              ....... ....    

0.256357 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.256372 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000  10 00 00 00 01 00 14 10-12 00 00 00 06 d4 00 00  ................

0.256421 ptp2/ptp_usb_getdata(2): reading data
0.256436 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.256450 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.257925 gphoto2-port(2): Could only read 92 out of 512 byte(s)
0.257944 gphoto2-port(3): Hexdump of 92 = 0x5c bytes follows:
0000  5c 00 00 00 02 00 14 10-12 00 00 00 06 d4 ff ff  \...............
0010  01 12 55 00 6e 00 6b 00-6e 00 6f 00 77 00 6e 00  ..U.n.k.n.o.w.n.
0020  20 00 49 00 6e 00 69 00-74 00 69 00 61 00 74 00   .I.n.i.t.i.a.t.
0030  6f 00 72 00 00 00 12 55-00 6e 00 6b 00 6e 00 6f  o.r....U.n.k.n.o
0040  00 77 00 6e 00 20 00 49-00 6e 00 69 00 74 00 69  .w.n. .I.n.i.t.i
0050  00 61 00 74 00 6f 00 72-00 00 00 00              .a.t.o.r....    

0.257961 ptp2/ptp_usb_getresp(2): reading response
0.257974 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.257988 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.258674 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.258691 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-12 00 00 00              ....... ....    

0.259716 gp-camera(2): Freeing camera...
0.259735 gphoto2-camera(2): Exiting camera ('Canon EOS 500D')...
0.259758 gphoto2-port(2): Writing 12=0xc byte(s) to port...
0.259774 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 01 00 03 10-13 00 00 00              ............    

0.259926 ptp2/ptp_usb_getresp(2): reading response
0.259944 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.259959 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.261177 gphoto2-port(2): Could only read 12 out of 512 byte(s)
0.261195 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  0c 00 00 00 03 00 01 20-13 00 00 00              ....... ....    

0.261213 gphoto2-port(2): Clear halt...
0.261301 gphoto2-port(2): Clear halt...
0.261425 gphoto2-port(2): Clear halt...
0.261548 gphoto2-port(2): Closing port...
0.261631 gphoto2-filesystem(2): resetting filesystem
0.261647 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
0.261658 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
0.261670 gphoto2-filesystem(2): Internally deleting all folders from '/'...
0.261683 gphoto2-filesystem(2): Lookup folder '/'...
0.261695 gphoto2-filesystem(2): Found! / is 0xe263e0
0.261710 gphoto2-filesystem(2): Recurse delete folder 0xe263e0//
0.261726 gphoto2-port(2): Freeing port...
0.261741 gphoto2-port(2): Closing port...
0.261798 gphoto2-filesystem(2): resetting filesystem
0.261813 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
0.261825 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
0.261836 gphoto2-filesystem(2): Internally deleting all folders from '/'...
0.261848 gphoto2-filesystem(2): Lookup folder '/'...
0.261860 gphoto2-filesystem(2): Found! / is 0xe263e0
0.261872 gphoto2-filesystem(2): Recurse delete folder 0xe263e0//

lsusb | grep Canon

Bus 001 Device 005: ID 04a9:31cf Canon, Inc. 

ls -lR of /dev/bus/usb/001

total 0
drwxr-xr-x   2 root root       80 Dec 25 12:54 .
drwxr-xr-x  10 root root      200 Dec 25 12:19 ..
crw-rw-r--   1 root root   189, 0 Dec 25 12:19 001
crw-rw----+  1 root camera 189, 4 Dec 25 13:13 005
[root@dreki 001]# ls -lR
.:
total 0
crw-rw-r--  1 root root   189, 0 Dec 25 12:19 001
crw-rw----+ 1 root camera 189, 4 Dec 25 13:13 005


I am member of group "camera"

Offline

#2 2011-12-25 14:45:08

karol
Archivist
Registered: 2009-05-06
Posts: 25,432

Re: "Permission denied" while accessing Canon 550D with libgphoto2

Have you tried 'sudo gphoto2 --get-all-files' as a user or were you doing this as root?

The errors mentions /dev/bus/usb/002/003 and your camera seems to be /dev/bus/usb/001/005. If I'm on the right track, check what device is this /dev/bus/usb/002/003.

Last edited by karol (2011-12-25 14:48:40)

Offline

Board footer

Powered by FluxBB