Bug 135906

Summary: missing detection of Praktica luxmedia 5203 camera with USB interface
Product: [Applications] digikam Reporter: Egon Willighagen <egon.willighagen>
Component: Import-Gphoto2Assignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Egon Willighagen 2006-10-18 15:04:30 UTC
Version:           0.8.2-rc1 (using KDE KDE 3.5.5)
Installed from:    Ubuntu Packages
OS:                Linux

My Praktica luxmedia camera is not autodetected by Digikam, and neither the other Praktica 'driver' nor the general USB driver work. This is the relevant output from dmesg:

[17179843.364000] usb 3-8: new high speed USB device using ehci_hcd and address 3
[17179843.604000] Initializing USB Mass Storage driver...
[17179843.608000] scsi2 : SCSI emulation for USB Mass Storage devices
[17179843.608000] usb-storage: device found at 3
[17179843.608000] usb-storage: waiting for device to settle before scanning
[17179843.608000] usbcore: registered new driver usb-storage
[17179843.608000] USB Mass Storage support registered.
[17179848.616000]   Vendor: 5.0M      Model: Digital CAM       Rev:
[17179848.616000]   Type:   Direct-Access                      ANSI SCSI revision: 00
[17179848.616000] usb-storage: device scan complete
[17179848.660000] Driver 'sd' needs updating - please use bus_type methods
[17179848.664000] SCSI device sda: 1984000 512-byte hdwr sectors (1016 MB)
[17179848.664000] sda: Write Protect is off
[17179848.664000] sda: Mode Sense: 00 06 00 00
[17179848.664000] sda: assuming drive cache: write through
[17179848.672000] SCSI device sda: 1984000 512-byte hdwr sectors (1016 MB)
[17179848.676000] sda: Write Protect is off
[17179848.676000] sda: Mode Sense: 00 06 00 00
[17179848.676000] sda: assuming drive cache: write through
[17179848.676000]  sda: sda1
[17179848.680000] sd 2:0:0:0: Attached scsi removable disk sda
[17179848.712000] sd 2:0:0:0: Attached scsi generic sg0 type 0

The device is turned on when I try to have it recognized, which gave the popup window to mount it. With Konqueror I can copy/paste the images.

The USB Devices tab in the KInfoCenter reports:

Manufacturer:
Class 0 ((Defined at interface level))
Subclass 0
Protocol 0
USB Version 2.00
Vendor ID 0x733 (ViewQuest Technologies, Inc.)
Product ID 0x5100
Revision 0.00
Speed 480 Mbit/s
Channels 0
Max. Packet Size 0

It is listed under the EHCI Host Controller (Linux 2.6.15-27-386 ehci_hcd), Serial #: 0000:00:02.2, Class 9, Subclass 0, Protocol 0, USB Version 2.00, Vendor ID 0x0, Product ID 0x0, Revision 2.06.

Please let me know if I need to/can provide additional information.
Comment 1 caulier.gilles 2006-10-18 15:22:56 UTC
This is not the right place to report camera drivers wishes. digiKam do not include camera drivers, and use libgphoto2 for that.

Please make a new file in gphoto2 bugzilla :

http://sourceforge.net/tracker/?group_id=8874&atid=108874

Gilles Caulier
Comment 2 Egon Willighagen 2006-10-18 15:38:13 UTC
OK, reported with at the link given by Gilles:

http://sourceforge.net/tracker/index.php?func=detail&aid=1579694&group_id=8874&atid=108874

Umm... btw, it does not show nicely to mark this as RESOLVED/INVALID. It *does* apply to Digikam too, as it depends on gphoto dependencies. It seems a general opensource pattern to mark such as ACCEPTED/REPORTED-UPSTREAM. But that's just taste of labeling things, I guess.
Comment 3 Egon Willighagen 2006-10-18 15:41:50 UTC
OK, it apparently is *not* a gphoto bug:

============================================================
>Comment By: Marcus Meissner (marcusmeissner)
Date: 2006-10-18 13:39

Message:
Logged In: YES 
user_id=48092

its mass storage.

we do all the non-mass storage cameras ;)
============================================================

So, Gilles, the ball is back with you.
Comment 4 Marcus Meissner 2006-10-18 15:43:14 UTC
its a mass storage cameras, so you can add it as such in digikam by hand, 
or tell the HAL guys that it is a camera.

(the hal project)

/usr/share/hal/fdi/information/10freedesktop/10-camera-storage.fdi

should perhaps list them.
Comment 5 caulier.gilles 2006-10-18 15:46:39 UTC
Well, you can try 'Mounted Camera' driver.

Also camera interface have been very improved to 0.9.0 release. Please try beta3 available at this place :

http://digikam3rdparty.free.fr/0.9.0-beta3

Gilles
Comment 6 Egon Willighagen 2006-10-18 15:59:42 UTC
Gilles, 

'Mounted Camera' indeed works. It did not pick the right mount location used by my KDE installation, but that is not too difficult too fix. (It's /media/usbdisk-1 on my Kubuntu 6.06 install.)

Can I define in the Digikam source that my Technika camera exists and that it is a mounted camera?

BTW, will see if I can find a ubuntu deb for 0.9.0-beta3, or time to compile it.

Marcus, 

my Kubuntu does not have a 10-camera-storage.fdi file :( Checked with packages.ubuntu.com. Which hal version is supposed to have this?
Comment 7 Arnd Baecker 2007-07-01 12:43:59 UTC
Hi Egon,

could you check with 0.9.2?
Up-to-date kubuntu packages are at
http://www.mpe.mpg.de/~ach/kubuntu/feisty/Pkgs.php

Thanks a lot for any feed-back,

Arnd
Comment 8 Arnd Baecker 2007-07-13 10:30:54 UTC
Hi Egon, I would like to close this bug. Any objections?
Thanks a lot for any feed-back, Arnd
Comment 9 Arnd Baecker 2007-08-21 22:12:17 UTC
no objections, it seems. closing this bug now.