https://bugs.kde.org/show_bug.cgi?id=396115

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Import USB Storage Devices  |Import USB Storage Devices
                   |unable to use in MacOS      |unable to use in MacOS High
                   |Hight Sierra 10.13.5        |Sierra 10.13.5

--- Comment #5 from [email protected] ---
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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to