Bug 335870 - Nexus 4 in PTP mode gets error: The specified camera ("/org/kde/solid/udev/...") is not supported
Summary: Nexus 4 in PTP mode gets error: The specified camera ("/org/kde/solid/udev/.....
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-UMS (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-06 09:08 UTC by Tim Edwards
Modified: 2018-10-13 14:56 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Edwards 2014-06-06 09:08:00 UTC
When I try to import photos from my Nexus 4 smartphone connected via USB in PTP Digikam gives the error "The specified camera ("/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0") is not supported"

I'm using Kubuntu 14.04 with the updated KDE and Digikam packages from the Kubuntu team's PPA https://launchpad.net/~kubuntu-ppa

Reproducible: Always

Steps to Reproduce:
1. Plug in the Nexus 4 via USB. Set it to use PTP mode
2. Click KDE Device Notifier icon->Camera->Download Photos with Digikam
Actual Results:  
Digikam starts up but gives error "The specified camera ("/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0") is not supported". Unable to access photos on phone.

Expected Results:  
Digikam starts up and shows a listing of all photos available on my phone.

Package versions:
ii  digikam                                     4:4.0.0-0ubuntu1~ubuntu14.04~ppa1          amd64        digital photo management application for KDE
ii  digikam-data                                4:4.0.0-0ubuntu1~ubuntu14.04~ppa1          all          digiKam architecture-independant data
ii  libkface-data                               1.0~digikam4.0.0-0ubuntu1~ubuntu14.04~ppa1 all          Data files for libkface
ii  libkface2                                   1.0~digikam4.0.0-0ubuntu1~ubuntu14.04~ppa1 amd64        LibFace wrapper for Qt/C++
ii  libkgeomap-data                             1.0~digikam4.0.0-0ubuntu1~ubuntu14.04~ppa1 all          Data files for libkgeomap
ii  libkgeomap1                                 1.0~digikam4.0.0-0ubuntu1~ubuntu14.04~ppa1 amd64        World-map wrapper to browse and arrange photos over a map

ii  gphoto2                                     2.5.3-1                                    amd64        digital camera command-line client
ii  libgphoto2-6:amd64                          2.5.3.1-1ubuntu2                           amd64        gphoto2 digital camera library
ii  libgphoto2-6:i386                           2.5.3.1-1ubuntu2                           i386         gphoto2 digital camera library
ii  libgphoto2-l10n                             2.5.3.1-1ubuntu2                           all          gphoto2 digital camera library - localized messages
ii  libgphoto2-port10:amd64                     2.5.3.1-1ubuntu2                           amd64        gphoto2 digital camera port library
ii  libgphoto2-port10:i386                      2.5.3.1-1ubuntu2                           i386         gphoto2 digital camera port library
Comment 1 caulier.gilles 2014-06-07 04:22:44 UTC
Sound like the problem is relevant of KDE Solid interface.
Comment 2 Graeme Hewson 2014-06-13 10:29:11 UTC
I have the same problem with a Canon Digital Ixus 800 IS.
Comment 3 Graeme Hewson 2014-06-13 11:01:00 UTC
I've opened a bug for Kubuntu at https://bugs.launchpad.net/digikam/+bug/1329726.
Comment 4 Philippe Cloutier 2014-08-02 20:40:29 UTC
I am getting this message when opening Digikam from Device Notifier with my mainstream Canon PowerShot SX200 iS, which has been supported for years. Digikam appears to work fine though.

I am getting this on the same Debian testing install as the one I used 2 months ago, when I didn't get this problem with the same hardware. Meanwhile, Solid was upgraded 4.13.1 to 4.13.3. I can't easily test the previous version.

I use Linux 3.14.12. I migrated from sysvinit to systemd since I last saw things working correctly.

Before noticing this bug, I realized that Device Notifier was showing my camera duplicated, as reported in bug 336523. Either these bugs appeared nearly at the same time, or they are related. Moreover, one of the camera items shown (the first) causes this bug, while the other doesn't.
Comment 5 SinClaus 2014-08-14 13:40:15 UTC
I've the same bug with all my cameras, but all ones successfully autodetected by digikam.
Comment 6 Thayne 2014-10-24 02:30:39 UTC
I have the same problem with my Kodak M340.

I can open the camera:/ url with dolphin, gwenview, or konqueror, and can open sub folders, however I can't see any of the photos.

I can however import photos using darktable. But that is inconvenient, and doesn't provide a way to delete photos.
Comment 7 hamelg 2014-11-27 19:46:44 UTC
Same thing here on archlinux :
digikam 4.5.0
libsolid 4.14.3
camera is Canon IXUS 115HS
Camera detection is ok in the kde widget device notifier and import photos works flawlessly with kio camera:/, gphoto2 and gwenview.
Digikam puts this error when trying to detect camera :
digikam(10794)/digikam (core) Digikam::DigikamApp::checkSolidCamera: Solid returns unsupported driver handle for 
gphoto2
Comment 8 Rainer Dorsch 2015-12-31 13:39:38 UTC
I have the same issue with Debian 8.2 (stable).

What works is to import photos through Import->Cameras->USB PTP Class Camera

Was this ever investigated in more detail?

Rainer
Comment 9 Andrew Crouthamel 2018-09-04 15:46:10 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug. Please try again with the latest version and submit a new bug to frameworks-solid if your issue persists. Thank you!
Comment 10 Philippe Cloutier 2018-10-13 14:53:42 UTC
This appears to be fixed. I cannot reproduce with the same camera (Canon PowerShot SX200 iS) on Debian 9, using Digikam 5.3.0 and libkf5solid 5.28.0-3.
Comment 11 caulier.gilles 2018-10-13 14:56:28 UTC
Thanks for the feedback.