[Digikam-devel] [Bug 125696] New: digikam does not connect to USB camera with libgphoto-2.1.99

classic Classic list List threaded Threaded
52 messages Options
123
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 125696] New: digikam does not connect to USB camera with libgphoto-2.1.99

Michal Kolodziejczyk-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125696         
           Summary: digikam does not connect to USB camera with libgphoto-
                    2.1.99
           Product: digikam
           Version: 0.8.1
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: miko wp pl


Version:           0.8.1 (using KDE KDE 3.5.2)
Installed from:    Compiled From Sources
Compiler:          gcc 4.0.3
OS:                Linux

When libgphoto is upgraded to 2.1.99 (and probably upcoming 2.2 version), it does not connect to USB camera (I am using C 350D, but it probably does not matter). I have checked digikam 0.8.1 and 0.8.2-beta1.
Version 2.1.99 of libgphoto2 was released on December 26th.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 125696] digikam does not connect to USB camera with libgphoto-2.1.99

Bugzilla from ismail@kde.org
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125696         
ismail kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ismail kde org
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 125696] digikam does not connect to USB camera with libgphoto-2.1.99

Marcus Meissner-4
In reply to this post by Michal Kolodziejczyk-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125696         




------- Additional Comments From marcus jet franken de  2006-04-17 22:30 -------
does it work with the command line gphoto2?

which exact camera is this? C 350d? Canon 350D?

You might need to xswitch the camera "PTP" mode.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 125696] digikam does not connect to USB camera with libgphoto-2.1.99

Michal Kolodziejczyk-3
In reply to this post by Michal Kolodziejczyk-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125696         




------- Additional Comments From miko wp pl  2006-04-18 17:43 -------
It is Canon 350D. It works with command-line gphoto2 and with gtkam (which is a GUI). Digikam works again when you downgrade libgphoto2 to 2.1.6.
I always have the PTP mode on.
In my opinion, digikam is not compatible with libgphoto2 2.1.99, at least when it comes to connecting to the camera with USB.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 125696] digikam does not connect to USB camera with libgphoto-2.1.99

kent-15
In reply to this post by Michal Kolodziejczyk-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125696         




------- Additional Comments From kent thor arrrr com  2006-04-23 22:26 -------
I've been dabbling with this bug for a few months now with a Canon A620, after having downgraded to 2.1.6 and back and forth.  I saw an addition in the gphoto2 docs about the print-usb-usermap being depreciated.  With the pre 2.1.99 I have to  add a special entry for the camera in the .usermap to use it as a generic PTP camera.  After installing 2.1.99 there is no camera listing at all in digikam and thus no functionality.  Using the command line gphoto2 and gtkam, the A620 is properly detected.

Relevent line from gphoto2 doc:
Note (TODO).   print-usb-usermap is deprecated as of 2.1.99.1. Use print-camera-list instead. Description of udev rules and HAL setup missing here.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 125696] digikam does not connect to USB camera with libgphoto-2.1.99

Bugzilla from tropikhajma@seznam.cz
In reply to this post by Michal Kolodziejczyk-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125696         




------- Additional Comments From tropikhajma seznam cz  2006-06-10 15:20 -------
the bug is present in 0.8.2-rc1 in Mandriva Cooker. Downgrading to libgphoto2-2.1.6-8 fixes it for me.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 125696] digikam does not connect to USB camera with libgphoto-2.1.99

Chris Peikert
In reply to this post by Michal Kolodziejczyk-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125696         




------- Additional Comments From cpeikert alum mit edu  2006-06-19 17:20 -------
I see this bug as well, with the new gphoto 2.2.0 release in Debian unstable.  I have a "generic PTP camera" set up in digikam, which worked under gphoto 2.1.6 with my PowerShot SD450.  Now digikam will not connect to the camera at all to download thumbnails etc, nor will it auto-detect my camera.

The camera works fine from the command line with the gphoto2 utility: auto-detection, downloads, etc.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 125696] digikam does not connect to USB camera with libgphoto-2.1.99

