Gentoo Archives: gentoo-user

From: Andy Wilkinson <drukargin@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] gvfs, cameras, and me
Date: Fri, 24 Dec 2010 15:44:00
Message-Id: 4D14BF6B.6020205@gmail.com
In Reply to: Re: [gentoo-user] gvfs, cameras, and me by Paul Hartman
1 On 12/20/2010 07:53 AM, Paul Hartman wrote:
2 > On Sun, Dec 19, 2010 at 11:25 PM, Andy Wilkinson <drukargin@×××××.com> wrote:
3 >> So, the only issue that I consistently have in Gentoo anymore is that there
4 >> exist periods of time (probably coincident with gphoto2 or gvfs upgrades)
5 >> wherein I can't automount my PTP digital camera (a Nikon D60, if it's
6 >> relevant) and use gthumb to import my photos. I'm able to use gphoto2 to do
7 >> so just fine, and so I do, but it bothers me that the way I'd prefer to do
8 >> things doesn't work the way I'd like it to. Currently I'm in a "doesn't
9 >> work" phase, as you may have surmised.
10 >>
11 >> To make matters worse, when gvfs/nautilus doesn't see the camera at all, I
12 >> have no idea at all how to find out what messages might have been sent
13 >> where, or why gvfs might not be seeing it, or what-have-you. None of the
14 >> usual suspects (dmesg, /var/log/messages, ~/.xsession-errors) have anything
15 >> useful. dmesg does at least tell me that I'm seeing the USB device
16 >> properly.
17 >>
18 >> Is there a tried-and-true method of at least troubleshooting this sort of
19 >> issue, or am I stuck throwing darts at the different gphoto2 and gvfs builds
20 >> in portage?
21 > Hi,
22 >
23 > Probably more important is libgphoto2 instead of gphoto2 standalone
24 > package. libgphoto2 includes the udev rules for digital cameras, for
25 > example. (You might need to change the default mode that they set.)
26 > Your user needs to be in the plugdev group, too.
27 >
28 > Does it work as root? If so then maybe it's a permission issue.
29 >
30 > I don't use any of the software you've mentioned except for gphoto2,
31 > so I'm not sure how they work but you can do the usual monitoring udev
32 > (using udevadm) and dbus (using dbus-monitor) etc. to see what's going
33 > on. Maybe there'll be some error or something will stand out as being
34 > obviously wrong.
35 Well, udev shows the device appearing and disappearing just fine, when I
36 turn the camera on and off, and as I've said in my other two responses
37 just now, gphoto2 detects, reads, and downloads from the camera just
38 fine. dbus shows no activity related to the camera whatsoever. I am in
39 plugdev and gvfs works just fine, when it works. It's gone from working
40 to not working and I'm not sure why.
41
42 What should I run as root to tell if "it" works as root?
43
44 Thanks,
45
46 -Andy