Bug 164156 - gphoto2 fails to access camera under 2.6.13-rcX
Summary: gphoto2 fails to access camera under 2.6.13-rcX
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gphoto2
Version: 4
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-07-25 13:56 UTC by Andrew Clayton
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-07-28 17:33:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Output of gphoto2 --summary --debug under 2.6.13-rc1 (179.11 KB, text/plain)
2005-07-25 13:59 UTC, Andrew Clayton
no flags Details

Description Andrew Clayton 2005-07-25 13:56:30 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc4 Firefox/1.0.6

Description of problem:
I am using a Cannon Powershot A80 via USB.

I first noticed the problem when running gthumb-import under 2.6.13-rc3 (this also happens under 2.6.13-rc1). From the kernels I have it seems to have stopped working between 2.6.12-git9 and 2.6.13-rc1

Upon running it (gthumb-2.6.5-1) the dialogue box pops up, but instead of showing the images on the camera it shows an error message

"An error occurred in the io-library ('Error updating the port settings'): Could not set config 0/1 (Device or resource busy)"


Indeed when running gphoto directly I get

(pts/1) [andrew@alpha:~]$ gphoto2 --summary
                                                                               
*** Error ***              
Could not apply USB settings

*** Error ***              
An error occurred in the io-library ('Error updating the port settings'): Could not set config 0/1 (Device or resource busy)
*** Error (-37: 'Error updating the port settings') ***       

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.net>, please run
gphoto2 as follows:

    env LANG=C gphoto2 --debug --summary

Please make sure there is sufficient quoting around the arguments.

(pts/1) [andrew@alpha:~]$


This should have produced.

Detected a 'Canon:PowerShot A80 (normal mode)'.
Camera summary:

Camera identification:
  Model: Canon:PowerShot A80 (normal mode)
  Owner: 

Power status: on battery (power OK)

Flash disk information:
  Drive D:
       31,138 bytes total
       31,136 bytes available

Time: 2005-07-25 14:06:11 (host time +0 seconds)


That was under the latest FC update kernel (2.6.12-1.1398_FC4)


If you need any more info just ask.

Cheers.

Version-Release number of selected component (if applicable):
gphoto2-2.1.5-10

How reproducible:
Always

Steps to Reproduce:
1. Plug in camera
2. Launch gthumb-import (or do something like gphoto2 --summary)
3.
  

Actual Results:  You get the above error message.

Expected Results:  gthumb-import should show photos on camera and gphoto2 --summary should show the above camera summary information.

Additional info:

Comment 1 Andrew Clayton 2005-07-25 13:59:11 UTC
Created attachment 117121 [details]
Output of gphoto2 --summary --debug under 2.6.13-rc1

Comment 2 Andrew Clayton 2005-07-28 17:33:02 UTC
Upgrading to rawhide version (gphoto2-2.1.6-2) has resolved the 
issue with gthumb.

Cheers,

Andrew



Note You need to log in before you can comment on or make changes to this bug.