Bug 396115

Summary: Import USB Storage Devices unable to use in MacOS High Sierra 10.13.5
Product: [Applications] digikam Reporter: Luis <luis.lasierra>
Component: Import-UMSAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: caulier.gilles, metzpinguin, roland.strejcek
Priority: NOR    
Version: 5.9.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Luis 2018-07-03 07:29:00 UTC
Import USB Storage Devices unable to use in MacOS Hight Sierra 10.13.5

Program do nothing when I click Import>USB Storage Devices. No USB devices are showed, no folder, no files...
Comment 1 caulier.gilles 2018-07-03 08:01:41 UTC
With 6.0.0, we use new Solid API with better MacOS support. It's not perfect and not yet finalized, but it's better than nothing (as with 5.9.0 without any MacOS device support).

I will rebuild a MacOS bundle soon.

Gilles Caulier
Comment 2 caulier.gilles 2020-08-01 16:17:11 UTC
digiKam 7.0.0 stable release is now published and now available as FlatPak:

https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/

We need a fresh feedback on this file using this version.

Thanks in advance

Gilles Caulier
Comment 3 caulier.gilles 2020-12-18 12:10:44 UTC
https://bugs.kde.org/show_bug.cgi?id=426938

--- Comment #4 from caulier.gilles@gmail.com ---
Hi,

digiKam 7.2.0-beta2 pre-release PKG installer now support BigSur and is
compiled with last stable Qt 5.15.2.

https://files.kde.org/digikam/

Problem still reproducible with this version.

Thanks and happy Christmas in advance

Best Regards

Gilles Caulier
Comment 4 caulier.gilles 2020-12-28 22:00:47 UTC
Git commit 008ee527c30be351db47a3571c99daf4fbca739e by Gilles Caulier.
Committed on 28/12/2020 at 21:53.
Pushed by cgilles into branch 'master'.

add solid hardware detection CLi tool in the bundle for future investiguations.

M  +3    -1    project/bundles/macports/04-build-installer.sh

https://invent.kde.org/graphics/digikam/commit/008ee527c30be351db47a3571c99daf4fbca739e
Comment 5 caulier.gilles 2020-12-29 15:58:54 UTC
This is my resume of possible way to detect new removable devices as USB key, USB drive, sdcard, USM camera, without to use Solid and Gphoto2.

For ex, macOS/Windows support with Solid is uncomplete, and Gphoto2 do not compile under Windows.

So we need alternatives. Some link to implementations :

https://github.com/wang-bin/qdevicewatcher
https://github.com/MadLittleMods/node-usb-detection
https://github.com/clementine-player/Clementine/tree/master/src/devices
https://stackoverflow.com/questions/5043096/detecting-usb-notification-in-qt-on-windows

The Clementine source code link is a good candidate as it work like a charm under macOS and Windows. I always be in love with Clementine audio player since a while, but source code is a little bit complex to read, and well structured.

Typically, the goal is :

- replace Solid calls under Windows and macOS with alternative.
- be able to receive notifications when device is plugged and unplugged.
- be able to capture mount point on host file system.
- be able to get medium UUID.

Solid will still used for Linux target, as it work very well...

Gilles
Comment 6 Maik Qualmann 2021-08-19 13:53:06 UTC
*** Bug 441170 has been marked as a duplicate of this bug. ***
Comment 7 Maik Qualmann 2021-08-19 14:23:09 UTC

*** This bug has been marked as a duplicate of bug 393416 ***
Comment 8 caulier.gilles 2024-09-18 04:35:15 UTC
@Luis,

Please read my comment here : https://bugs.kde.org/show_bug.cgi?id=393416#c62

Gilles Caulier