Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Camera's do not all mount
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
hlaube
n00b
n00b


Joined: 09 Jan 2016
Posts: 12

PostPosted: Tue Jan 12, 2016 12:55 pm    Post subject: Camera's do not all mount Reply with quote

Helllo,

I have a strange problem. After I have setup Gentoo, I want to import pictures from my cameras. Two of them do not getting reconiced as mass storrage, one gets.

My Canon and my Nikon not getting idetified, the Panasonnic is.

Code:
Output dmesg:
[   43.644447] usb 4-1.8: new high-speed USB device number 3 using ehci-pci
[   43.730558] usb 4-1.8: New USB device found, idVendor=04a9, idProduct=32a6
[   43.730563] usb 4-1.8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   43.730567] usb 4-1.8: Product: Canon Digital Camera
[   43.730569] usb 4-1.8: Manufacturer: Canon Inc.
[   43.730571] usb 4-1.8: SerialNumber: 13F138719D496F58C47E6085BF27FA40
[   76.652716] usb 4-1.8: USB disconnect, device number 3
[87014.531847] usb 4-1.8: new high-speed USB device number 4 using ehci-pci
[87014.617928] usb 4-1.8: New USB device found, idVendor=04b0, idProduct=0425
[87014.617933] usb 4-1.8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[87014.617936] usb 4-1.8: Product: NIKON DSC D300S
[87014.617938] usb 4-1.8: Manufacturer: NIKON
[87014.617941] usb 4-1.8: SerialNumber: 000006091376
[87027.231314] usb 4-1.8: USB disconnect, device number 4
[87104.961813] usb 4-1.7: new high-speed USB device number 5 using ehci-pci
[87105.047983] usb 4-1.7: New USB device found, idVendor=04da, idProduct=2372
[87105.047988] usb 4-1.7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[87105.047991] usb 4-1.7: Product: DMC-LX100
[87105.047993] usb 4-1.7: Manufacturer: Panasonic
[87105.047995] usb 4-1.7: SerialNumber: 0000000000000000000FX1L05250130
[87105.048373] usb-storage 4-1.7:1.0: USB Mass Storage device detected
[87105.048476] usb-storage 4-1.7:1.0: Quirks match for vid 04da pid 2372: 90
[87105.048510] scsi host6: usb-storage 4-1.7:1.0
[87106.048242] scsi 6:0:0:0: Direct-Access     MATSHITA DMC-LX100        0100 PQ: 0 ANSI: 5
[87106.048475] sd 6:0:0:0: Attached scsi generic sg5 type 0
[87106.049984] sd 6:0:0:0: [sde] Adjusting the sector count from its reported value: 31293440
[87106.049992] sd 6:0:0:0: [sde] 31293439 512-byte logical blocks: (16.0 GB/14.9 GiB)
[87106.051490] sd 6:0:0:0: [sde] Write Protect is off
[87106.051497] sd 6:0:0:0: [sde] Mode Sense: 23 00 00 00
[87106.052488] sd 6:0:0:0: [sde] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
[87106.053720] sd 6:0:0:0: [sde] Adjusting the sector count from its reported value: 31293440
[87106.080615]  sde: sde1
[87106.080621] sde: p1 size 31285248 extends beyond EOD, enabling native capacity
[87106.081340] sd 6:0:0:0: [sde] Adjusting the sector count from its reported value: 31293440
[87106.105647]  sde: sde1
[87106.105651] sde: p1 size 31285248 extends beyond EOD, truncated
[87106.106710] sd 6:0:0:0: [sde] Adjusting the sector count from its reported value: 31293440
[87106.108960] sd 6:0:0:0: [sde] Attached SCSI removable disk


First thought was that I missed use-flags for libgphoto2:

Code:
The use flags from media-libs/libgphoto2
Calculating dependencies... done!
[ebuild   R    ] media-libs/libgphoto2-2.5.8:0/6::gentoo  USE="exif jpeg nls -doc -examples -gd -serial" ABI_X86="(64) -32 (-x32)" CAMERAS="canon panasonic_coolshot panasonic_dc1000 panasonic_dc1580 -adc65 -agfa_cl20 -aox -ax203 -barbie -casio_qv -clicksmart310 -digigr8 -digita -dimagev -dimera3500 -directory -enigma13 -fuji -gsmart300 -hp215 -iclick -jamcam -jd11 -jl2005a -jl2005c -kodak_dc120 -kodak_dc210 -kodak_dc240 -kodak_dc3200 -kodak_ez200 -konica -konica_qm150 -largan -lg_gsm -mars -mustek -panasonic_l859 -pccam300 -pccam600 -pentax -polaroid_pdc320 -polaroid_pdc640 -polaroid_pdc700 -ptp2 -ricoh -ricoh_g3 -samsung -sierra -sipix_blink2 -sipix_web2 -smal -sonix -sony_dscf1 -sony_dscf55 -soundvision -spca50x -sq905 -st2205 -stv0674 -stv0680 -sx330z -topfield -toshiba_pdrm11 -tp6801" 0 KiB


