[opensuse-kde] Digikam, etc. cannot upload from iPhone 6S
Not sure if this is a KDE or Solid (or other) issue . . . sorry for message length but trying to include all relevant data I know of . . . Digikam has worked great importing/deleting photos from iPhone 6S for a year, working on 13.2. I recently upgraded 13.2 => 42.1 => 42.2 about a month ago. I can't honestly say whether this problem arose with the Leap upgrade, or with an update since. When Digikam opens it displays the following error message: The specified camera ("/org/kde/solid/udev/sys/devices/ pci0000:00/0000:00:12.2/usb1/1-1/1-1:4.2/net/eth2") is not supported. ~>lsusb shows the camera as: Bus 001 Device 002: ID 05ac:12a8 Apple, Inc. Switching to a different port , , , ~>lsusb Bus 004 Device 003: ID 05ac:12a8 Apple, Inc. Digikam then throws this error when started: The specified camera ("/org/kde/solid/udev/sys/devices/ pci0000:00/0000:00:13.2/usb4/4-2/4-2:4.2/net/eth1") is not supported. Yet still Digikam (and other photo apps) autodetects the phone. It is shown under the Import menu, and when Import for the phone is selected the second Digikam windows opens. At bottom it shows the correct camera media capacity and amount used, while under the Device menu it shows the phone is recognized on the correct usb port. It shows that upload and delete are supported functions. But it cannot see the photo files. (It is seen as an "iPhone5 (PTP mode)"; gphoto2 --list-cameras does not show iPhone6 but that was not a problem before; the udev hwdb shows the same phone ID for both iPhone5 and iPhone6. Tested this with my wife's iPhone 5 and the errors were the same.) gphoto2: --list-ports sees the correct port --list-folders sees the "store_feedface" folder but no files. --abilities shows iPhone 5 with USB support, file preview and upload = yes When I try kio camera:/ in Dolphin I get: camera:/Apple%2520iPhone%25205%2520(PTP%2520mode)@usb:001,002/ An "Apple iPhone 5 (PTP Model)" folder appears with the sub-folder "store_feedface" but no DCIM folder nor any photos. When I try gtkam it can see the iPhone "store-feedface" but not DCIM, no files. Experimenting with this app I once got this error, too: An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Device or resource busy). Make sure no other program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device. Similarly, when I tried Shotwell it threw: Unable to fetch previews from the camera: Could not claim the USB device (-53) But strangely, darktable uploads (and deletes) the iPhone files even though it uses libgphoto2.so.6 just as all the other apps do. Still works fine with my Canon A570. Digikam Version 5.4.0 Using: KDE Frameworks 5.26.0 Qt 5.6.1 (built against 5.6.1) My suspicion is that the problem is connect to the error "could not claim USB device", as I've seen that several times. Just a wild-ass guess. I checked Bugzilla KDE and Solid, found multiple instances of PTP cameras being recognized but files not retrievable over the last ~5 years. But nothing recent. I did find a 2011 bug report on Ubuntu Launchpad which was reported again in Dec claiming a regression in Digikam, but it wasn't verified. (And that was Digikam4, not 5). Any suggestions where to look further? Again, apologies for length. TIA, Dennis P.S. KDE folks might want to note that the Device Notifier entry always displays the camera twice rather than just once when it's attached, and when the "Open with File Manager" option is chosen, the app errors on not finding the KDE4 version of Dolphin: KDEInit could not launch 'dolphin4': Could not open library 'libkdeinit5_dolphin4'. Cannot load library libkdeinit5_dolphin4: (libkdeinit5_dolphin4: cannot open shared object file: No such file or directory) -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
Hi, Am Montag, 16. Januar 2017, 16:45:18 CET schrieb Dennis Gallien:
Not sure if this is a KDE or Solid (or other) issue . . . sorry for message length but trying to include all relevant data I know of . . .
Digikam has worked great importing/deleting photos from iPhone 6S for a year, working on 13.2. I recently upgraded 13.2 => 42.1 => 42.2 about a month ago. I can't honestly say whether this problem arose with the Leap upgrade, or with an update since.
[cut]
When I try kio camera:/ in Dolphin I get:
camera:/Apple%2520iPhone%25205%2520(PTP%2520mode)@usb:001,002/ An "Apple iPhone 5 (PTP Model)" folder appears with the sub-folder "store_feedface" but no DCIM folder nor any photos.
See also https://forums.gentoo.org/viewtopic-t-1057040-start-0-postdays-0-postorder-a... Apparently it broke with iOS 10 and you need to make sure that the iPhone "trusts" your computer so it exposes its filesystem. [cut]
P.S. KDE folks might want to note that the Device Notifier entry always displays the camera twice rather than just once when it's attached, and when the "Open with File Manager" option is chosen, the app errors on not finding the KDE4 version of Dolphin:
KDEInit could not launch 'dolphin4': Could not open library 'libkdeinit5_dolphin4'. Cannot load library libkdeinit5_dolphin4: (libkdeinit5_dolphin4: cannot open shared object file: No such file or directory)
That looks like you still have the KDE4 based dolphin installed. Remove the dolphin4 package and try it again. Good luck, Fabian -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
On Monday, January 16, 2017 11:15:58 PM EST Fabian Vogt wrote:
See also https://forums.gentoo.org/viewtopic-t-1057040-start-0-postdays-0-postorder-a sc-highlight-.html?sid=4e7f17ebc8ac5da89456e92ee46749c5
Apparently it broke with iOS 10 and you need to make sure that the iPhone "trusts" your computer so it exposes its filesystem.
That looks like you still have the KDE4 based dolphin installed. Remove the dolphin4 package and try it again.
Thanks for that link plus your suggestion below re dolphin4. That got me part way to a solution . . . Re the dolphin4 issue, the problem was a remaining dolphin .desktop file under ~./local/share/applications. Once removed, dolphin5 now opens from Notifier invoking the camera:/ kio slave. The kio also works now if dolphin is launched independently. The workaround to see files on the phone is to open a first instance of dolphin using the kio but not open the parent folder; then open a second instance of dolphin and then go down to the DCIM folder. This works most of the time, but not always. I also had to reset the phone's network settings to force it to display the "Trust Computer" screen, which it had stopped doing. Now that works, too. As you indicated, apparently getting the "Trust" to work properly with various iphones/OS's is a known issue. So now at least I can get at the photo files using the kio slave. However, all the apps which rely upon libgphoto2 still cannot see the DCIM folder/ files. So there is something the kio is doing to access the phone which is different than gphoto2. Also, web posts indicate that different distros use different methods to make the connection, and this does not work on even many current releases. So obviously there is more to this. Along the way with this I did discover ifuse. Installed it and it seems to work well enough. It does require the "Trust" function to be working too, though.
Good luck, Fabian
Thanks Fabian, I got far enough to retrieve photos, although I've lost my Digikam functionality. But I can live with that. -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
participants (2)
-
Dennis Gallien
-
Fabian Vogt