Re: [gentoo-user] gvfs, cameras, and me
On 12/19/2010 09:55 PM, Dale wrote: Andy Wilkinson wrote: So, the only issue that I consistently have in Gentoo anymore is that there exist periods of time (probably coincident with gphoto2 or gvfs upgrades) wherein I can't automount my PTP digital camera (a Nikon D60, if it's relevant) and use gthumb to import my photos. I'm able to use gphoto2 to do so just fine, and so I do, but it bothers me that the way I'd prefer to do things doesn't work the way I'd like it to. Currently I'm in a doesn't work phase, as you may have surmised. To make matters worse, when gvfs/nautilus doesn't see the camera at all, I have no idea at all how to find out what messages might have been sent where, or why gvfs might not be seeing it, or what-have-you. None of the usual suspects (dmesg, /var/log/messages, ~/.xsession-errors) have anything useful. dmesg does at least tell me that I'm seeing the USB device properly. Is there a tried-and-true method of at least troubleshooting this sort of issue, or am I stuck throwing darts at the different gphoto2 and gvfs builds in portage? I've attached emerge --info gvfs gphoto2, for the curious. Thanks, -Andy Firstly, I don't use Gnome and our cameras are different. This may not matter for your setup but thought it worth checking into. I have this for my Canon in make.conf: CAMERAS=canon ptp2 I use the ptp2 and most likely need to remove the other but you may need to set yours to something that your camera uses. CAMERAS=ptp2 just may work. Usually a emerge -pv package will show the options available. It does here anyway. Hope that helps. Dale :-) :-) Alas, changing CAMERAS didn't work. But I'm not surprised, as gphoto2 has always found the camera just fine, regardless of what Gnome thinks. I suspect that my issue is closer to a libgphoto2/gvfs incompatibility, but I've no data on which to test that. I suppose I could just start compiling ~arch masked builds of libgphoto2 and see if any of them stick, but I would love some sort of cleaner answer. Thanks, -Andy
Re: [gentoo-user] gvfs, cameras, and me
On 12/20/2010 07:53 AM, Paul Hartman wrote: On Sun, Dec 19, 2010 at 11:25 PM, Andy Wilkinson drukar...@gmail.com wrote: So, the only issue that I consistently have in Gentoo anymore is that there exist periods of time (probably coincident with gphoto2 or gvfs upgrades) wherein I can't automount my PTP digital camera (a Nikon D60, if it's relevant) and use gthumb to import my photos. I'm able to use gphoto2 to do so just fine, and so I do, but it bothers me that the way I'd prefer to do things doesn't work the way I'd like it to. Currently I'm in a doesn't work phase, as you may have surmised. To make matters worse, when gvfs/nautilus doesn't see the camera at all, I have no idea at all how to find out what messages might have been sent where, or why gvfs might not be seeing it, or what-have-you. None of the usual suspects (dmesg, /var/log/messages, ~/.xsession-errors) have anything useful. dmesg does at least tell me that I'm seeing the USB device properly. Is there a tried-and-true method of at least troubleshooting this sort of issue, or am I stuck throwing darts at the different gphoto2 and gvfs builds in portage? Hi, Probably more important is libgphoto2 instead of gphoto2 standalone package. libgphoto2 includes the udev rules for digital cameras, for example. (You might need to change the default mode that they set.) Your user needs to be in the plugdev group, too. Does it work as root? If so then maybe it's a permission issue. I don't use any of the software you've mentioned except for gphoto2, so I'm not sure how they work but you can do the usual monitoring udev (using udevadm) and dbus (using dbus-monitor) etc. to see what's going on. Maybe there'll be some error or something will stand out as being obviously wrong. Well, udev shows the device appearing and disappearing just fine, when I turn the camera on and off, and as I've said in my other two responses just now, gphoto2 detects, reads, and downloads from the camera just fine. dbus shows no activity related to the camera whatsoever. I am in plugdev and gvfs works just fine, when it works. It's gone from working to not working and I'm not sure why. What should I run as root to tell if it works as root? Thanks, -Andy
Re: [gentoo-user] gvfs, cameras, and me
On 12/24/2010 07:34 AM, Andy Wilkinson wrote: On 12/19/2010 09:55 PM, Dale wrote: Andy Wilkinson wrote: So, the only issue that I consistently have in Gentoo anymore is that there exist periods of time (probably coincident with gphoto2 or gvfs upgrades) wherein I can't automount my PTP digital camera (a Nikon D60, if it's relevant) and use gthumb to import my photos. I'm able to use gphoto2 to do so just fine, and so I do, but it bothers me that the way I'd prefer to do things doesn't work the way I'd like it to. Currently I'm in a doesn't work phase, as you may have surmised. To make matters worse, when gvfs/nautilus doesn't see the camera at all, I have no idea at all how to find out what messages might have been sent where, or why gvfs might not be seeing it, or what-have-you. None of the usual suspects (dmesg, /var/log/messages, ~/.xsession-errors) have anything useful. dmesg does at least tell me that I'm seeing the USB device properly. Is there a tried-and-true method of at least troubleshooting this sort of issue, or am I stuck throwing darts at the different gphoto2 and gvfs builds in portage? I've attached emerge --info gvfs gphoto2, for the curious. Thanks, -Andy Firstly, I don't use Gnome and our cameras are different. This may not matter for your setup but thought it worth checking into. I have this for my Canon in make.conf: CAMERAS=canon ptp2 I use the ptp2 and most likely need to remove the other but you may need to set yours to something that your camera uses. CAMERAS=ptp2 just may work. Usually a emerge -pv package will show the options available. It does here anyway. Hope that helps. Dale :-) :-) Alas, changing CAMERAS didn't work. But I'm not surprised, as gphoto2 has always found the camera just fine, regardless of what Gnome thinks. I suspect that my issue is closer to a libgphoto2/gvfs incompatibility, but I've no data on which to test that. I suppose I could just start compiling ~arch masked builds of libgphoto2 and see if any of them stick, but I would love some sort of cleaner answer. Thanks, -Andy OK, so I decided to try around with different combinations, and it turns out I actually was running a ~arch version of libgphoto2 (I had unmasked 2.4* for compatibility with gthumb-2.12, iirc). Downgrading from libgphoto2-2.4.10 to -2.4.9 fixed things. Why? :) Thanks, -Andy
Re: [gentoo-user] gvfs, cameras, and me
On Sun, Dec 19, 2010 at 11:25 PM, Andy Wilkinson drukar...@gmail.com wrote: So, the only issue that I consistently have in Gentoo anymore is that there exist periods of time (probably coincident with gphoto2 or gvfs upgrades) wherein I can't automount my PTP digital camera (a Nikon D60, if it's relevant) and use gthumb to import my photos. I'm able to use gphoto2 to do so just fine, and so I do, but it bothers me that the way I'd prefer to do things doesn't work the way I'd like it to. Currently I'm in a doesn't work phase, as you may have surmised. To make matters worse, when gvfs/nautilus doesn't see the camera at all, I have no idea at all how to find out what messages might have been sent where, or why gvfs might not be seeing it, or what-have-you. None of the usual suspects (dmesg, /var/log/messages, ~/.xsession-errors) have anything useful. dmesg does at least tell me that I'm seeing the USB device properly. Is there a tried-and-true method of at least troubleshooting this sort of issue, or am I stuck throwing darts at the different gphoto2 and gvfs builds in portage? Hi, Probably more important is libgphoto2 instead of gphoto2 standalone package. libgphoto2 includes the udev rules for digital cameras, for example. (You might need to change the default mode that they set.) Your user needs to be in the plugdev group, too. Does it work as root? If so then maybe it's a permission issue. I don't use any of the software you've mentioned except for gphoto2, so I'm not sure how they work but you can do the usual monitoring udev (using udevadm) and dbus (using dbus-monitor) etc. to see what's going on. Maybe there'll be some error or something will stand out as being obviously wrong.
[gentoo-user] gvfs, cameras, and me
So, the only issue that I consistently have in Gentoo anymore is that there exist periods of time (probably coincident with gphoto2 or gvfs upgrades) wherein I can't automount my PTP digital camera (a Nikon D60, if it's relevant) and use gthumb to import my photos. I'm able to use gphoto2 to do so just fine, and so I do, but it bothers me that the way I'd prefer to do things doesn't work the way I'd like it to. Currently I'm in a doesn't work phase, as you may have surmised. To make matters worse, when gvfs/nautilus doesn't see the camera at all, I have no idea at all how to find out what messages might have been sent where, or why gvfs might not be seeing it, or what-have-you. None of the usual suspects (dmesg, /var/log/messages, ~/.xsession-errors) have anything useful. dmesg does at least tell me that I'm seeing the USB device properly. Is there a tried-and-true method of at least troubleshooting this sort of issue, or am I stuck throwing darts at the different gphoto2 and gvfs builds in portage? I've attached emerge --info gvfs gphoto2, for the curious. Thanks, -Andy Portage 2.1.9.24 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.34-gentoo-r12 x86_64) = System Settings = System uname: Linux-2.6.34-gentoo-r12-x86_64-AMD_Phenom-tm-_II_X4_945_Processor-with-gentoo-1.12.14 Timestamp of tree: Sun, 19 Dec 2010 22:30:23 + ccache version 2.4 [enabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11-r1 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox:2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.4_p6-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS=amd64 ACCEPT_LICENSE=* -...@eula dlj-1.1 PUEL skype-eula googleearth AdobeFlash-10.1 CBUILD=x86_64-pc-linux-gnu CFLAGS=-march=amdfam10 -O2 -pipe -msse4a -m3dnow CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT=/etc /usr/share/X11/xkb CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c CXXFLAGS=-march=amdfam10 -O2 -pipe -msse4a -m3dnow DISTDIR=/var/portage/distfiles EMERGE_DEFAULT_OPTS=--jobs=4 --load-average=9 --keep-going FEATURES=assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch GENTOO_MIRRORS=http://distfiles.gentoo.org; LANG=en_US.UTF-8 LDFLAGS=-Wl,-O1 -Wl,--as-needed LINGUAS=en_US en MAKEOPTS=-j6 PKGDIR=/usr/portage/packages PORTAGE_CONFIGROOT=/ PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage PORTDIR_OVERLAY=/var/lib/layman/gamerlay /usr/local/portage SYNC=rsync://rsync.gentoo.org/gentoo-portage USE=3dnow 3dnowext X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdr cleartype cli consolekit corefonts cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gnome gpm gtk iconv jpeg lcms ldap libnotify lock mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opencl opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session spell sse sse2 sse3 sse4a ssl startup-notification svg sysfs tcpd threads thunar tiff truetype type1 unicode usb vorbis x264 xcb xinerama xml xorg xulrunner xv xvid zeroconf zlib ALSA_CARDS=emu10k1 ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias COLLECTD_PLUGINS=df interface irq load memory rrdtool swap syslog ELIBC=glibc GPSD_PROTOCOLS=ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing
Re: [gentoo-user] gvfs, cameras, and me
Andy Wilkinson wrote: So, the only issue that I consistently have in Gentoo anymore is that there exist periods of time (probably coincident with gphoto2 or gvfs upgrades) wherein I can't automount my PTP digital camera (a Nikon D60, if it's relevant) and use gthumb to import my photos. I'm able to use gphoto2 to do so just fine, and so I do, but it bothers me that the way I'd prefer to do things doesn't work the way I'd like it to. Currently I'm in a doesn't work phase, as you may have surmised. To make matters worse, when gvfs/nautilus doesn't see the camera at all, I have no idea at all how to find out what messages might have been sent where, or why gvfs might not be seeing it, or what-have-you. None of the usual suspects (dmesg, /var/log/messages, ~/.xsession-errors) have anything useful. dmesg does at least tell me that I'm seeing the USB device properly. Is there a tried-and-true method of at least troubleshooting this sort of issue, or am I stuck throwing darts at the different gphoto2 and gvfs builds in portage? I've attached emerge --info gvfs gphoto2, for the curious. Thanks, -Andy Firstly, I don't use Gnome and our cameras are different. This may not matter for your setup but thought it worth checking into. I have this for my Canon in make.conf: CAMERAS=canon ptp2 I use the ptp2 and most likely need to remove the other but you may need to set yours to something that your camera uses. CAMERAS=ptp2 just may work. Usually a emerge -pv package will show the options available. It does here anyway. Hope that helps. Dale :-) :-)