Code:

 emerge --info
Portage 2.2.26 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.21-r1, 4.1.12-gentoo x86_64)
=================================================================
System uname: Linux-4.1.12-gentoo-x86_64-Intel-R-_Core-TM-_i3-2100_CPU_@_3.10GHz-with-gentoo-2.2
KiB Mem:    12200980 total,  11340896 free
KiB Swap:    4193276 total,   4193276 free
Timestamp of repository gentoo: Mon, 11 Jan 2016 11:30:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.4::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7-avx -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"

USE="X a52 aac acl acpi alsa amd64 avahi berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr egl emboss encode exif fam ffmpeg firefox flac fontconfig fortran gdbm gif glamor gphoto2 gpm graphicsmagick gstreamer gtk guile iconv icu infinality ipv6 java jpeg lcms ldap lensfun libnotify lm_sensors lzma mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nfsv4 nfsv41 nls nptl ogg openexr opengl openmp pam pango pcre pdf perl png policykit ppds python q32 qt3support qt4 raw readline sdl seccomp sensord session snmp spell sqlite sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis webkit wxwidgets x264 xattr xcb xml xrandr xv xvid zlib"

ABI_X86="64"

ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"

APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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"

CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author"

CAMERAS="canon panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l85"

COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"

CPU_FLAGS_X86="avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"

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 ublox ubx"

GRUB_PLATFORMS="efi-64 multiboot"

INPUT_DEVICES="evdev"

KERNEL="linux"

LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"

LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"

LINGUAS="de en en_GB en_US"

OFFICE_IMPLEMENTATION="libreoffice"

PHP_TARGETS="php5-5"

PYTHON_SINGLE_TARGET="python2_7"

PYTHON_TARGETS="python2_7 python3_4"

RUBY_TARGETS="ruby20 ruby21"

USERLAND="GNU"

VIDEO_CARDS="nouveau intel"

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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Tue Jan 12, 2016 1:06 pm    Post subject: Reply with quote

some camera (or phone) use a proprietary standard to access their content, some just act as mass storage.
you don't need gphoto at all for the ones acting like an hdd, but for the other, here comes gphoto

so you need nothing for your panasonic, and you need gphoto to get the pictures for your canon and nikon.
i don't remember the commands in gphoto to use to grab the pics, but that's what you should do, use the gphoto command to grab the pictures.
You devices are well detected, it doesn't mean gphoto will be able to use them, it just mean, they are detect and working as expect (by their manufacturer).
how and if they will be handle depend if your camera or its standard is known by gphoto or not.
Back to top
View user's profile Send private message
hlaube
n00b
n00b


Joined: 09 Jan 2016
Posts: 12

PostPosted: Tue Jan 12, 2016 1:20 pm    Post subject: Reply with quote

I tried that. photo2 is installed, when I hook up the nikon and issue

# ghoto2 -P

I get an error, that no cameras getting found.

I was years ago reading about setting udev-rules to mount usb-devices. Couls that be an option? I am earching for that actually.

Here the debug:
Code:

