Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359563 - libgphoto2 doesn't see USB cameras any more
Summary: libgphoto2 doesn't see USB cameras any more
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-19 21:32 UTC by Steve Arnold
Modified: 2011-03-20 22:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Arnold archtester gentoo-dev 2011-03-19 21:32:18 UTC
This is now broken with two cameras that used to work fine (a Canon SD1000 and a Nikon Coolpix).  Details...

udev appears to see the hardware just fine, but libgphoto (plus nautilus, gthumb, etc) doesn't see anything to import from (although mtp-probe seems to work on just about anything).  Absolutely nothing happens now in the Gnome desktop when I plug a camera in, and it seems to be completely invisible to the import tools.

Moving the libmtp rules so they run after libgphoto doesn't change anything, nor does removing libmtp completely.  Other than one or two previous glitches between libmtp and libgphoto devices, cameras have generally worked fine on Gentoo, and still work on ubuntu (which uses much older libgphoto packages).


# tail /var/log/messages 
Mar 19 14:11:01 rama kernel: usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 19 14:11:01 rama kernel: usb 2-2: Product: Canon Digital Camera
Mar 19 14:11:01 rama kernel: usb 2-2: Manufacturer: Canon Inc.
Mar 19 14:11:01 rama kernel: usb 2-2: SerialNumber: E42527DA32DF432DBCEDD11A0C8D0FFE
Mar 19 14:11:01 rama mtp-probe: checking bus 2, device 3: "/sys/devices/pci0000:00/0000:00:13.2/usb2/2-2"
Mar 19 14:11:01 rama mtp-probe: bus: 2, device: 3 was not an MTP device
Mar 19 14:11:12 rama acpid: client 2821[0:0] has disconnected
Mar 19 14:11:22 rama acpid: client connected from 2821[0:0]
Mar 19 14:11:22 rama acpid: 1 client rule loaded
Mar 19 14:14:00 rama kernel: usb 2-2: USB disconnect, address 3


Portage 2.1.9.43 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.11.3-r0, 2.6.37.2-rt x86_64)
=================================================================
System uname: Linux-2.6.37.2-rt-x86_64-AMD_Athlon-tm-_II_X4_640_Processor-with-gentoo-2.0.1
Timestamp of tree: Thu, 17 Mar 2011 09:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]    
app-shells/bash:     4.2_p8     
dev-java/java-config: 2.1.11-r3 
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/ccache:     2.4-r9     
dev-util/cmake:      2.8.4      
sys-apps/baselayout: 2.0.1-r1   
sys-apps/openrc:     0.7.0      
sys-apps/sandbox:    2.5        
sys-devel/autoconf:  2.13, 2.68 
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21       
sys-devel/gcc:       3.4.6-r2, 4.4.4-r2, 4.5.2
sys-devel/gcc-config: 1.4.1     
sys-devel/libtool:   2.4-r1     
sys-devel/make:      3.81-r2    
virtual/os-headers:  2.6.34 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"         
ACCEPT_LICENSE="* -@EULA @GPL-COMPATIBLE @OSI-APPROVED @EULA dlj-1.1 skype-eula googleearth AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"    
CFLAGS="-march=athlon64 -O2 -pipe -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"     
CONFIG_PROTECT="/etc /usr/share/bufrtables /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /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=athlon64 -O2 -pipe -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg ccache distcc distlocks fixlafiles fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"                     
FFLAGS=""
GENTOO_MIRRORS="http://XXXXXX/gentoo/"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en es de it"
MAKEOPTS="-j9"
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="/usr/local/portage"
SYNC="rsync://XXXXXX/gentoo-portage"
USE="3dnow 7zip X Xaw3d a52 aac aalib abiword accessibility acl acpi ada alsa amd64 amrnb ansi ao artworkextra aspell avahi avi bitmap-fonts bluetooth bonobo browserplugin bzip2 cairo caps cddb cdparanoia cdr clamav cli cracklib crypt css cups curl cxx daap dbus dga directfb divx4linux djvu dri drm dts dv dvd dvdr dvdread dynagraph emacs emf enchant encode evo exif faac faad fam fame fbcon ffmpeg fftw firefox3 fits flac fluidsynth fontconfig fortran freetype freetype2 gb gd gdbm geos gif gimp glib gmp gnome gnome-keyring gnutls gphoto2 gpm gps graphite graphviz grass gs gstreamer gtk gtkhtml gtkspell guile howl iconv icq id3 id3tag ieee1394 ifp imagemagick imap imlib inotify ipod ipv6 jabber jack jasper java jbig jikes jpeg jpeg2k jpg junit ladspa lame lapack lash latex lcms ldap libnotify libsamplerate lirc lm_sensors logrotate lzma mad midi mmx modules motif mp3 mp4 mpeg mplayer mtp mudflap multilib mysql mythtv nas nautilus ncurses netcdf nfs nls nolvmstatic normalize nptlonly nsplugin nss numeric objc ogdi ogg oggvorbis opengl openmp oss pam pcre pda pdf perl phonon pkcs11 plotutils png policykit postgres pppd pulseaudio python qt3support qt4 quicktime readline replaygain rtc ruby samba sasl sdl seamonkey session slp smartcard sndfile snmp sox spamassassin speex spell sse sse2 ssl subtitles svg sysfs taglib tcl tcpd theora threads tiff timidity tk truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vorbis wav wavpack webkit wifi xanim xcb xext xine xml xmp xorg xpm xulrunner xv xvid xvmc zeo zip zlib zvbi" ALSA_CARDS="emu10k1 hda-intel usb-audio" 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_digest 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 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 proxy proxy_connect proxy_http rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" 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 tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es de it" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="arm i386 mipsel ppc ppc64 x86_64" QEMU_USER_TARGETS="arm i386 mipsel ppc ppc64 x86_64" RUBY_TARGETS="ruby18" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="fbdev radeon vesa v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pacho Ramos gentoo-dev 2011-03-20 13:53:42 UTC
Maybe you don't have needed camera set in "CAMERAS" variable. Please take a look on libgphoto2 news item ("eselect news list")
Comment 2 Steve Arnold archtester gentoo-dev 2011-03-20 22:38:16 UTC
No, I have the right camera options enabled.  I removed the last vestiges of hal and rebuilt some things, but I think what fixed it was replacing the front-panel widget in the case with one that I knew was a solid unit.  Now both cameras work just fine (as expected) so I guess you can't always trust the case hardware to work like it should.  I'm short one 3.5" removable slot, but I have 4 rock-solid USB connectors so it was worth it.  Closing...