Description of problem:
- camera (Canon A610) is not automounted anymore
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. attach camera via USB
- camera is not mounted via gvsfd
- camera should be mounted
- camera can be successfully detected by gphoto2:
$ gphoto2 --auto-detect
Canon PowerShot A610 (PTP mode) usb:002,009
- it is possible to manually mount it via gvfs:
- I'm unsure whether this is a nautilus or gvfsd problem - please move the bug if necessary
I've debugged the issue and it looks like that the problem is, that libgphoto2 >= 2.4.10 explicitly requires the following syntax for USB-attached devices:
"usb:XXX,YYY" (with trailing zeros).
If gvfsd uses a syntax without trailing zeros like "usb:1,2" an internal check will fail in libgphoto's gp_camera_init function.
After my debugging I've seen that this bug was already reported upstream: https://bugzilla.gnome.org/show_bug.cgi?id=631562 . I've tested the patch attached to the upstream bug report and it solves the issue.
Please can you rebuild gvfs with this patch ( http://bugzilla-attachments.gnome.org/attachment.cgi?id=171853 ) applied? Thank you very much in advance!
Tomáš, Bastien, any news regarding this problem?
The bug is rather annoying (the whole gphoto2 integration of gvfs should be affected) and the suggested patch is very small (just one line) and non-invasive - IMHO there isn't any risk - even if upstream decide later to solve it otherwise.
If you don't have time and it would be OK with you I could quickly "provenpackage" it. Just let me know.
Thanks in advance!
I posted a better upstream patch, please test.
(In reply to comment #3)
> I posted a better upstream patch, please test.
This patch solves the problem as well - thanks for having a look at the issue!
Christian, now that we have the fix upstream, feel free to build a gvfs update with the patch. Otherwise, we'll pick it up with the next upstream release.
gvfs-1.6.4-3.fc14 has been submitted as an update for Fedora 14.
gvfs-1.6.4-3.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update gvfs'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/gvfs-1.6.4-3.fc14
gvfs-1.6.4-3.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.