Bug 695110

Summary: Cannot access digital camera
Product: [Fedora] Fedora Reporter: cb-rhbugz
Component: gnome-desktopAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 14CC: rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-16 15:34:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description cb-rhbugz 2011-04-10 16:12:18 UTC
Description of problem:
On connecting my digital camera (Canon Eos 400D) to a USB port, some gnome apps immediately claim the device and show no indication of how to get them to leave it alone. This problem has been introduced since the Fedora 14 release which worked OK.

Version-Release number of selected component (if applicable):
Unknown.

How reproducible:
Every time

Steps to Reproduce:
1. Connect digital camera to usb port
2a. Observe absence of digital camera icon on desktop.
2b. Run "gphoto2 -P" to download photographs
  
Actual results:
2a: cannot browse photographs in file browser
2b: error message:
*** Error ***              
An error occurred in the io-library ('Could not lock the device'): Camera is already in use.
*** Error (-60: 'Could not lock the device') ***       

The problem can be worked around by locating the device node and killing the processes responsible. For example:
$ fuser -v /dev/bus/usb/001/030 
                     USER        PID ACCESS COMMAND
/dev/bus/usb/001/030:
                     cgb23      4428 F.... gvfs-gphoto2-vo
                     cgb23      5306 F.... rhythmbox

I quit rhythmbox, and I don't know what gvfs-gphoto2-vo is, but after "kill 4428", I was able to run gphoto2.


Expected results:
Gnome and/or its apps do not open the device node, so that other apps can use the device. Gnome does not "own" the device, and it does not need the device node to remain open.


Additional info:
In the Fedora 14 release, Gnome put an icon on the desktop, and it was possible to unmount the camera from the right-click menu. Restoring this behaviour would be an improvement, but not ideal (see above)

Comment 1 Fedora End Of Life 2012-08-16 15:34:44 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping