Bug 152382 - unable to view photo
Summary: unable to view photo
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 0.9.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-15 20:12 UTC by jps
Modified: 2017-08-16 06:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jps 2007-11-15 20:12:40 UTC
Version:           0.9.2-final (using KDE KDE 3.5.7)
Installed from:    SuSE RPMs
OS:                Linux

on Suse 10.3
when we connect camera, and select camera dialog box, the analyse folder execute but photos are'nt view
if we take the memory card and open it directly, we can get photos
it's the same for Ricoh or Canon camera 
there where no pb on suse 10.2
Comment 1 jps 2007-11-15 20:21:40 UTC
dmesg report: "usb 1-2: usbfs: USBDEVFS_CONTROL failed cmd kio_kamera rqt 33 rq 102 len 0 ret -110"
Comment 2 Arnd Baecker 2007-11-15 20:45:44 UTC
This is most likely a problem with the setup for gphoto2 which is used
to communicate with the camera.

Could you try the following commands and report their output:
a) connect camera, what is the output of dmesg
   (only the camera related part)
b) gphoto2 --list ports
c) gphoto2 --auto-detect -L
d) gphoto2 --abilities
e) gphoto2 --list-folders
Comment 3 caulier.gilles 2007-11-15 20:55:41 UTC
Arnd, 

Sound like a problem already seen in this room and explained by Marcus from Gphoto2 project: the famous limitation of max pictures displayable from camera by gphoto2. Do you remember ?

JPS, How many picture are hosted by you camera card currently ?

Gilles
Comment 4 jps 2007-11-15 21:21:28 UTC
thanks for yor attention and celerity

for the first question:
gphoto2 --list-ports
Devices found: 17
Path                             Description
--------------------------------------------------------------
disk:/home                       Media 'Volume (reiserfs)'
disk:/usr                        Media 'Volume (reiserfs)'
disk:/                           Media 'Volume (reiserfs)'
disk:/boot                       Media 'Volume (reiserfs)'
disk:/home/win_linux             Media 'Disque local'
disk:/home/messagerie            Media 'Volume (ext2)'
disk:/usr/local                  Media 'Volume (ext2)'
disk:/home/win2k                 Media 'Volume (ntfs)'
ptpip:                           PTP/IP Connection
serial:/dev/ttyS0                Serial Port 0
serial:/dev/ttyS1                Serial Port 1
serial:/dev/ttyS2                Serial Port 2
serial:/dev/ttyS3                Serial Port 3
usb:                             Universal Serial Bus
usb:003,003                      Universal Serial Bus
usb:001,008                      Universal Serial Bus
usb:001,002                      Universal Serial Bus



gphoto2 --auto-detect -L
Model                          Port
----------------------------------------------------------
Ricoh Caplio R1v               usb:
Ricoh Caplio R1v               usb:001,008
There is no file in folder '/'.
*** Error (-34: 'Error reading from the port') ***

gphoto2 --abilities
Abilities for camera             : Ricoh Caplio R1v
Serial port support              : no
USB support                      : yes
Capture choices                  :
                                 : Capture not supported by the driver
Configuration support            : no
Delete selected files on camera  : yes
Delete all files on camera       : no
File preview (thumbnail) support : no
File upload support              : no

gphoto2 --list-folders
*** Error (-34: 'Error reading from the port') ***


for the second question about how many picture, response is 140
Comment 5 Arnd Baecker 2007-11-15 21:57:44 UTC
hmm, sounds a bit like a rights issue to me.
Does
  gphoto2 --auto-detect -L 
work without error as root?

(And, just for completeness, I forgot to ask about the version of gphoto2, 
i.e. what does `gphoto2 -v` give?)
Comment 6 caulier.gilles 2007-11-15 22:00:13 UTC
Arnd,

yes, current files limitation is around 1024 in gphoto2 drivers if i remember...

Gilles
Comment 7 Marcus Meissner 2007-11-15 22:14:52 UTC
The Ricoh Caplio series has known problems with libgphoto2 on openSUSE 10.3

Novell Bug is https://bugzilla.novell.com/show_bug.cgi?id=290542

You can try switching it to Mass Storage or Print mode, but I am not sure if it will help.
Comment 8 jps 2007-11-15 22:27:36 UTC
Arnd,
gphoto2 --auto-detect -L done error as root

on user account, I obtain:
gphoto2 --auto-detect -L
Modèle                        Port
----------------------------------------------------------

*** Erreur ***
Impossible de détecter aucun appareil
*** Erreur (-105 : « Modèle inconnu ») ***


gphoto2 -v:
gphoto2 2.4.0

Copyright (c) 2000-2006 Lutz Mueller and others

gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.

This version of gphoto2 is using the following software versions and options:
gphoto2         2.4.0          gcc, popt(m), exif, cdk, no aa, jpeg, readline
libgphoto2      2.4.0          gcc, ltdl, EXIF
libgphoto2_port 0.8.0          gcc, ltdl, USB, serial resmgr locking



Gilles, thank's for attention
Marcus, it's the same pb with Canon camera, 
it was good under suse 10.2 and suse 10
Comment 9 Arnd Baecker 2007-11-23 18:43:33 UTC
I was just told off-list by Andreas Kreibig, 
that there is a new package for SUSE
which might solve the issue discussed here:
  libgphoto2, 2.4.0-25.2
Changelog
* Mi Okt 31 2007 - meissner@suse.de
- Fix various problems in libgphoto2:
        - do not USB reset the Canons. It breaks Canon EOS cameras
  occasionaly. #339366
        - do not detach the Mass Storage driver.
  This one breaks some Mass Storage cameras in KDE I think.
        - do not probe for MTP devices, this hangs some Olympus
  cameras #338000, #295479
        - increase interrupt timeout for Canon cameras a bit.
        - fixed WMA upload to MTP devices
- some USB ids added


jps, could you try this and report back whether this also helps in your case here? 
Thanks a lot in advance, Arnd
Comment 10 jps 2007-11-23 21:02:15 UTC
Arnd,
I just auto update suse 10.3, and package "libgphoto2, 2.4.0-25.2" was in this update
but, the pb is the same
digikam (or konqueror) are not able to read the memory of camera
for the moment, I read it directly puting memory in my PC reader card 
thanks for attention
Comment 11 Marcus Meissner 2007-11-24 00:48:28 UTC
The update does not fix the Ricoh Caplio firmware issues.

I still have not pinned down the problem. :/
Comment 12 jps 2007-11-25 10:55:06 UTC
Marcus,
after update, I try to read a canon 400D and a new powershot A550
it's Ok
it's seem the patch correct the pb for Canon
Comment 13 caulier.gilles 2008-12-05 14:17:49 UTC
Jean Paul, Marcus,

What's news about this file ? It still valid ?

Gilles Caulier
Comment 14 caulier.gilles 2008-12-19 11:32:39 UTC
Jean Paul, Marcus,

No Fresh News ???

Gilles Caulier
Comment 15 caulier.gilles 2009-05-13 10:48:50 UTC
I f i read #12, problem sound like fixed in libgphoto. I close this file now.

Please re-open if necessary...

Gilles Caulier