Marcus Meissner-4
In reply to this post by Michal Kolodziejczyk-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125696         




------- Additional Comments From marcus jet franken de  2006-06-19 17:23 -------
libgphoto2 2.2.0 has a new library major version. you need to recompile digikam very likely.

you can see this if you try to list all available cameras in digikam.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 125696] digikam does not connect to USB camera with libgphoto-2.1.99

Chris Peikert
In reply to this post by Michal Kolodziejczyk-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125696         




------- Additional Comments From cpeikert alum mit edu  2006-06-19 17:49 -------
I have found a fix to this bug, for Debian at least (no recompile of digikam needed).

Install the libgphoto2-2-dev package.  Then everything works fine in digikam: auto-detect, connecting to camera, downloading, etc.  None of these features work without the -dev package.

I cannot tell what is in that package that might make a difference: the only binaries I see are gphoto2-port-config, gphoto2-config, libgphoto2_port.so, and libgphoto2.so.  The rest are documentation files, headers, and various .a and .la camera libraries.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 125696] digikam does not connect to USB camera with libgphoto-2.1.99

Marcus Meissner-4
In reply to this post by Michal Kolodziejczyk-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125696         




------- Additional Comments From marcus jet franken de  2006-06-19 17:52 -------
then its likely the missing .la files for the camera drivers and port drivers.


While libtool .la files are usually only used during compilation, for libgphoto2 they are used during runtime too.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 125696] digikam does not connect to USB camera with libgphoto-2.1.99

Bugzilla from tomalbers@kde.nl
In reply to this post by Michal Kolodziejczyk-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125696         
tomalbers kde nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tomalbers kde nl
             Status|UNCONFIRMED                 |NEW
      everconfirmed|0                           |1



------- Additional Comments From tomalbers kde nl  2006-06-20 19:57 -------
Gilles, can't you link against this?
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 125696] digikam does not connect to USB camera with libgphoto-2.1.99

Bugzilla from hfiguiere@teaser.fr
In reply to this post by Michal Kolodziejczyk-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125696         




------- Additional Comments From hfiguiere teaser fr  2006-06-21 19:33 -------
libgphoto2 does not have a new major... It is still .so.2
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 125696] digikam does not connect to USB camera with libgphoto-2.1.99

Bugzilla from hfiguiere@teaser.fr
In reply to this post by Michal Kolodziejczyk-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125696         
hfiguiere teaser fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hfiguiere teaser fr
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 125696] digikam does not connect to USB camera with libgphoto-2.1.99

Bugzilla from ach@mpe.mpg.de
In reply to this post by Michal Kolodziejczyk-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125696         
ach mpe mpg de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ach mpe mpg de



------- Additional Comments From ach mpe mpg de  2006-06-22 00:27 -------
Reproduceable in Kubuntu/Dapper and SuSE 10.1.

#6 (Marcus Meisner)  #10 (Hubert Fuguiere):

also in Kubuntu/Dapper and debian/sid libghoto2 2.1.6 and 2.2.0 (rebuild debian
pkg in dapper) have both major version 2:

$ l 2.*/usr/lib/libgph*.so.2.*
-rw-r--r-- 1 ach ach 101800 2006-05-10 16:31 2.1.6/usr/lib/libgphoto2.so.2.0.3
-rw-r--r-- 1 ach ach 101696 2006-06-20 00:40 2.2/usr/lib/libgphoto2.so.2.1.0
$ objdump -p 2.*/usr/lib/libgph*.so.2.* | grep SONAME
  SONAME      libgphoto2.so.2
  SONAME      libgphoto2.so.2

Gilles and I tried to rebuild digikam with libgphoto2-2 installed.
Still without the 2.2.0's .la files camera list is empty.  So it's
a runtime, not a build time problem.

One difference between 2.1.6 and 2.2.0 is that the camera plugins
are
    /usr/lib/libgphoto2/2.1.6/libgphoto2_<type>.so
and
    /usr/lib/libghoto2/2.2.0/<type>.so
respectively.

With strace one gets:

