<html><head></head><body><div>Hi digiKammers,</div><div><br></div><div>I want to report that I have been able to connect digiKam with my Android mobile phone via USB cable and to download images to my laptop. Here is a screendump of this:</div><div><br></div><div><a href="https://drive.google.com/file/d/1q-zcGo7nxRpUWZmcfLMl3_7f0wAhs-1y/view?usp=share_link">https://drive.google.com/file/d/1q-zcGo7nxRpUWZmcfLMl3_7f0wAhs-1y/view?usp=share_link</a></div><div><br></div><div>The trick is to use Rapid Photo Downloader (version 0.9.33) to initialize communication between the to the mobile phone. After this digiKam functions correcty. </div><div><br></div><div>My environment is digiKam (7.9.0 AI) on Fedora 37 Linux and Gnome 43.1. and my mobile phone is a HMD Global Nokia X30, Android 12.</div><div><br></div><div>And here a longer description of my workaround:</div><div><br></div><div>1. Connected my mobile phone with the USB cable and enabled the use of USB connection in the options of the phone. As a result I was able to navigate to the DCIM folder with the file manager.</div><div><br></div><div>2. Started digiKam and started the import dialog. digiKam had already detected automatically the phone. The dialog showed an error message of connection failure. The Retry button had no effect.</div><div><br></div><div>Screen dump from the situation:</div><div><br></div><div><a href="https://drive.google.com/file/d/1QhMAWUgT-W7frG_qU6spcD4NoMEZRxq7/view?usp=share_link">https://drive.google.com/file/d/1QhMAWUgT-W7frG_qU6spcD4NoMEZRxq7/view?usp=share_link</a></div><div><br></div><div>And the corresponding part of the trace file:</div><div><br></div><div>Digikam::DigikamApp::openSolidCamera: Found camera from ids 6353 20193 camera is: "Google Inc Nexus/Pixel (MTP)" at "usb:001,005"</div><div>Digikam::MapWidget::setBackend: "setting backend marble"</div><div>Digikam::MediaPlayerView::MediaPlayerView: Audio output backends: ("Pulse", "OpenAL", "null")</div><div>Digikam::MediaPlayerView::MediaPlayerView: Number of supported audio codecs: 198</div><div>Digikam::MediaPlayerView::MediaPlayerView: Number of supported video codecs: 265</div><div>Digikam::BackendGoogleMaps::setMapType: "ROADMAP"</div><div>Digikam::adjustedEnvironmentForAppImage: Adjusting environment variables for AppImage bundle</div><div>Digikam::ExifToolParser::slotMetaEngineSettingsChanged: ExifTool path: "exiftool"</div><div>Digikam::MapWidget::setBackend: "setting backend marble"</div><div>Digikam::adjustedEnvironmentForAppImage: Adjusting environment variables for AppImage bundle</div><div>Digikam::ExifToolParser::slotMetaEngineSettingsChanged: ExifTool path: "exiftool"</div><div>Digikam::ExifToolProcess::checkExifToolProgram: Path to ExifTool: "exiftool"</div><div>Digikam::ExifToolParser::exifToolAvailable: Check ExifTool availability: true</div><div>Digikam::BackendGoogleMaps::setMapType: "ROADMAP"</div><div>Digikam::CameraController::sendLogMsg: Log ( "" "" : "Connecting to camera..."</div><div>Digikam::ItemMarkerTiler::slotSourceModelReset: ----</div><div><b>Digikam::GPCamera::doConnect: Failed to initialize camera!</b></div><div><b>Digikam::GPCamera::printGphotoErrorDescription: Libgphoto2 error: Could not claim the USB device ( -53 )</b></div><div><b>Digikam::CameraController::sendLogMsg: Log ( "" "" : "Connection failed."</b></div><div><br></div><div>3. Left digiKam in the background. Started Rapid Photo Downloader. Photos on the phone are shown in the UI of RPD. Left PRD in the background.</div><div><br></div><div>4. Back to digiKam and pushed the Refresh button. Voila! digiKam import dialog starts to scan images from the folders of the phone!</div><div><br></div><div>This is also documented in the trace file:</div><div><br></div><div><b>Digikam::CameraController::sendLogMsg: Log ( "" "" : "Connecting to camera..."</b></div><div><b>Digikam::DKCamera::printSupportedFeatures: Supported features for "HMD Global Nokia X30 5G"</b></div><div>Digikam::DKCamera::printSupportedFeatures: Thumbnails: false</div><div>Digikam::DKCamera::printSupportedFeatures: Delete: true</div><div>Digikam::DKCamera::printSupportedFeatures: Delete dir: true</div><div>Digikam::DKCamera::printSupportedFeatures: Upload: true</div><div>Digikam::DKCamera::printSupportedFeatures: Mkdir: true</div><div>Digikam::DKCamera::printSupportedFeatures: Image capture: false</div><div>Digikam::DKCamera::printSupportedFeatures: Image capture preview (liveview): false</div><div>Digikam::CameraController::sendLogMsg: Log ( "" "" : "Connection established."</div><div>Digikam::GPCamera::getFreeSpace: Storage fstype: generic tree hierarchy</div><div>Digikam::GPCamera::getFreeSpace: Storage description: "Sisäinen jaettu tallennustila"</div><div>Digikam::GPCamera::getFreeSpace: Storage base-dir: "/store_00010001"</div><div>Digikam::GPCamera::getFreeSpace: Storage access: R/W</div><div>Digikam::GPCamera::getFreeSpace: Storage type: fixed RAM</div><div>Digikam::GPCamera::getFreeSpace: Storage capacity: 238767932</div><div>Digikam::GPCamera::getFreeSpace: Storage free-space: 211712924</div><div><br></div><div>5. After a lenghty while the tumbnails were also generated. I was able execute the download successfully.</div><div><br></div><div>My finding was just pure chance. I fiddled around with the different applications after my recent OS upgrade. There is also no guarantee that this workaroud works in other environments or constellations. </div><div><br></div><div>I hope Guilles or others may find something usefull of this finding or to give a more in-depth technical explanation. Hope also that digiKam can do this in future without the help of RPD.</div><div><br></div><div>Cheers Kai</div><div><br></div><div>superhappy digiKammer</div><div><br></div><div><br></div><div><br></div><div><span></span></div><div><br></div><div><span></span></div></body></html>