Bug 100714 - camera is not recognized after 2nd reconnecting
Summary: camera is not recognized after 2nd reconnecting
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 0.7.2
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-03 09:45 UTC by Nadav Kavalerchik
Modified: 2017-08-16 06:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
~/.kde/share/apps/digikam/cameras.xml (297 bytes, text/xml)
2005-03-07 10:09 UTC, Nadav Kavalerchik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nadav Kavalerchik 2005-03-03 09:45:04 UTC
Version:           0.7.2-beta1 (using KDE KDE 3.3.2)
Installed from:    RedHat RPMs
OS:                Linux

I'm using canon powershot a95 with digikam. initially when it connects all goes well... showing picture's preview, downloading, deleting. now after i disconnect it and shot some more pictures and come back to the computer and connect it again. digikam keep responding with camera is not connected although it is detected by gphoto2 on a terminal window and also by kde's interface to gphoto2 (even within digikam) . i have the kernel modules loaded and all seems to look just fine, from the OS perspective. reopening digikam doesn't solve it.
Comment 1 Renchi Raju 2005-03-06 17:18:54 UTC
can you paste the contents of your cameras.xml file (located in ~/.kde/share/apps/digikam )
Comment 2 Nadav Kavalerchik 2005-03-07 10:09:05 UTC
Created attachment 10013 [details]
~/.kde/share/apps/digikam/cameras.xml
Comment 3 Nadav Kavalerchik 2005-03-07 10:17:45 UTC
i also found out that each time i reconnect it increases the count on the usb device...
i saw this on a terminal window while using the command "ghoto2 --auto-detect"
[nadav] gphoto2 --auto-detect
Model                          Port
----------------------------------------------------------
Canon PowerShot A95 (normal mode) usb:
Canon PowerShot A95 (normal mode) usb:003,004

after a reconnect...
[nadav] gphoto2 --auto-detect
Model                          Port
----------------------------------------------------------
Canon PowerShot A95 (normal mode) usb:
Canon PowerShot A95 (normal mode) usb:003,005

while the usb:003:002 id in cameras.xml doesn't change ( maybe this is why it
s not detected ? )
Comment 4 Nadav Kavalerchik 2005-03-07 10:24:17 UTC
ok. i fixed it (more or less)
i've changed the line in the cameras.xml that was showing "usb:003:002" to just "usb:" and now it works every time i reconnect the camera.
thanks :-)

Comment 5 Marcus Meissner 2005-03-07 10:28:49 UTC
libgphoto 2.1.5 should not exhibit this behaviour (I hope).

for one camera it should only list 1 port (usb:)
Comment 6 Nadav Kavalerchik 2005-03-07 10:33:03 UTC
i'm using libgphoto 2.1.5
Comment 7 Renchi Raju 2005-03-07 16:04:50 UTC
re: Comment #4
just what i suspected. the auto-detect was changed after 0.7-beta1 to just save the "usb:" string and not the entire identifier.
Comment 8 Mathieu Jobin 2005-09-23 00:49:08 UTC
I'm not sure If I should create a new bug report, or my issue has been solved in SVN, but I'm running digikam 0.7.1 and I need to re-auto-detect my camera everytime I want to use it... 

I do auto-detect and everything works well, the next day, I go under camera, select mine, and it can't connect... I have to remove the existing camera and do auto-detect again... not too bad, but little bit annoying.

i guess instead of keeping a list of camera that I use, It could just auto-detect them everytimes I want to download some picture...

anyway. thanks

best photo program I've seen, ever.

Comment 9 Renchi Raju 2005-09-23 14:56:16 UTC
this was fixed in 0.7.2. latest stable release is 0.7.4
Comment 10 paul 2008-11-28 00:50:32 UTC
I experience the described problem, and this actually started when I upgraded from Kubuntu Feisty to Gutsy. My camera (Fujifilm F31fd) was previously registered in digiKam, but after having started the application a few times after the upgrade (which I do by plugging the camera into the USB port and switching it on, bringing up the choices dialogue asking whether I want to "detect and download" using digiKam), I started to get a failure dialogue inviting me to "Retry" or "Abort" the connection attempt to the camera. Upon retrying, digiKam never manages to connect to the camera, and opening the camera from the "Camera" menu gives the same dialogue.

However, if I open the "Add camera..." dialogue, remove the camera from the list, auto-detect cameras and then open the newly added camera from the "Camera" menu, the camera can once again be connected and used. The camera always appears at the "usb:" path and it is the only camera I use with the computer.
Comment 11 paul 2008-11-30 17:59:48 UTC
Following up because the bug wizard seems to throw away version information when one chooses an existing bug, I'm using digiKam 0.9.2-final on KDE 3.5.8 using Gphoto2 library 2.4.0.
Comment 12 caulier.gilles 2008-12-01 15:01:14 UTC
Paul, 

0.9.2 is too old. try 0.9.4 released this summer...

Gilles Caulier
Comment 13 paul 2008-12-01 23:37:08 UTC
Gilles,

Thanks for responding! I'll try and awaken the Ubuntu people about this, since there should be hardly any difference between the previous version of digiKam and the one I'm using now, according to the Ubuntu package site.

Paul
Comment 14 caulier.gilles 2008-12-02 06:40:58 UTC
Paul,

Also, take a care about libgphoto used. digiKam use use Gphoto2 driver with Canon camera

Gilles Caulier