Alessandro DE LAURENZIS
2015-08-27 05:49:34 UTC
Dear misc@ readers,
I have an old Canon camera (model "Digital IXUS 40"); it was perfectly
working in 5.7 through gphoto2 in PTP mode.
It doesn't work anymore in -current (5.8 GENERIC.MP#1267 amd64).
gphoto2 (well, I use gtkam actually) correctly detects it, but the
connection cannot be established. This is an excerpt of the debug
messages:
[....................snip....................]
ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
gtkam 0.2.0
gtkam has been compiled with the following options:
+ cc (C compiler used)
+ no bonobo (for FIXME)
+ no gnome (for FIXME)
+ no gimp (plugin for The Gimp)
+ exif (for displaying exif information)
libgphoto2 2.5.8
libgphoto2 has been compiled with the following options:
+ all camlibs
+ cc (C compiler used)
+ ltdl (for portable loading of camlibs)
+ EXIF (for special handling of EXIF files)
libgphoto2_port 0.12.0
libgphoto2_port has been compiled with the following options:
+ cc (C compiler used)
+ ltdl (for portable loading of camlibs)
+ USB (libusb1, for USB cameras)
+ no serial (for serial cameras)
+ no resmgr (serial port access and locking)
+ no ttylock (serial port locking)
+ no lockdev (serial port locking)
Using ltdl to load camera libraries from '/usr/local/lib/libgphoto2/2.5.8'...
Found '/usr/local/lib/libgphoto2/2.5.8/adc65'.
Found '/usr/local/lib/libgphoto2/2.5.8/agfa_cl20'.
Found '/usr/local/lib/libgphoto2/2.5.8/aox'.
Found '/usr/local/lib/libgphoto2/2.5.8/ax203'.
Found '/usr/local/lib/libgphoto2/2.5.8/barbie'.
Found '/usr/local/lib/libgphoto2/2.5.8/canon'.
Found '/usr/local/lib/libgphoto2/2.5.8/casio_qv'.
Found '/usr/local/lib/libgphoto2/2.5.8/clicksmart310'.
Found '/usr/local/lib/libgphoto2/2.5.8/digigr8'.
Found '/usr/local/lib/libgphoto2/2.5.8/digita'.
Found '/usr/local/lib/libgphoto2/2.5.8/dimagev'.
Found '/usr/local/lib/libgphoto2/2.5.8/dimera3500'.
Found '/usr/local/lib/libgphoto2/2.5.8/directory'.
Found '/usr/local/lib/libgphoto2/2.5.8/enigma13'.
Found '/usr/local/lib/libgphoto2/2.5.8/fuji'.
Found '/usr/local/lib/libgphoto2/2.5.8/gsmart300'.
Found '/usr/local/lib/libgphoto2/2.5.8/hp215'.
Found '/usr/local/lib/libgphoto2/2.5.8/iclick'.
Found '/usr/local/lib/libgphoto2/2.5.8/jamcam'.
Found '/usr/local/lib/libgphoto2/2.5.8/jd11'.
Found '/usr/local/lib/libgphoto2/2.5.8/jl2005a'.
Found '/usr/local/lib/libgphoto2/2.5.8/jl2005c'.
Found '/usr/local/lib/libgphoto2/2.5.8/kodak_dc120'.
Found '/usr/local/lib/libgphoto2/2.5.8/kodak_dc210'.
Found '/usr/local/lib/libgphoto2/2.5.8/kodak_dc240'.
Found '/usr/local/lib/libgphoto2/2.5.8/kodak_dc3200'.
Found '/usr/local/lib/libgphoto2/2.5.8/kodak_ez200'.
Found '/usr/local/lib/libgphoto2/2.5.8/konica'.
Found '/usr/local/lib/libgphoto2/2.5.8/konica_qm150'.
Found '/usr/local/lib/libgphoto2/2.5.8/largan'.
Found '/usr/local/lib/libgphoto2/2.5.8/lg_gsm'.
Found '/usr/local/lib/libgphoto2/2.5.8/mars'.
Found '/usr/local/lib/libgphoto2/2.5.8/mustek'.
Found '/usr/local/lib/libgphoto2/2.5.8/panasonic_coolshot'.
Found '/usr/local/lib/libgphoto2/2.5.8/panasonic_dc1000'.
Found '/usr/local/lib/libgphoto2/2.5.8/panasonic_dc1580'.
Found '/usr/local/lib/libgphoto2/2.5.8/panasonic_l859'.
Found '/usr/local/lib/libgphoto2/2.5.8/pccam300'.
Found '/usr/local/lib/libgphoto2/2.5.8/pccam600'.
Found '/usr/local/lib/libgphoto2/2.5.8/pentax'.
Found '/usr/local/lib/libgphoto2/2.5.8/polaroid_pdc320'.
Found '/usr/local/lib/libgphoto2/2.5.8/polaroid_pdc640'.
Found '/usr/local/lib/libgphoto2/2.5.8/polaroid_pdc700'.
Found '/usr/local/lib/libgphoto2/2.5.8/ptp2'.
Found '/usr/local/lib/libgphoto2/2.5.8/ricoh'.
Found '/usr/local/lib/libgphoto2/2.5.8/ricoh_g3'.
Found '/usr/local/lib/libgphoto2/2.5.8/samsung'.
Found '/usr/local/lib/libgphoto2/2.5.8/sierra'.
Found '/usr/local/lib/libgphoto2/2.5.8/sipix_blink2'.
Found '/usr/local/lib/libgphoto2/2.5.8/sipix_web2'.
Found '/usr/local/lib/libgphoto2/2.5.8/smal'.
Found '/usr/local/lib/libgphoto2/2.5.8/sonix'.
Found '/usr/local/lib/libgphoto2/2.5.8/sony_dscf1'.
Found '/usr/local/lib/libgphoto2/2.5.8/sony_dscf55'.
Found '/usr/local/lib/libgphoto2/2.5.8/soundvision'.
Found '/usr/local/lib/libgphoto2/2.5.8/spca50x'.
Found '/usr/local/lib/libgphoto2/2.5.8/sq905'.
Found '/usr/local/lib/libgphoto2/2.5.8/st2205'.
Found '/usr/local/lib/libgphoto2/2.5.8/stv0674'.
Found '/usr/local/lib/libgphoto2/2.5.8/stv0680'.
Found '/usr/local/lib/libgphoto2/2.5.8/sx330z'.
Found '/usr/local/lib/libgphoto2/2.5.8/topfield'.
Found '/usr/local/lib/libgphoto2/2.5.8/toshiba_pdrm11'.
Found '/usr/local/lib/libgphoto2/2.5.8/tp6801'.
Found 64 camera drivers.
Using ltdl to load io-drivers from '/usr/local/lib/libgphoto2_port/0.12.0'...
Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/disk'.
Error during assembling of port list: 'Unspecified error' (-1).
Loaded '' ('^disk:') from '/usr/local/lib/libgphoto2_port/0.12.0/disk'.
Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/ptpip'.
Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/local/lib/libgphoto2_port/0.12.0/ptpip'.
Loaded '' ('^ptpip:') from '/usr/local/lib/libgphoto2_port/0.12.0/ptpip'.
Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/usb1'.
Loaded '' ('^usb:') from '/usr/local/lib/libgphoto2_port/0.12.0/usb1'.
Loaded 'Universal Serial Bus' ('usb:002,002') from '/usr/local/lib/libgphoto2_port/0.12.0/usb1'.
Loaded 'Universal Serial Bus' ('usb:004,003') from '/usr/local/lib/libgphoto2_port/0.12.0/usb1'.
Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/usbdiskdirect'.
Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/usbscsi'.
Counting entries (6 available)...
3 regular entries available.
Getting info of entry 0 (6 available)...
Getting info of entry 1 (6 available)...
Getting info of entry 2 (6 available)...
Counting entries (6 available)...
3 regular entries available.
Creating new device...
Getting info of entry 0 (6 available)...
Setting settings...
Getting info of entry 1 (6 available)...
Setting port timeout to 5000 milliseconds.
Setting settings...
(old int=0, conf=-1, alt=-1) port usb:002,002, (new int=0, conf=-1, alt=-1) port usb:002,002
lowlevel libusb1 port not yet opened, no need for libusb changes
Auto-detecting USB cameras...
Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
Getting info of entry 2 (6 available)...
Setting port timeout to 5000 milliseconds.
Setting settings...
(old int=0, conf=-1, alt=-1) port usb:004,003, (new int=0, conf=-1, alt=-1) port usb:004,003
lowlevel libusb1 port not yet opened, no need for libusb changes
Auto-detecting USB cameras...
Looking for USB device (vendor 0x4a9, product 0x30bf)... found.
Detected defaults: config 1, interface 0, altsetting 0, inep 82, outep 01, intep 83, class 06, subclass 01
Found 'Canon Digital IXUS 40 (PTP mode)' (0x4a9,0x30bf)
Freeing port...
Closing port...
Counting entries (6 available)...
3 regular entries available.
Getting info of entry 0 (6 available)...
Getting info of entry 1 (6 available)...
Getting info of entry 2 (6 available)...
Creating new device...
Setting abilities ('Canon Digital IXUS 40 (PTP mode)')...
Looking for path 'usb:' (6 entries available)...
Starting regex search for 'usb:'...
Trying '^disk:'...
regexec failed
Trying '^ptpip:'...
regexec failed
Trying '^usb:'...
Getting info of entry 3 (7 available)...
Setting port info for port 'Generic Port' at 'usb:'...
Setting port timeout to 5000 milliseconds.
Setting settings...
(old int=0, conf=-1, alt=-1) port usb:, (new int=0, conf=-1, alt=-1) port usb:
lowlevel libusb1 port not yet opened, no need for libusb changes
Initializing camera...
Looking for USB device (vendor 0x4a9, product 0x30bf)... found.
Detected defaults: config 1, interface 0, altsetting 0, inep 82, outep 01, intep 83, class 06, subclass 01
Loading '/usr/local/lib/libgphoto2/2.5.8/ptp2'...
Opening USB port...
()
Could not query kernel driver of device.
claiming interface 0
'libusb_submit_transfer (port->pl->transfers[i])' failed: Input/Output error (-1)
'libusb_submit_transfer (port->pl->transfers[i])' failed: Other error (-99)
'libusb_submit_transfer (port->pl->transfers[i])' failed: Other error (-99)
'libusb_submit_transfer (port->pl->transfers[i])' failed: Other error (-99)
'libusb_submit_transfer (port->pl->transfers[i])' failed: Other error (-99)
'libusb_submit_transfer (port->pl->transfers[i])' failed: Other error (-99)
'libusb_submit_transfer (port->pl->transfers[i])' failed: Other error (-99)
'libusb_submit_transfer (port->pl->transfers[i])' failed: Other error (-99)
'libusb_submit_transfer (port->pl->transfers[i])' failed: Other error (-99)
'libusb_submit_transfer (port->pl->transfers[i])' failed: Other error (-99)
maxpacketsize 64
Setting port timeout to 1500 milliseconds.
PTP: Opening session
Sending PTP_OC 0x1002 / Open session request...
'libusb_bulk_transfer (port->pl->dh, port->settings.usb.outep, (unsigned char*)bytes, size, &curwritten, port->timeout)' failed: Other error (-99)
Writing 16 = 0x10 bytes to port failed: Error writing to the port (-35)
PTP_OC 0x1002 sending req failed: Error writing to the port (-35)
Clearing halt on OUT EP and retrying once.
Clear USB halt...
'libusb_clear_halt(port->pl->dh, internal_ep)' failed: Other error (-99)
'libusb_bulk_transfer (port->pl->dh, port->settings.usb.outep, (unsigned char*)bytes, size, &curwritten, port->timeout)' failed: Other error (-99)
Writing 16 = 0x10 bytes to port failed: Error writing to the port (-35)
PTP_OC 0x1002 sending req failed: Error writing to the port (-35)
'ptp_opensession (params, sessionid)' failed: PTP I/O Error (0x02ff)
Sending usb device reset request.
'handled = libusb_control_transfer (port->pl->dh, flags, request, value, index, (unsigned char*)bytes, size, port->timeout)' failed: Other error (-99)
PTP: Opening session
Sending PTP_OC 0x1002 / Open session request...
'libusb_bulk_transfer (port->pl->dh, port->settings.usb.outep, (unsigned char*)bytes, size, &curwritten, port->timeout)' failed: Other error (-99)
Writing 16 = 0x10 bytes to port failed: Error writing to the port (-35)
PTP_OC 0x1002 sending req failed: Error writing to the port (-35)
Clearing halt on OUT EP and retrying once.
Clear USB halt...
'libusb_clear_halt(port->pl->dh, internal_ep)' failed: Other error (-99)
'libusb_bulk_transfer (port->pl->dh, port->settings.usb.outep, (unsigned char*)bytes, size, &curwritten, port->timeout)' failed: Other error (-99)
Writing 16 = 0x10 bytes to port failed: Error writing to the port (-35)
PTP_OC 0x1002 sending req failed: Error writing to the port (-35)
'ptp_opensession (params, sessionid)' failed: PTP I/O Error (0x02ff)
Sending usb device reset request.
'handled = libusb_control_transfer (port->pl->dh, flags, request, value, index, (unsigned char*)bytes, size, port->timeout)' failed: Other error (-99)
PTP: Opening session
Sending PTP_OC 0x1002 / Open session request...
'libusb_bulk_transfer (port->pl->dh, port->settings.usb.outep, (unsigned char*)bytes, size, &curwritten, port->timeout)' failed: Other error (-99)
Writing 16 = 0x10 bytes to port failed: Error writing to the port (-35)
PTP_OC 0x1002 sending req failed: Error writing to the port (-35)
Clearing halt on OUT EP and retrying once.
Clear USB halt...
'libusb_clear_halt(port->pl->dh, internal_ep)' failed: Other error (-99)
'libusb_bulk_transfer (port->pl->dh, port->settings.usb.outep, (unsigned char*)bytes, size, &curwritten, port->timeout)' failed: Other error (-99)
Writing 16 = 0x10 bytes to port failed: Error writing to the port (-35)
PTP_OC 0x1002 sending req failed: Error writing to the port (-35)
'ptp_opensession (params, sessionid)' failed: PTP I/O Error (0x02ff)
'ret' failed: 'PTP I/O Error' (0x02ff)
PTP I/O Error
Closing port...
canceling transfer 0:0x1d9a03209438 (status 0)
'libusb_cancel_transfer(port->pl->transfers[i])' failed: Operation not supported or unimplemented on this platform (-12)
canceling transfer 1:0x1d9a9e32f5b8 (status 0)
'libusb_cancel_transfer(port->pl->transfers[i])' failed: Operation not supported or unimplemented on this platform (-12)
canceling transfer 2:0x1d9a962dc738 (status 0)
'libusb_cancel_transfer(port->pl->transfers[i])' failed: Operation not supported or unimplemented on this platform (-12)
canceling transfer 3:0x1d9a9e32f538 (status 0)
'libusb_cancel_transfer(port->pl->transfers[i])' failed: Operation not supported or unimplemented on this platform (-12)
canceling transfer 4:0x1d9a95663fb8 (status 0)
'libusb_cancel_transfer(port->pl->transfers[i])' failed: Operation not supported or unimplemented on this platform (-12)
canceling transfer 5:0x1d9a956631b8 (status 0)
'libusb_cancel_transfer(port->pl->transfers[i])' failed: Operation not supported or unimplemented on this platform (-12)
canceling transfer 6:0x1d9a03209938 (status 0)
'libusb_cancel_transfer(port->pl->transfers[i])' failed: Operation not supported or unimplemented on this platform (-12)
canceling transfer 7:0x1d9a962dc6b8 (status 0)
'libusb_cancel_transfer(port->pl->transfers[i])' failed: Operation not supported or unimplemented on this platform (-12)
canceling transfer 8:0x1d9a03209a38 (status 0)
'libusb_cancel_transfer(port->pl->transfers[i])' failed: Operation not supported or unimplemented on this platform (-12)
canceling transfer 9:0x1d9a956632b8 (status 0)
'libusb_cancel_transfer(port->pl->transfers[i])' failed: Operation not supported or unimplemented on this platform (-12)
Freeing camera...
Freeing port...
Closing port...
resetting filesystem
Clearing fscache LRU list...
fscache LRU list already empty
Internally deleting all folders from '/'...
Lookup folder '/'...
Found! / is 0x1d9a80f59880
Recurse delete folder 0x1d9a80f59880//
Invalid parameters: 'camera' is NULL/FALSE.
Invalid parameters: 'camera' is NULL/FALSE.
[....................snip....................]
All those libusb errors look suspicious, but I need directions for
further debug...
Please note that concerned port versions (gtkam 0.2.0, libgphoto2 2.5.8,
libgphoto2_port 0.12.0) didn't change b/w 5.7 and snapshots, so the
problem must be somewhere else.
I also tried disabling the XHCI support in the kernel, but the behavior
is the same.
Thanks in advance for any hints.
All the best
I have an old Canon camera (model "Digital IXUS 40"); it was perfectly
working in 5.7 through gphoto2 in PTP mode.
It doesn't work anymore in -current (5.8 GENERIC.MP#1267 amd64).
gphoto2 (well, I use gtkam actually) correctly detects it, but the
connection cannot be established. This is an excerpt of the debug
messages:
[....................snip....................]
ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
gtkam 0.2.0
gtkam has been compiled with the following options:
+ cc (C compiler used)
+ no bonobo (for FIXME)
+ no gnome (for FIXME)
+ no gimp (plugin for The Gimp)
+ exif (for displaying exif information)
libgphoto2 2.5.8
libgphoto2 has been compiled with the following options:
+ all camlibs
+ cc (C compiler used)
+ ltdl (for portable loading of camlibs)
+ EXIF (for special handling of EXIF files)
libgphoto2_port 0.12.0
libgphoto2_port has been compiled with the following options:
+ cc (C compiler used)
+ ltdl (for portable loading of camlibs)
+ USB (libusb1, for USB cameras)
+ no serial (for serial cameras)
+ no resmgr (serial port access and locking)
+ no ttylock (serial port locking)
+ no lockdev (serial port locking)
Using ltdl to load camera libraries from '/usr/local/lib/libgphoto2/2.5.8'...
Found '/usr/local/lib/libgphoto2/2.5.8/adc65'.
Found '/usr/local/lib/libgphoto2/2.5.8/agfa_cl20'.
Found '/usr/local/lib/libgphoto2/2.5.8/aox'.
Found '/usr/local/lib/libgphoto2/2.5.8/ax203'.
Found '/usr/local/lib/libgphoto2/2.5.8/barbie'.
Found '/usr/local/lib/libgphoto2/2.5.8/canon'.
Found '/usr/local/lib/libgphoto2/2.5.8/casio_qv'.
Found '/usr/local/lib/libgphoto2/2.5.8/clicksmart310'.
Found '/usr/local/lib/libgphoto2/2.5.8/digigr8'.
Found '/usr/local/lib/libgphoto2/2.5.8/digita'.
Found '/usr/local/lib/libgphoto2/2.5.8/dimagev'.
Found '/usr/local/lib/libgphoto2/2.5.8/dimera3500'.
Found '/usr/local/lib/libgphoto2/2.5.8/directory'.
Found '/usr/local/lib/libgphoto2/2.5.8/enigma13'.
Found '/usr/local/lib/libgphoto2/2.5.8/fuji'.
Found '/usr/local/lib/libgphoto2/2.5.8/gsmart300'.
Found '/usr/local/lib/libgphoto2/2.5.8/hp215'.
Found '/usr/local/lib/libgphoto2/2.5.8/iclick'.
Found '/usr/local/lib/libgphoto2/2.5.8/jamcam'.
Found '/usr/local/lib/libgphoto2/2.5.8/jd11'.
Found '/usr/local/lib/libgphoto2/2.5.8/jl2005a'.
Found '/usr/local/lib/libgphoto2/2.5.8/jl2005c'.
Found '/usr/local/lib/libgphoto2/2.5.8/kodak_dc120'.
Found '/usr/local/lib/libgphoto2/2.5.8/kodak_dc210'.
Found '/usr/local/lib/libgphoto2/2.5.8/kodak_dc240'.
Found '/usr/local/lib/libgphoto2/2.5.8/kodak_dc3200'.
Found '/usr/local/lib/libgphoto2/2.5.8/kodak_ez200'.
Found '/usr/local/lib/libgphoto2/2.5.8/konica'.
Found '/usr/local/lib/libgphoto2/2.5.8/konica_qm150'.
Found '/usr/local/lib/libgphoto2/2.5.8/largan'.
Found '/usr/local/lib/libgphoto2/2.5.8/lg_gsm'.
Found '/usr/local/lib/libgphoto2/2.5.8/mars'.
Found '/usr/local/lib/libgphoto2/2.5.8/mustek'.
Found '/usr/local/lib/libgphoto2/2.5.8/panasonic_coolshot'.
Found '/usr/local/lib/libgphoto2/2.5.8/panasonic_dc1000'.
Found '/usr/local/lib/libgphoto2/2.5.8/panasonic_dc1580'.
Found '/usr/local/lib/libgphoto2/2.5.8/panasonic_l859'.
Found '/usr/local/lib/libgphoto2/2.5.8/pccam300'.
Found '/usr/local/lib/libgphoto2/2.5.8/pccam600'.
Found '/usr/local/lib/libgphoto2/2.5.8/pentax'.
Found '/usr/local/lib/libgphoto2/2.5.8/polaroid_pdc320'.
Found '/usr/local/lib/libgphoto2/2.5.8/polaroid_pdc640'.
Found '/usr/local/lib/libgphoto2/2.5.8/polaroid_pdc700'.
Found '/usr/local/lib/libgphoto2/2.5.8/ptp2'.
Found '/usr/local/lib/libgphoto2/2.5.8/ricoh'.
Found '/usr/local/lib/libgphoto2/2.5.8/ricoh_g3'.
Found '/usr/local/lib/libgphoto2/2.5.8/samsung'.
Found '/usr/local/lib/libgphoto2/2.5.8/sierra'.
Found '/usr/local/lib/libgphoto2/2.5.8/sipix_blink2'.
Found '/usr/local/lib/libgphoto2/2.5.8/sipix_web2'.
Found '/usr/local/lib/libgphoto2/2.5.8/smal'.
Found '/usr/local/lib/libgphoto2/2.5.8/sonix'.
Found '/usr/local/lib/libgphoto2/2.5.8/sony_dscf1'.
Found '/usr/local/lib/libgphoto2/2.5.8/sony_dscf55'.
Found '/usr/local/lib/libgphoto2/2.5.8/soundvision'.
Found '/usr/local/lib/libgphoto2/2.5.8/spca50x'.
Found '/usr/local/lib/libgphoto2/2.5.8/sq905'.
Found '/usr/local/lib/libgphoto2/2.5.8/st2205'.
Found '/usr/local/lib/libgphoto2/2.5.8/stv0674'.
Found '/usr/local/lib/libgphoto2/2.5.8/stv0680'.
Found '/usr/local/lib/libgphoto2/2.5.8/sx330z'.
Found '/usr/local/lib/libgphoto2/2.5.8/topfield'.
Found '/usr/local/lib/libgphoto2/2.5.8/toshiba_pdrm11'.
Found '/usr/local/lib/libgphoto2/2.5.8/tp6801'.
Found 64 camera drivers.
Using ltdl to load io-drivers from '/usr/local/lib/libgphoto2_port/0.12.0'...
Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/disk'.
Error during assembling of port list: 'Unspecified error' (-1).
Loaded '' ('^disk:') from '/usr/local/lib/libgphoto2_port/0.12.0/disk'.
Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/ptpip'.
Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/local/lib/libgphoto2_port/0.12.0/ptpip'.
Loaded '' ('^ptpip:') from '/usr/local/lib/libgphoto2_port/0.12.0/ptpip'.
Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/usb1'.
Loaded '' ('^usb:') from '/usr/local/lib/libgphoto2_port/0.12.0/usb1'.
Loaded 'Universal Serial Bus' ('usb:002,002') from '/usr/local/lib/libgphoto2_port/0.12.0/usb1'.
Loaded 'Universal Serial Bus' ('usb:004,003') from '/usr/local/lib/libgphoto2_port/0.12.0/usb1'.
Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/usbdiskdirect'.
Called for filename '/usr/local/lib/libgphoto2_port/0.12.0/usbscsi'.
Counting entries (6 available)...
3 regular entries available.
Getting info of entry 0 (6 available)...
Getting info of entry 1 (6 available)...
Getting info of entry 2 (6 available)...
Counting entries (6 available)...
3 regular entries available.
Creating new device...
Getting info of entry 0 (6 available)...
Setting settings...
Getting info of entry 1 (6 available)...
Setting port timeout to 5000 milliseconds.
Setting settings...
(old int=0, conf=-1, alt=-1) port usb:002,002, (new int=0, conf=-1, alt=-1) port usb:002,002
lowlevel libusb1 port not yet opened, no need for libusb changes
Auto-detecting USB cameras...
Looking for USB device (class 0x29a, subclass, 0xffffffff, protocol 0xffffffff)...
Looking for USB device (class 0x6, subclass, 0x1, protocol 0x1)...
Getting info of entry 2 (6 available)...
Setting port timeout to 5000 milliseconds.
Setting settings...
(old int=0, conf=-1, alt=-1) port usb:004,003, (new int=0, conf=-1, alt=-1) port usb:004,003
lowlevel libusb1 port not yet opened, no need for libusb changes
Auto-detecting USB cameras...
Looking for USB device (vendor 0x4a9, product 0x30bf)... found.
Detected defaults: config 1, interface 0, altsetting 0, inep 82, outep 01, intep 83, class 06, subclass 01
Found 'Canon Digital IXUS 40 (PTP mode)' (0x4a9,0x30bf)
Freeing port...
Closing port...
Counting entries (6 available)...
3 regular entries available.
Getting info of entry 0 (6 available)...
Getting info of entry 1 (6 available)...
Getting info of entry 2 (6 available)...
Creating new device...
Setting abilities ('Canon Digital IXUS 40 (PTP mode)')...
Looking for path 'usb:' (6 entries available)...
Starting regex search for 'usb:'...
Trying '^disk:'...
regexec failed
Trying '^ptpip:'...
regexec failed
Trying '^usb:'...
Getting info of entry 3 (7 available)...
Setting port info for port 'Generic Port' at 'usb:'...
Setting port timeout to 5000 milliseconds.
Setting settings...
(old int=0, conf=-1, alt=-1) port usb:, (new int=0, conf=-1, alt=-1) port usb:
lowlevel libusb1 port not yet opened, no need for libusb changes
Initializing camera...
Looking for USB device (vendor 0x4a9, product 0x30bf)... found.
Detected defaults: config 1, interface 0, altsetting 0, inep 82, outep 01, intep 83, class 06, subclass 01
Loading '/usr/local/lib/libgphoto2/2.5.8/ptp2'...
Opening USB port...
()
Could not query kernel driver of device.
claiming interface 0
'libusb_submit_transfer (port->pl->transfers[i])' failed: Input/Output error (-1)
'libusb_submit_transfer (port->pl->transfers[i])' failed: Other error (-99)
'libusb_submit_transfer (port->pl->transfers[i])' failed: Other error (-99)
'libusb_submit_transfer (port->pl->transfers[i])' failed: Other error (-99)
'libusb_submit_transfer (port->pl->transfers[i])' failed: Other error (-99)
'libusb_submit_transfer (port->pl->transfers[i])' failed: Other error (-99)
'libusb_submit_transfer (port->pl->transfers[i])' failed: Other error (-99)
'libusb_submit_transfer (port->pl->transfers[i])' failed: Other error (-99)
'libusb_submit_transfer (port->pl->transfers[i])' failed: Other error (-99)
'libusb_submit_transfer (port->pl->transfers[i])' failed: Other error (-99)
maxpacketsize 64
Setting port timeout to 1500 milliseconds.
PTP: Opening session
Sending PTP_OC 0x1002 / Open session request...
'libusb_bulk_transfer (port->pl->dh, port->settings.usb.outep, (unsigned char*)bytes, size, &curwritten, port->timeout)' failed: Other error (-99)
Writing 16 = 0x10 bytes to port failed: Error writing to the port (-35)
PTP_OC 0x1002 sending req failed: Error writing to the port (-35)
Clearing halt on OUT EP and retrying once.
Clear USB halt...
'libusb_clear_halt(port->pl->dh, internal_ep)' failed: Other error (-99)
'libusb_bulk_transfer (port->pl->dh, port->settings.usb.outep, (unsigned char*)bytes, size, &curwritten, port->timeout)' failed: Other error (-99)
Writing 16 = 0x10 bytes to port failed: Error writing to the port (-35)
PTP_OC 0x1002 sending req failed: Error writing to the port (-35)
'ptp_opensession (params, sessionid)' failed: PTP I/O Error (0x02ff)
Sending usb device reset request.
'handled = libusb_control_transfer (port->pl->dh, flags, request, value, index, (unsigned char*)bytes, size, port->timeout)' failed: Other error (-99)
PTP: Opening session
Sending PTP_OC 0x1002 / Open session request...
'libusb_bulk_transfer (port->pl->dh, port->settings.usb.outep, (unsigned char*)bytes, size, &curwritten, port->timeout)' failed: Other error (-99)
Writing 16 = 0x10 bytes to port failed: Error writing to the port (-35)
PTP_OC 0x1002 sending req failed: Error writing to the port (-35)
Clearing halt on OUT EP and retrying once.
Clear USB halt...
'libusb_clear_halt(port->pl->dh, internal_ep)' failed: Other error (-99)
'libusb_bulk_transfer (port->pl->dh, port->settings.usb.outep, (unsigned char*)bytes, size, &curwritten, port->timeout)' failed: Other error (-99)
Writing 16 = 0x10 bytes to port failed: Error writing to the port (-35)
PTP_OC 0x1002 sending req failed: Error writing to the port (-35)
'ptp_opensession (params, sessionid)' failed: PTP I/O Error (0x02ff)
Sending usb device reset request.
'handled = libusb_control_transfer (port->pl->dh, flags, request, value, index, (unsigned char*)bytes, size, port->timeout)' failed: Other error (-99)
PTP: Opening session
Sending PTP_OC 0x1002 / Open session request...
'libusb_bulk_transfer (port->pl->dh, port->settings.usb.outep, (unsigned char*)bytes, size, &curwritten, port->timeout)' failed: Other error (-99)
Writing 16 = 0x10 bytes to port failed: Error writing to the port (-35)
PTP_OC 0x1002 sending req failed: Error writing to the port (-35)
Clearing halt on OUT EP and retrying once.
Clear USB halt...
'libusb_clear_halt(port->pl->dh, internal_ep)' failed: Other error (-99)
'libusb_bulk_transfer (port->pl->dh, port->settings.usb.outep, (unsigned char*)bytes, size, &curwritten, port->timeout)' failed: Other error (-99)
Writing 16 = 0x10 bytes to port failed: Error writing to the port (-35)
PTP_OC 0x1002 sending req failed: Error writing to the port (-35)
'ptp_opensession (params, sessionid)' failed: PTP I/O Error (0x02ff)
'ret' failed: 'PTP I/O Error' (0x02ff)
PTP I/O Error
Closing port...
canceling transfer 0:0x1d9a03209438 (status 0)
'libusb_cancel_transfer(port->pl->transfers[i])' failed: Operation not supported or unimplemented on this platform (-12)
canceling transfer 1:0x1d9a9e32f5b8 (status 0)
'libusb_cancel_transfer(port->pl->transfers[i])' failed: Operation not supported or unimplemented on this platform (-12)
canceling transfer 2:0x1d9a962dc738 (status 0)
'libusb_cancel_transfer(port->pl->transfers[i])' failed: Operation not supported or unimplemented on this platform (-12)
canceling transfer 3:0x1d9a9e32f538 (status 0)
'libusb_cancel_transfer(port->pl->transfers[i])' failed: Operation not supported or unimplemented on this platform (-12)
canceling transfer 4:0x1d9a95663fb8 (status 0)
'libusb_cancel_transfer(port->pl->transfers[i])' failed: Operation not supported or unimplemented on this platform (-12)
canceling transfer 5:0x1d9a956631b8 (status 0)
'libusb_cancel_transfer(port->pl->transfers[i])' failed: Operation not supported or unimplemented on this platform (-12)
canceling transfer 6:0x1d9a03209938 (status 0)
'libusb_cancel_transfer(port->pl->transfers[i])' failed: Operation not supported or unimplemented on this platform (-12)
canceling transfer 7:0x1d9a962dc6b8 (status 0)
'libusb_cancel_transfer(port->pl->transfers[i])' failed: Operation not supported or unimplemented on this platform (-12)
canceling transfer 8:0x1d9a03209a38 (status 0)
'libusb_cancel_transfer(port->pl->transfers[i])' failed: Operation not supported or unimplemented on this platform (-12)
canceling transfer 9:0x1d9a956632b8 (status 0)
'libusb_cancel_transfer(port->pl->transfers[i])' failed: Operation not supported or unimplemented on this platform (-12)
Freeing camera...
Freeing port...
Closing port...
resetting filesystem
Clearing fscache LRU list...
fscache LRU list already empty
Internally deleting all folders from '/'...
Lookup folder '/'...
Found! / is 0x1d9a80f59880
Recurse delete folder 0x1d9a80f59880//
Invalid parameters: 'camera' is NULL/FALSE.
Invalid parameters: 'camera' is NULL/FALSE.
[....................snip....................]
All those libusb errors look suspicious, but I need directions for
further debug...
Please note that concerned port versions (gtkam 0.2.0, libgphoto2 2.5.8,
libgphoto2_port 0.12.0) didn't change b/w 5.7 and snapshots, so the
problem must be somewhere else.
I also tried disabling the XHCI support in the kernel, but the behavior
is the same.
Thanks in advance for any hints.
All the best
--
Alessandro DE LAURENZIS
[mailto:***@gmail.com]
LinkedIn: http://it.linkedin.com/in/delaurenzis
Alessandro DE LAURENZIS
[mailto:***@gmail.com]
LinkedIn: http://it.linkedin.com/in/delaurenzis