The one that is installed by the ebuild is blank. It should probably install a proper one.
which version of libgphoto2? can you include outputs like emerge info?
Sure: $ emerge -vp libgphoto2 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-libs/libgphoto2-2.1.2-r1 -nls -doc +jpeg $ emerge info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-gentoo-r2) ================================================================= System uname: 2.4.22-gentoo-r2 i686 AMD Athlon(tm) MP 2200+ Gentoo Base System version 1.4.3.10 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -fmerge-all-constants -fforce-addr -foptimize-register-move -frename-registers -mfpmath=sse,387 -mno-push-args -mno-align-stringops -maccumulate-outgoing-args" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -fmerge-all-constants -fforce-addr -foptimize-register-move -frename-registers -mfpmath=sse,387 -mno-push-args -mno-align-stringops -maccumulate-outgoing-args"DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache distcc digest autoaddcvs notitles cvs" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://mirrors.tds.net/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://adelie.polymtl.ca/ ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 3dnow acpi avi cdr crypt dvd encode esd gphoto2 gif gnome gtk gtk2 ipv6 java jpeg ldap mmx mozilla mpeg oggvorbis opengl oss pam pdflib perl pic png quicktime readline sdl spell sse ssl tiff truetype X xml xml2 xmms xv zlib" Is there anything else you need?
I had installed media-libs/libgphoto2-2.1.2-r1 after it was bumped stable. /etc/hotplug/usb/usbcam.usermap was empty. To help you with this bug I have rebuild media-libs/libgphoto2-2.1.2-r1 and now all known camera's are listed in /etc/hotplug/usb/usbcam.usermap. I suspect that the same happens when Chris re-emerge libgphoto2.
can one of you try running /usr/lib/libgphoto2/print-usb-usermap ? does it output anything? it is possible that the usb component hasn't been enabled and thus none of the usb device entries were compiled in.
It installs a proper usbmap the SECOND time you emerge the libraries.
moving usbcam.usermap generation to postinst() with different filename. print-usb-usermap needs the library files installed before it works properly, hence it only works on second merge, or new entries only get appended on second merge.