$ strace digikam --detect-camera 2>&1 | grep /usr/lib/libgphoto2/2.2.0/
open("/usr/lib/libgphoto2/2.2.0/adc65.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgphoto2/2.2.0/adc65", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgphoto2/2.2.0/agfa_cl20.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgphoto2/2.2.0/agfa_cl20", O_RDONLY) = -1 ENOENT (No such file or directory)
...

and for gtkkam instead

allee(130) ~/tmp $ strace gtkam 2>&1 | grep /usr/lib/libgphoto2/2.2.0/
open("/usr/lib/libgphoto2/2.2.0/adc65.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgphoto2/2.2.0/adc65.so", O_RDONLY) = 5
open("/usr/lib/libgphoto2/2.2.0/agfa_cl20.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgphoto2/2.2.0/agfa_cl20.so", O_RDONLY) = 5

So while gtkam and digikam use the same libgphoto2

$ ldd /usr/bin/digikam | grep libgphoto
        libgphoto2.so.2 => /usr/lib/libgphoto2.so.2 (0xb6565000)
        libgphoto2_port.so.0 => /usr/lib/libgphoto2_port.so.0 (0xb653e000)
$ ldd /usr/bin/gtkam | grep libgphoto
        libgphoto2.so.2 => /usr/lib/libgphoto2.so.2 (0xb7f0c000)
        libgphoto2_port.so.0 => /usr/lib/libgphoto2_port.so.0 (0xb7f05000)

the sequence of files that the apps try to open differ.

    digikam:   .la, then ""
    gtkam:     .la, then .so

With the .la files installed digikam tries .la then .so as gtkam does
even without the .la files.  [the .la files are in kubuntu and debian
in the pkg libghoto2-2-dev, that's the reason why the hack/workaround
of installing the 2.2.0 devel pkgs fixes a runtime problem]


Both use the same ltdl library:

$ ldd /usr/bin/digikam /usr/bin/gtkam | grep ltdl
        libltdl.so.3 => /usr/lib/libltdl.so.3 (0xb62ec000)
        libltdl.so.3 => /usr/lib/libltdl.so.3 (0xb761d000)

I've no glue yet what goes wrong.   My guess is that somehow KDE seems
to influence the list of extentions and makes digikam/libghoto2 combo
fail to dynamicly load the camera drivers.

coolo ping?  ;)

Achim
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 125696] digikam does not connect to USB camera with libgphoto-2.1.99

Bugzilla from ach@mpe.mpg.de
In reply to this post by Michal Kolodziejczyk-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125696         




------- Additional Comments From ach mpe mpg de  2006-06-22 00:30 -------
FWIW: libghoto2 2.2.0 contains a subdir libltdl and the code in their
is at least compiled.

It's too late now to check if it's used/linked.

Nite!
Achim
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 125696] digikam does not connect to USB camera with libgphoto-2.1.99

Bugzilla from anaselli@linux.it
In reply to this post by Michal Kolodziejczyk-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125696         
anaselli linux it changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anaselli linux it
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 125696] digikam does not connect to USB camera with libgphoto-2.1.99

Gilles Caulier
In reply to this post by Michal Kolodziejczyk-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125696         
caulier.gilles free fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Camera GUI
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 125696] digikam does not connect to USB camera with libgphoto-2.1.99

FACORAT Fabrice
In reply to this post by Michal Kolodziejczyk-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125696         




------- Additional Comments From f.faber-pro ifrance com  2006-08-01 16:30 -------
gphoto2 2.2 is out and this bug is still valid.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 125696] digikam does not connect to USB camera with libgphoto-2.1.99

Erik Andrén
In reply to this post by Michal Kolodziejczyk-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125696         




------- Additional Comments From erik.andren gmail com  2006-08-31 14:55 -------
I can confirm this bug on Gentoo, using gphoto2 2.2 and a Canon Digital Ixus 50.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 125696] digikam does not connect to USB camera with libgphoto-2.1.99

Erik Andrén
In reply to this post by Michal Kolodziejczyk-3
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125696         
erik.andren gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |erik.andren gmail com
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
123