Version: (using Devel) OS: Linux Installed from: Compiled sources i have a Canon EOS 350D. If i connect the camera as USB (the camera call it "pc connection") it behaves differently from connecting it as Print/PTP mode. When in USB mode: Download of thumbnails is really fast. errors on inverting the downloaded status of a pict. in fact it doesn't work. deleting of file gives errors, but works. Capture makes my camera shot repeatedly. But works. To see thumbs of auto-taken picts i had to restart the camera gui. In digikam (Import -> Camera (Auto Add)) the camera is called "USB Vendor Specific..." Adding manually have the correct name. when in PTP mode: Download of thumbs is slow. ~30 secs to show thumbs, no matter if there are 3 or 15 photoes. errors on inverting the downloaded status of a pict. in fact it doesn't work. deleting of files works, upload of a file does not. Capture is not available In digikam (Import -> Camera (Auto Add)) the camera is called "USB imaging interface" Adding manually have the correct name. Here is how linux sees the Camera: usb connection usb 2-8: new high speed USB device using ehci_hcd and address 11 usb 2-8: configuration #1 chosen from 1 choice usb 2-8: New USB device found, idVendor=04a9, idProduct=30ee usb 2-8: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 2-8: Product: Canon Digital Camera usb 2-8: Manufacturer: Canon Inc. ptp usb 2-8: new high speed USB device using ehci_hcd and address 10 usb 2-8: configuration #1 chosen from 1 choice usb 2-8: New USB device found, idVendor=04a9, idProduct=30ef usb 2-8: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 2-8: Product: Canon Digital Camera usb 2-8: Manufacturer: Canon Inc. usb 2-8: USB disconnect, address 10 connection - slower but can delete pictures from camera tell me if i have to file a bug for every problem i listed here!
Do you use digiKam 0.10.0 (KDE4) or 0.9.5 (KDE3) ? Gilles Caulier
ops. digiKam 0.10.0 SVN Revision: 897999
OK. as you have Canon camera in PTP mode, which libgphoto2 version you use ? Gilles Caulier
gphoto2-config --version says libgphoto2 2.4.1.2 I can try compiling the latest libgphoto2 if you want and re-try the speps above
gphoto2-config --version now says libgphoto2 2.4.3 Import -> Camera (Autodetected) -> still says "USB Imaging Interface" Camera GUI still takes ~30 seconds to generate thumbs of few images Upload does not work Deleting files is problematic. Some are deletet immediately, some are deleted but give errors, some are not deleted at all! (can provide gdb backtrace if necessary). toggle the lock status does not work
the PTP mode has occasionaly delete problems. In Normal mode they might not be there. The gphoto startup time currently very much depends on how many images you have on there.
(In reply to comment #6) > the PTP mode has occasionaly delete problems. In Normal mode they might not be > there. > > The gphoto startup time currently very much depends on how many images you have > on there. > That's not my case. I tried with both 2/3 and ~20 images... In normal mode it behaves as i wrote in the description above (Revision: 898605)
Gilles, this so-called USB / PC mode is still not USB mass storage, is a special gphoto2 driver? Salvatore, > errors on inverting the downloaded status of a pict what do you mean by "inverting"? That it gets assigned the check mark sign of successful download? Which errors? > deleting of file gives errors, but works. Which errors? > In digikam (Import -> Camera (Auto Add)) the camera is called "USB Vendor > Specific..." Adding manually have the correct name. Can you give me the output of "solid-hardware list details" while the camera is connected? We retrieve the camera name from Solid hardware info.
The Canon EOS series does not support mass storage. The two modes are: "normal" mode, in this you can remote control the EOS 350D (gphoto2 driver "canon"), and "PTP" mode (gphoto2 driver "ptp2"). Both use different access methods to the filesystem of the camera.
Marcel, >Gilles, this so-called USB / PC mode is still not USB mass storage, is a special >gphoto2 driver? It can be. there is a gphoto2 wrapper aroud USB Mass Storage camera. But i don't recommend to use it. Use digiKam USB Mass Storage interface. Salvatore, Please go to Device/Information dialog from menu of Camera Interface window and look which camera driver you use... Gilles Caulier
Created attachment 29457 [details] solid details with Canon EOS 350D attached in reply to comment #8 solid details
Created attachment 29458 [details] new solid details (when i did the previous the camera whas in standby)
(In reply to comment #10) > Salvatore, > > Please go to Device/Information dialog from menu of Camera Interface window and > look which camera driver you use... > > Gilles Caulier > when in PTP mode: "PTP2 driver (c) 2001-2005 by Mariusz Woloszyn . (c) 2003-2007 by Marcus Meissner ." whe in USB mode: "Canon PowerShot series driver by Wolfgang G. Reissnegger[...]" Are those informations correct? Le me know if you need more! Another thing (typo?) is that the Camera Interface's window title shows "&USB vendor Specific Interface"!
SVN commit 900342 by mwiesweg: Add special handling for Canon cameras for finding out the best label in the Import menu. I had put a message on the MLs, and so far received feedback only for Canons. As I dont have a Canon camera I cannot test this. CCBUG: 178011 M +25 -1 digikamapp.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=900342
(In reply to comment #14) > SVN commit 900342 by mwiesweg: > > Add special handling for Canon cameras for finding out the best label in the > Import menu. > I had put a message on the MLs, and so far received feedback only for Canons. > As I dont have a Canon camera I cannot test this. > Not working for my EOS 350D. Import -> Cameras (Auto-detected) is still showing "USB Vendor specific interface" or "USB Imaging Interface" respectively if you are using USB mode or PTP mode. digiKam revision is 900430 If you need something helpful to find out with this problem le me know
SVN commit 900724 by mwiesweg: - fix stupid variable-scope-bug - add 'USB Vendor Specific Interface' as special case - add Fuji company name as special case, thank Mikolaj CCBUG: 178011 M +7 -3 digikamapp.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=900724
(In reply to comment #16) > SVN commit 900724 by mwiesweg: > > - fix stupid variable-scope-bug > - add 'USB Vendor Specific Interface' as special case > - add Fuji company name as special case, thank Mikolaj That worked! My camera is now correctly identified by digikam in both USB and PTP mode, Marcel Wiesweg is my hero of the day! But still: USB thumbs on camera gui are fast PTP thumbs come after ~30 secnods Should i file another bug or it is gphoto2 stuff? I'setting this as fixed meanwhile
Excelent. Thanks for the report. And another file closed (:=))) Gilles Caulier
Unfortunately, I think these are pure gphoto2 issues. In either mode digikam uses libgphoto2 (but libgphoto2 uses a different internal driver), so from the digikam side the same code is used.