Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71602 - gphoto2 can't perform more than 1 operation per camera connect with 2.6, works with 2.4
Summary: gphoto2 can't perform more than 1 operation per camera connect with 2.6, work...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-17 14:19 UTC by Martin Tsachev
Modified: 2005-01-26 07:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gphoto debug output (debug.bz2,4.37 KB, application/octet-stream)
2004-11-17 14:20 UTC, Martin Tsachev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Tsachev 2004-11-17 14:19:14 UTC
With a 2.4 kernel I can connect my usb camera and list/get pictures as many times as I would like. In 2.6 though I can do that only once, the 2nd and following times I get a timeout and the operation fails. I can use my camera again only after I power cycle it or reconnect it.

Tried to re-emerge gphoto2 with /usr/src/linux symlinked and running 2.6 if that matters.

Connecting the camera directly (not through a usb hub didn't help).


Reproducible: Always
Steps to Reproduce:
1. List photos on the camera two ore more times

Actual Results:  
[mtx  12:10 AM| ~]$ gphoto2 -L
There are no files in folder '/'.                                              
There are no files in folder '/store_00010001'.
There are no files in folder '/store_00010001/MISC'.
There are no files in folder '/store_80000001'.
[mtx  12:10 AM| ~]$ 
[mtx  12:10 AM| ~]$ gphoto2 -L
gp_port_read: Connection timed out                                             

*** Error ***              
PTP I/O error

*** Error ***              
An error occurred in the io-library ('Unspecified error'): The supplied vendor 
or product id (0x0,0x0) is not valid.
*** 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 -L

Please make sure there is sufficient quoting around the arguments.



dmesg output
usb 3-2.1: new full speed USB device using address 10
usb 3-2.1: bulk timeout on ep1in
usb 3-2.1: usbfs: USBDEVFS_BULK failed ep 0x81 len 512 ret -110
usb 3-2.1: USB disconnect, address 10

ehci_hcd               29316  0 
hci_usb                13952  0 
uhci_hcd               32016  0
Comment 1 Martin Tsachev 2004-11-17 14:20:21 UTC
Created attachment 44186 [details]
gphoto debug output
Comment 2 Martin Tsachev 2005-01-14 01:23:40 UTC
Same with 2.6.10.
Comment 3 Robert Davis 2005-01-21 07:28:01 UTC
Gphoto2 2.1.5 is in portage now, try that.  What camera model?
Comment 4 Martin Tsachev 2005-01-21 07:53:18 UTC
Works with the new gphoto.
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2005-01-26 07:06:04 UTC
closing then. thanks for the update.