Bug 230348 - With two digital cameras connected Import tool will show only one
Summary: With two digital cameras connected Import tool will show only one
Status: CONFIRMED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 1.2.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-11 18:43 UTC by Salvatore Brigaglia
Modified: 2023-05-06 09:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Salvatore Brigaglia 2010-03-11 18:43:44 UTC
Version:           1.1.0 (using 4.4.1 (KDE 4.4.1) "release 227", KDE:KDE4:Factory:Desktop / openSUSE_11.2)
Compiler:          gcc
OS:                Linux (i686) release 2.6.31.12-0.1-desktop

If i attach my two digital cameras (an iPhone and a nikon coolpix), digikam will show them both on the import > Cameras menu but no matter if you click one or the other only the first you'v attached will show up in cameragui.
To download pictures from the other camera you need to detach the first you'v attached.
Comment 1 caulier.gilles 2010-03-11 19:41:40 UTC
I can reproduce the problem with 1.2.0 release.

Gilles Caulier
Comment 2 Marcel Wiesweg 2010-05-15 23:40:52 UTC
Is this applicable only to gphoto2 cameras, only two USB mast storage cameras, or to both?
Comment 3 caulier.gilles 2011-08-09 09:17:03 UTC
Marcel,

With UMS driver, i cannot reproduce the problem with current implementation. I created 2 virtual UMS camera pointing to 2 different dir on my local hard drive.

For Gphoto driver, i will test with my 2 Sony DLSR in PTP mode...

Gilles Caulier
Comment 4 Teemu Rytilahti 2013-03-31 10:18:54 UTC
Could this be the same problem which causes #311393?
Comment 5 Teemu Rytilahti 2013-04-01 11:45:10 UTC
Not the same as #311393, but the same codepath. Basically it's due to the fact that there is currently no detection based on the device path or similar, unique thing. And the problem with device paths are that they are not portable between operating systems, so there would be a need to have platform specific code to check that information.
Comment 6 caulier.gilles 2023-05-06 09:31:36 UTC
Maik,

The only improvement that we can do here is to limit the import tool usage to one device at the same time, to prevent concurrent access to the same path representing 2 different devices.

Gilles