gvfsd-gphoto2 locks camera
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gvfs (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
After plugging in a camera, gvfsd-gphoto2 launches and locks the camera.
This prevents gphoto2 from doing its job, since it does not acces the camera via GVFS/GIO:
Steps to reproduce:
1) Plug in the camera.
2) 'ps x | grep gphoto' shows gvfsd-gphoto2 and/or gvfs-gphoto2-
3) 'gphoto2 --auto-detect --capture-
4) 'killall gvfsd-gphoto2 gvfs-gphoto2-
5) rerun (3), and have your picture taken and downloaded.
I don't know if the daemon is only locking the camera as soon as some process starts accessing it. (well, maybe nautilus does acces it). It would be great, if it could release the lock as soon as possible, or (don't know about the locking) don't lock for read-only access.
affects: | libgphoto2 (Ubuntu) → gvfs (Ubuntu) |
Changed in gvfs (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in gvfs (Ubuntu): | |
status: | Triaged → Confirmed |
In Karmic, with kernel 2.6.31-14, I still see the 'cannot lock device' error when connecting a digital camera. Killing 'gvfs-gphoto2- volume- monitor' stops the error. However, once I load f-spot and import the photos, the gvfs-gphoto2- volume- monitor process is started again. Also, killing this process stops Nautilus from showing the mounted camera as a separate filesystem.
I think importance should be a bit higher considering the number of bugs filed with this same behavior. This problem essentially prevents Ubuntu users from importing photos in anything like the normal manner.