0.000013 main                        (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000048 main                        (2): gphoto2 2.5.8
0.000056 main                        (2): gphoto2 has been compiled with the following options:
0.000061 main                        (2):  + x86_64-pc-linux-gnu-gcc (C compiler used)
0.000065 main                        (2):  + popt (mandatory, for handling command-line parameters)
0.000069 main                        (2):  + exif (for displaying EXIF information)
0.000074 main                        (2):  + no cdk (for accessing configuration options)
0.000078 main                        (2):  + no aa (for displaying live previews)
0.000082 main                        (2):  + no jpeg (for displaying live previews in JPEG format)
0.000086 main                        (2):  + readline (for easy navigation in the shell)
0.000095 main                        (2): libgphoto2 2.5.8
0.000100 main                        (2): libgphoto2 has been compiled with the following options:
0.000105 main                        (2):  + INCOMPLETE CAMLIB SET (canon panasonic_coolshot)
0.000109 main                        (2):  + x86_64-pc-linux-gnu-gcc (C compiler used)
0.000113 main                        (2):  + ltdl (for portable loading of camlibs)
0.000117 main                        (2):  + EXIF (for special handling of EXIF files)
0.000123 main                        (2): libgphoto2_port 0.12.0
0.000127 main                        (2): libgphoto2_port has been compiled with the following options:
0.000132 main                        (2):  + x86_64-pc-linux-gnu-gcc (C compiler used)
0.000135 main                        (2):  + ltdl (for portable loading of camlibs)
0.000140 main                        (2):  + USB (libusb1, for USB cameras)
0.000143 main                        (2):  + no serial (for serial cameras)
0.000148 main                        (2):  + no resmgr (serial port access and locking)
0.000152 main                        (2):  + no ttylock (serial port locking)
0.000156 main                        (2):  + no lockdev (serial port locking)
0.000160 main                        (2): CAMLIBS env var not set, using compile-time default instead
0.000164 main                        (2): IOLIBS env var not set, using compile-time default instead
0.000168 main                        (2): invoked with following arguments:
0.000172 main                        (2):   --debug
0.000176 main                        (2):   --debug-logfile=my-logfile.txt
0.000180 main                        (2):   -P
0.000208 load_settings               (2): Creating gphoto config directory ('/home/herbert/.gphoto')
0.000233 verify_settings             (2): Can't open settings file '/home/herbert/.gphoto/settings' for reading.
0.000240 load_settings               (2): Loading settings from file '/home/herbert/.gphoto/settings'.
0.000247 load_settings               (2): Can't open settings file '/home/herbert/.gphoto/settings' for reading.
0.000253 load_settings               (2): Creating gphoto config directory ('/home/herbert/.gphoto')
0.000262 verify_settings             (2): Can't open settings file '/home/herbert/.gphoto/settings' for reading.
0.000267 load_settings               (2): Loading settings from file '/home/herbert/.gphoto/settings'.
0.000274 load_settings               (2): Can't open settings file '/home/herbert/.gphoto/settings' for reading.
0.000352 main                        (2): The user has not specified both a model and a port. Try to figure them out.
0.000362 gp_port_info_list_load      (2): Using ltdl to load io-drivers from '/usr/lib64/libgphoto2_port/0.12.0'...
0.000454 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.0/disk'.
0.000612 gp_port_library_list        (2): found fstab fsname /dev/sda1
0.000635 gp_port_library_list        (2): found fstab fsname /dev/sdb2
0.000650 gp_port_library_list        (2): found fstab fsname /dev/md0
0.000665 gp_port_library_list        (2): found fstab fsname /dev/sdb1
0.000680 gp_port_library_list        (2): found fstab fsname /dev/cdrom
0.000700 gp_port_library_list        (2): found fstab fsname /home/herbert/backup
0.000711 gp_port_library_list        (2): found fstab fsname /home/herbert/pictures
0.000722 gp_port_library_list        (2): found fstab fsname /home/herbert/music
0.000731 gp_port_library_list        (2): found fstab fsname /home/herbert/movies
0.000741 gp_port_library_list        (2): found fstab fsname /home/herbert/documents
0.000835 gp_port_library_list        (2): found mtab fsname /dev/sdb2
0.000848 gp_port_library_list        (2): found mtab fsname proc
0.000855 gp_port_library_list        (2): found mtab fsname tmpfs
0.000869 gp_port_library_list        (2): found mtab fsname dev
0.000880 gp_port_library_list        (2): found mtab fsname mqueue
0.000887 gp_port_library_list        (2): found mtab fsname devpts
0.000893 gp_port_library_list        (2): found mtab fsname shm
0.000904 gp_port_library_list        (2): found mtab fsname sysfs
0.000911 gp_port_library_list        (2): found mtab fsname debugfs
0.000925 gp_port_library_list        (2): found mtab fsname cgroup_root
0.000932 gp_port_library_list        (2): found mtab fsname selinuxfs
0.000945 gp_port_library_list        (2): found mtab fsname efivarfs
0.000959 gp_port_library_list        (2): found mtab fsname openrc
0.000976 gp_port_library_list        (2): found mtab fsname cpuset
0.001017 gp_port_library_list        (2): found mtab fsname cpu
0.001032 gp_port_library_list        (2): found mtab fsname cpuacct
0.001045 gp_port_library_list        (2): found mtab fsname freezer
0.001058 gp_port_library_list        (2): found mtab fsname /dev/sda1
0.001068 gp_port_library_list        (2): found mtab fsname /dev/md0
0.001077 gp_port_library_list        (2): found mtab fsname /dev/md00.001149 gp_port_library_list        (2): found mtab fsname nfsd
0.001156 gp_port_library_list        (2): found mtab fsname /dev/sde1
0.001205 foreach_func [gphoto2-port-info-list.c:237](0): Error during assembling of port list: 'Unspecified error' (-1).
0.001213 foreach_func                (2): Loaded '' ('^disk:') from '/usr/lib64/libgphoto2_port/0.12.0/disk'.
0.001219 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.0/ptpip'.
0.001312 foreach_func                (2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib64/libgphoto2_port/0.12.0/ptpip'.
0.001322 foreach_func                (2): Loaded '' ('^ptpip:') from '/usr/lib64/libgphoto2_port/0.12.0/ptpip'.
0.001327 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.0/usb1'.
0.006233 foreach_func                (2): Loaded '' ('^usb:') from '/usr/lib64/libgphoto2_port/0.12.0/usb1'.
0.006249 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:004,010') from '/usr/lib64/libgphoto2_port/0.12.0/usb1'.
0.006255 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.0/usbdiskdirect'.
0.006500 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.0/usbscsi'.
0.006767 gp_port_info_list_count     (2): Counting entries (5 available)...
0.006776 gp_port_info_list_count     (2): 2 regular entries available.
0.006793 gp_abilities_list_load_dir  (2): Using ltdl to load camera libraries from '/usr/lib64/libgphoto2/2.5.8'...
0.006828 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.8/canon'.
0.006841 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.8/panasonic_coolshot'.
0.006850 gp_abilities_list_load_dir  (2): Found 2 camera drivers.
0.007994 gp_port_info_list_count     (2): Counting entries (5 available)...
0.008018 gp_port_info_list_count     (2): 2 regular entries available.
0.008023 gp_port_new                 (2): Creating new device...
0.008031 gp_port_info_list_get_info  (2): Getting info of entry 0 (5 available)...
0.008116 gp_port_set_settings        (2): Setting settings...
0.008127 gp_port_info_list_get_info  (2): Getting info of entry 1 (5 available)...
0.012464 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.012477 gp_port_set_settings        (2): Setting settings...
0.012486 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:004,010, (new int=0, conf=-1, alt=-1) port usb:004,010
0.012491 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.012496 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.012548 gp_port_free                (2): Freeing port...
0.012554 gp_port_close               (2): Closing port...
0.012719 load_settings               (2): Creating gphoto config directory ('/home/herbert/.gphoto')
0.012738 verify_settings             (2): Can't open settings file '/home/herbert/.gphoto/settings' for reading.
0.012743 load_settings               (2): Loading settings from file '/home/herbert/.gphoto/settings'.
0.012750 load_settings               (2): Can't open settings file '/home/herbert/.gphoto/settings' for reading.
0.012756 load_settings               (2): Creating gphoto config directory ('/home/herbert/.gphoto')
0.012764 verify_settings             (2): Can't open settings file '/home/herbert/.gphoto/settings' for reading.
0.012769 load_settings               (2): Loading settings from file '/home/herbert/.gphoto/settings'.
0.012775 load_settings               (2): Can't open settings file '/home/herbert/.gphoto/settings' for reading.
0.012781 gp_camera_init              (2): Initializing camera...
0.012786 gp_camera_init              (2): Neither port nor model set. Trying auto-detection...
0.012794 gp_abilities_list_load_dir  (2): Using ltdl to load camera libraries from '/usr/lib64/libgphoto2/2.5.8'...
0.012828 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.8/canon'.
0.012835 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.8/panasonic_coolshot'.
0.012843 gp_abilities_list_load_dir  (2): Found 2 camera drivers.
0.013633 gp_port_info_list_load      (2): Using ltdl to load io-drivers from '/usr/lib64/libgphoto2_port/0.12.0'...
0.013674 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.0/disk'.
0.001086 gp_port_library_list        (2): found mtab fsname /dev/md0
0.001094 gp_port_library_list        (2): found mtab fsname /dev/md0
0.001102 gp_port_library_list        (2): found mtab fsname /dev/md0
0.001111 gp_port_library_list        (2): found mtab fsname /dev/md0
0.001120 gp_port_library_list        (2): found mtab fsname binfmt_misc
0.001136 gp_port_library_list        (2): found mtab fsname rpc_pipefs

0.014225 gp_port_library_list        (2): found mtab fsname nfsd
0.014232 gp_port_library_list        (2): found mtab fsname /dev/sde1
0.014268 foreach_func [gphoto2-port-info-list.c:237](0): Error during assembling of port list: 'Unspecified error' (-1).
0.014276 foreach_func                (2): Loaded '' ('^disk:') from '/usr/lib64/libgphoto2_port/0.12.0/disk'.
0.014282 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.0/ptpip'.
0.014413 foreach_func                (2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib64/libgphoto2_port/0.12.0/ptpip'.
0.014425 foreach_func                (2): Loaded '' ('^ptpip:') from '/usr/lib64/libgphoto2_port/0.12.0/ptpip'.
0.014430 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.0/usb1'.
0.018907 foreach_func                (2): Loaded '' ('^usb:') from '/usr/lib64/libgphoto2_port/0.12.0/usb1'.
0.018920 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:004,010') from '/usr/lib64/libgphoto2_port/0.12.0/usb1'.
0.018925 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.0/usbdiskdirect'.
0.019111 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.0/usbscsi'.
0.019335 gp_port_info_list_count     (2): Counting entries (5 available)...
0.019343 gp_port_info_list_count     (2): 2 regular entries available.
0.019348 gp_port_new                 (2): Creating new device...
0.019355 gp_port_info_list_get_info  (2): Getting info of entry 0 (5 available)...
0.019436 gp_port_set_settings        (2): Setting settings...
0.019446 gp_port_info_list_get_info  (2): Getting info of entry 1 (5 available)...
0.023428 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.023439 gp_port_set_settings        (2): Setting settings...
0.023448 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:004,010, (new int=0, conf=-1, alt=-1) port usb:004,010
0.023452 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.023457 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.023506 gp_port_free                (2): Freeing port...
0.023511 gp_port_close               (2): Closing port...
0.023682 gp_context_error            (0): Could not detect any camera
0.023747 gp_camera_free              (2): Freeing camera...
0.023753 gp_port_free                (2): Freeing port...
0.023759 gp_filesystem_reset         (2): resetting filesystem
0.023764 gp_filesystem_lru_clear     (2): Clearing fscache LRU list...
0.023768 gp_filesystem_lru_clear     (2): fscache LRU list already empty
0.023773 delete_all_folders          (2): Internally deleting all folders from '/'...
0.023777 lookup_folder               (2): Lookup folder '/'...
0.023782 lookup_folder               (2): Found! / is 0x737410
0.023786 recurse_delete_folder       (2): Recurse delete folder 0x737410//
0.000013 main                        (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.020147 main                        (2): gphoto2 2.5.8
0.020161 main                        (2): gphoto2 has been compiled with the following options:
0.020167 main                        (2):  + x86_64-pc-linux-gnu-gcc (C compiler used)
0.020172 main                        (2):  + popt (mandatory, for handling command-line parameters)
0.020176 main                        (2):  + exif (for displaying EXIF information)
0.020181 main                        (2):  + no cdk (for accessing configuration options)
0.020185 main                        (2):  + no aa (for displaying live previews)
0.020190 main                        (2):  + no jpeg (for displaying live previews in JPEG format)
0.020195 main                        (2):  + readline (for easy navigation in the shell)
0.020201 main                        (2): libgphoto2 2.5.8
0.020206 main                        (2): libgphoto2 has been compiled with the following options:
0.020211 main                        (2):  + INCOMPLETE CAMLIB SET (canon panasonic_coolshot)
0.020215 main                        (2):  + x86_64-pc-linux-gnu-gcc (C compiler used)
0.020219 main                        (2):  + ltdl (for portable loading of camlibs)
0.020224 main                        (2):  + EXIF (for special handling of EXIF files)
0.020230 main                        (2): libgphoto2_port 0.12.0
0.020235 main                        (2): libgphoto2_port has been compiled with the following options:
0.020240 main                        (2):  + x86_64-pc-linux-gnu-gcc (C compiler used)
0.020244 main                        (2):  + ltdl (for portable loading of camlibs)
0.020248 main                        (2):  + USB (libusb1, for USB cameras)
0.020253 main                        (2):  + no serial (for serial cameras)
0.020257 main                        (2):  + no resmgr (serial port access and locking)
0.020261 main                        (2):  + no ttylock (serial port locking)
0.020265 main                        (2):  + no lockdev (serial port locking)
0.020270 main                        (2): CAMLIBS env var not set, using compile-time default instead
0.020274 main                        (2): IOLIBS env var not set, using compile-time default instead
0.020279 main                        (2): invoked with following arguments:
0.020283 main                        (2):   --debug
0.020288 main                        (2):   --debug-logfile=my-logfile.txt
0.020292 main                        (2):   -P
0.020327 load_settings               (2): Creating gphoto config directory ('/home/herbert/.gphoto')
0.020355 verify_settings             (2): Can't open settings file '/home/herbert/.gphoto/settings' for reading.
0.020361 load_settings               (2): Loading settings from file '/home/herbert/.gphoto/settings'.
0.020369 load_settings               (2): Can't open settings file '/home/herbert/.gphoto/settings' for reading.
0.020376 load_settings               (2): Creating gphoto config directory ('/home/herbert/.gphoto')
0.020386 verify_settings             (2): Can't open settings file '/home/herbert/.gphoto/settings' for reading.
0.020391 load_settings               (2): Loading settings from file '/home/herbert/.gphoto/settings'.
0.020398 load_settings               (2): Can't open settings file '/home/herbert/.gphoto/settings' for reading.
0.020479 main                        (2): The user has not specified both a model and a port. Try to figure them out.
0.020491 gp_port_info_list_load      (2): Using ltdl to load io-drivers from '/usr/lib64/libgphoto2_port/0.12.0'...
0.020567 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.0/disk'.
0.020713 gp_port_library_list        (2): found fstab fsname /dev/sda1
0.020734 gp_port_library_list        (2): found fstab fsname /dev/sdb2
0.020743 gp_port_library_list        (2): found fstab fsname /dev/md0
0.020753 gp_port_library_list        (2): found fstab fsname /dev/sdb1
0.020762 gp_port_library_list        (2): found fstab fsname /dev/cdrom
0.020773 gp_port_library_list        (2): found fstab fsname /home/herbert/backup
0.020790 gp_port_library_list        (2): found fstab fsname /home/herbert/pictures
0.020801 gp_port_library_list        (2): found fstab fsname /home/herbert/music
0.020811 gp_port_library_list        (2): found fstab fsname /home/herbert/movies
0.020821 gp_port_library_list        (2): found fstab fsname /home/herbert/documents
0.020947 gp_port_library_list        (2): found mtab fsname /dev/sdb2
0.020963 gp_port_library_list        (2): found mtab fsname proc
0.020970 gp_port_library_list        (2): found mtab fsname tmpfs
0.020984 gp_port_library_list        (2): found mtab fsname dev
0.020996 gp_port_library_list        (2): found mtab fsname mqueue
0.021003 gp_port_library_list        (2): found mtab fsname devpts
0.021009 gp_port_library_list        (2): found mtab fsname shm
0.021021 gp_port_library_list        (2): found mtab fsname sysfs
0.021028 gp_port_library_list        (2): found mtab fsname debugfs
0.021042 gp_port_library_list        (2): found mtab fsname cgroup_root
0.021048 gp_port_library_list        (2): found mtab fsname selinuxfs
0.021062 gp_port_library_list        (2): found mtab fsname efivarfs
0.021075 gp_port_library_list        (2): found mtab fsname openrc
0.021091 gp_port_library_list        (2): found mtab fsname cpuset
0.021130 gp_port_library_list        (2): found mtab fsname cpu
0.021144 gp_port_library_list        (2): found mtab fsname cpuacct
0.021158 gp_port_library_list        (2): found mtab fsname freezer
0.021172 gp_port_library_list        (2): found mtab fsname /dev/sda1
0.021182 gp_port_library_list        (2): found mtab fsname /dev/md0
0.021190 gp_port_library_list        (2): found mtab fsname /dev/md0
0.021200 gp_port_library_list        (2): found mtab fsname /dev/md0
0.021209 gp_port_library_list        (2): found mtab fsname /dev/md0
0.021217 gp_port_library_list        (2): found mtab fsname /dev/md0
0.021226 gp_port_library_list        (2): found mtab fsname /dev/md0
0.021236 gp_port_library_list        (2): found mtab fsname binfmt_misc
0.021252 gp_port_library_list        (2): found mtab fsname rpc_pipefs
0.021265 gp_port_library_list        (2): found mtab fsname nfsd
0.021312 foreach_func [gphoto2-port-info-list.c:237](0): Error during assembling of port list: 'Unspecified error' (-1).
0.021320 foreach_func                (2): Loaded '' ('^disk:') from '/usr/lib64/libgphoto2_port/0.12.0/disk'.
0.021327 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.0/ptpip'.
0.021426 foreach_func                (2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib64/libgphoto2_port/0.12.0/ptpip'.
0.021436 foreach_func                (2): Loaded '' ('^ptpip:') from '/usr/lib64/libgphoto2_port/0.12.0/ptpip'.
0.021442 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.0/usb1'.
0.026752 foreach_func                (2): Loaded '' ('^usb:') from '/usr/lib64/libgphoto2_port/0.12.0/usb1'.
0.026774 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:004,003') from '/usr/lib64/libgphoto2_port/0.12.0/usb1'.
0.026781 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.0/usbdiskdirect'.
0.027032 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.0/usbscsi'.
0.027285 gp_port_info_list_count     (2): Counting entries (5 available)...
0.027294 gp_port_info_list_count     (2): 2 regular entries available.
0.027309 gp_abilities_list_load_dir  (2): Using ltdl to load camera libraries from '/usr/lib64/libgphoto2/2.5.8'...
0.027350 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.8/canon'.
0.027361 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.8/panasonic_coolshot'.
0.027370 gp_abilities_list_load_dir  (2): Found 2 camera drivers.
0.028681 gp_port_info_list_count     (2): Counting entries (5 available)...
0.028696 gp_port_info_list_count     (2): 2 regular entries available.
0.028701 gp_port_new                 (2): Creating new device...
0.028709 gp_port_info_list_get_info  (2): Getting info of entry 0 (5 available)...
0.028803 gp_port_set_settings        (2): Setting settings...
0.028814 gp_port_info_list_get_info  (2): Getting info of entry 1 (5 available)...
0.033343 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.033356 gp_port_set_settings        (2): Setting settings...
0.028814 gp_port_info_list_get_info  (2): Getting info of entry 1 (5 available)...
0.033343 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.033356 gp_port_set_settings        (2): Setting settings...
0.033366 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:004,003, (new int=0, conf=-1, alt=-1) port usb:004,003
0.033371 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.033376 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.033431 gp_port_free                (2): Freeing port...
0.033437 gp_port_close               (2): Closing port...
0.033646 load_settings               (2): Creating gphoto config directory ('/home/herbert/.gphoto')
0.033666 verify_settings             (2): Can't open settings file '/home/herbert/.gphoto/settings' for reading.
0.033672 load_settings               (2): Loading settings from file '/home/herbert/.gphoto/settings'.
0.033679 load_settings               (2): Can't open settings file '/home/herbert/.gphoto/settings' for reading.
0.033685 load_settings               (2): Creating gphoto config directory ('/home/herbert/.gphoto')
0.033693 verify_settings             (2): Can't open settings file '/home/herbert/.gphoto/settings' for reading.
0.033698 load_settings               (2): Loading settings from file '/home/herbert/.gphoto/settings'.
0.033705 load_settings               (2): Can't open settings file '/home/herbert/.gphoto/settings' for reading.
0.033711 gp_camera_init              (2): Initializing camera...
0.033716 gp_camera_init              (2): Neither port nor model set. Trying auto-detection...
0.033725 gp_abilities_list_load_dir  (2): Using ltdl to load camera libraries from '/usr/lib64/libgphoto2/2.5.8'...
0.033760 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.8/canon'.
0.033768 foreach_func                (2): Found '/usr/lib64/libgphoto2/2.5.8/panasonic_coolshot'.
0.033776 gp_abilities_list_load_dir  (2): Found 2 camera drivers.
0.034981 gp_port_info_list_load      (2): Using ltdl to load io-drivers from '/usr/lib64/libgphoto2_port/0.12.0'...
0.035027 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.0/disk'.
0.035127 gp_port_library_list        (2): found fstab fsname /dev/sda1
0.035146 gp_port_library_list        (2): found fstab fsname /dev/sdb2
0.035155 gp_port_library_list        (2): found fstab fsname /dev/md0
0.035164 gp_port_library_list        (2): found fstab fsname /dev/sdb1
0.035173 gp_port_library_list        (2): found fstab fsname /dev/cdrom
0.035183 gp_port_library_list        (2): found fstab fsname /home/herbert/backup
0.035193 gp_port_library_list        (2): found fstab fsname /home/herbert/pictures
0.035202 gp_port_library_list        (2): found fstab fsname /home/herbert/music
0.035211 gp_port_library_list        (2): found fstab fsname /home/herbert/movies
0.035221 gp_port_library_list        (2): found fstab fsname /home/herbert/documents
0.035296 gp_port_library_list        (2): found mtab fsname /dev/sdb2
0.035308 gp_port_library_list        (2): found mtab fsname proc
0.035315 gp_port_library_list        (2): found mtab fsname tmpfs
0.035327 gp_port_library_list        (2): found mtab fsname dev
0.035338 gp_port_library_list        (2): found mtab fsname mqueue
0.035345 gp_port_library_list        (2): found mtab fsname devpts
0.035351 gp_port_library_list        (2): found mtab fsname shm
0.035362 gp_port_library_list        (2): found mtab fsname sysfs
0.035369 gp_port_library_list        (2): found mtab fsname debugfs
0.035381 gp_port_library_list        (2): found mtab fsname cgroup_root
0.035388 gp_port_library_list        (2): found mtab fsname selinuxfs
0.035400 gp_port_library_list        (2): found mtab fsname efivarfs
0.035413 gp_port_library_list        (2): found mtab fsname openrc
0.035428 gp_port_library_list        (2): found mtab fsname cpuset
0.035464 gp_port_library_list        (2): found mtab fsname cpu
0.035485 gp_port_library_list        (2): found mtab fsname cpuacct
0.035498 gp_port_library_list        (2): found mtab fsname freezer
0.035510 gp_port_library_list        (2): found mtab fsname /dev/sda1
0.035520 gp_port_library_list        (2): found mtab fsname /dev/md0
0.035529 gp_port_library_list        (2): found mtab fsname /dev/md0
0.035538 gp_port_library_list        (2): found mtab fsname /dev/md0
0.035546 gp_port_library_list        (2): found mtab fsname /dev/md0
0.035554 gp_port_library_list        (2): found mtab fsname /dev/md0
0.035563 gp_port_library_list        (2): found mtab fsname /dev/md0
0.035571 gp_port_library_list        (2): found mtab fsname binfmt_misc
0.035586 gp_port_library_list        (2): found mtab fsname rpc_pipefs
0.035599 gp_port_library_list        (2): found mtab fsname nfsd
0.035634 foreach_func [gphoto2-port-info-list.c:237](0): Error during assembling of port list: 'Unspecified error' (-1).
0.035643 foreach_func                (2): Loaded '' ('^disk:') from '/usr/lib64/libgphoto2_port/0.12.0/disk'.
0.035648 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.0/ptpip'.
0.035739 foreach_func                (2): Loaded 'PTP/IP Connection' ('ptpip:') from '/usr/lib64/libgphoto2_port/0.12.0/ptpip'.
0.035748 foreach_func                (2): Loaded '' ('^ptpip:') from '/usr/lib64/libgphoto2_port/0.12.0/ptpip'.
0.035754 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.0/usb1'.
0.040321 foreach_func                (2): Loaded '' ('^usb:') from '/usr/lib64/libgphoto2_port/0.12.0/usb1'.
0.040336 foreach_func                (2): Loaded 'Universal Serial Bus' ('usb:004,003') from '/usr/lib64/libgphoto2_port/0.12.0/usb1'.
0.040342 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.0/usbdiskdirect'.
0.040534 foreach_func                (2): Called for filename '/usr/lib64/libgphoto2_port/0.12.0/usbscsi'.
0.040763 gp_port_info_list_count     (2): Counting entries (5 available)...
0.040772 gp_port_info_list_count     (2): 2 regular entries available.
0.040777 gp_port_new                 (2): Creating new device...
0.040784 gp_port_info_list_get_info  (2): Getting info of entry 0 (5 available)...
0.040851 gp_port_set_settings        (2): Setting settings...
0.040860 gp_port_info_list_get_info  (2): Getting info of entry 1 (5 available)...
0.045058 gp_port_set_timeout         (2): Setting port timeout to 5000 milliseconds.
0.045070 gp_port_set_settings        (2): Setting settings...
0.045080 gp_libusb1_update           (2): (old int=0, conf=-1, alt=-1) port usb:004,003, (new int=0, conf=-1, alt=-1) port usb:004,003
0.045085 gp_libusb1_update           (2): lowlevel libusb1 port not yet opened, no need for libusb changes
0.045090 gp_abilities_list_detect_usb(2): Auto-detecting USB cameras...
0.045142 gp_port_free                (2): Freeing port...
0.045147 gp_port_close               (2): Closing port...
0.045329 gp_context_error            (0): Could not detect any camera
0.045425 gp_camera_free              (2): Freeing camera...
0.045436 gp_port_free                (2): Freeing port...
0.045446 gp_filesystem_reset         (2): resetting filesystem
0.045454 gp_filesystem_lru_clear     (2): Clearing fscache LRU list...
0.045461 gp_filesystem_lru_clear     (2): fscache LRU list already empty
0.045470 delete_all_folders          (2): Internally deleting all folders from '/'...
0.045477 lookup_folder               (2): Lookup folder '/'...
0.045485 lookup_folder               (2): Found! / is 0x1a7e410
0.045493 recurse_delete_folder       (2): Recurse delete folder 0x1a7e410//
[quote][/quote]
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Tue Jan 12, 2016 1:47 pm    Post subject: Reply with quote

told you already, your devices appears in dmesg, so they are detected.

there's no usb rules that would let you expose their content if they aren't using the mass storage standard.

if they are mass storage, nothing is need, and if they are not, you need gphoto and it need to know the device to speak with it.
if your device is not in its list, or the protocol the device use is not in its list ; you are just doom.

you better google howto use gphoto.
Back to top
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1746

PostPosted: Tue Jan 12, 2016 5:04 pm    Post subject: Reply with quote

If it does not expose mass storage, you might want to make friends with MTP or PTP.
MTP is newer, you can use e.g. gmtp or mtpfs (fuse-based stuff) to access devices supporting it.
PTP is kinda it's predecessor, any photo album will let you import photos this way. I've been using fspot, digikam, and shotwell for this, though digikam was painfully slow at that time.
Finally, you can use USB adapter.... Many laptops come with slots for SD/MMC cards.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5761

PostPosted: Wed Jan 13, 2016 5:01 pm    Post subject: Reply with quote

krinn wrote:
some camera (or phone) use a proprietary standard to access their content, some just act as mass storage.
you don't need gphoto at all for the ones acting like an hdd, but for the other, here comes gphoto

I think the problem here is that this gphoto has been built with support for nothing *but* proprietary vendor-specific standards for obsolete models, instead of leaving the sane default (ptp2) enabled.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Wed Jan 13, 2016 6:47 pm    Post subject: Reply with quote

hlaube,

You cannot safely mount a filesystem in two places at the same time. This means that for usb-storage to work, the storage device first has to be unmounted from the other device, such as camera or mobile phone. This isn't always user friendly.

To address that Picture Transport Protcol (PTP) was devised. Unfortunately everybody does it differently and it even varies from product to product from the same vendor. Some devices can be switched between USB Storage and PTP modes. Look in the menu system in the device donating the storage.

More recently, Media Transfer Protocol (MTP) has come into use. I've not heard of devices that support MTP also supporting USB Storage.

You need to assess each device to see what it supports and make your Gentoo match.
On the bright side, Gentoo can support usb-storage, PTP and MTP at the same time.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum