gphoto2 lib_usb_bulk_transfer timeout

Bug #1818001 reported by Mahesh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu MATE
Invalid
Undecided
Unassigned
gphoto2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

>>>>>
If I do "tail -f <log_file>" I get the above error printed for some time and then a huge amount of data starts getting written (after say 20 seconds or so)

6.666016 ptp_usb_getdata (2): Reading PTP_OC 0x1008 (Get object info) data...
6.666036 gp_port_read (3): Reading 1024 = 0x400 bytes from port...
6.666151 gp_libusb1_read libusb1.c:577: 'libusb_bulk_transfer (port->pl->dh, port->settings.usb.inep, (unsigned char*)bytes, size, &curread, port->timeout)' failed: Pipe error (-9)
6.666185 gp_port_read gphoto2-port.c:437: Reading 1024 = 0x400 bytes from port failed: Error reading from the port (-34)
6.666203 ptp_usb_getpacket (2): Clearing halt on IN EP and retrying once.
6.666221 gp_port_usb_clear_halt (2): Clear USB halt...
6.666282 gp_port_read (3): Reading 1024 = 0x400 bytes from port...

>>>>>
Command used:
$ gphoto2 --auto-detect --set-config=/main/capturesettings/shutterspeed=43 --debug --debug-logfile=./mrv.log
$ gphoto2 --auto-detect --capture-image-and-download --debug --debug-logfile=./mrv.log
$ tail -f ./mrv.log

>>>>>>
The error occurs only if a capture of more than (say) 2-3 seconds is triggered !

Tags: gphoto2
Changed in ubuntu-mate:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.