LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-13-2006, 09:36 AM   #1
JockVSJock
Member
 
Registered: Jan 2004
Posts: 602

Rep: Reputation: 31
How to get digikam to work?


Running Slackware 10.2 with stock 2.4 kernel and KDE 3.4 dekstop.

I have a Canon PowerShow A150 camera I would like to get working with. I'm not sure where to really start.

-I've installed digikam and all of the necessary files (gphoto2) and libraries from linuxpackage.net using installpkg.

-I've checkec the logs when (dmesg and lsusb) when I attach the camera to the use port and turn it on:

Code:
root@probot:~# lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Code:
hub.c: new USB device 00:10.0-1, assigned address 2
usb.c: USB device not accepting new address=2 (error=-110)
hub.c: new USB device 00:10.0-1, assigned address 3
usb.c: USB device not accepting new address=3 (error=-110)
-I have hotplug runnign and usb support in the kernel.

Ive created a mount point under /etc/fstab

Code:
#mount digital camera
/dev/sda4        /mnt/camera      usb         noauto,owner,ro  0   0
But when I mount, I get unknown filetype.

Can anyone point me to information that can help me setup my camera?

thanks
 
Old 02-13-2006, 10:02 AM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
Are you plugging the camera directly into the computer, or through a HUB? Also, is it a USB 2.0 device? Please provide some background on hardware for hardware issues.
 
Old 02-13-2006, 10:51 AM   #3
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
Disclaimer: I can't find your camera on the gphoto supported cameras list.

If you're having to use gphoto2 for your camera, chances are you can't mount it like you would a usb key - you need to use gphoto2 or a frontend (digikam is a frontend, I can't help you set up digikam itself, tho').

I would debug your camera connection by finding out if it is infact a usb mass storage device or (more likely with those errors) it needs to use the gphoto interface.

Have a read of the gphoto page: http://www.gphoto.org/

Their documentation (http://www.gphoto.org/doc/) is very good.

Additionally, they've got an addon called gphotofs that runs on FUSE that *will* let you mount your camera (read/delete only, no write support) if it's one of those style of devices.

Good luck,
- Piete.

PS: Try the commandline options with raw gphoto to make sure that bit works =)
 
Old 02-13-2006, 10:55 AM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
The USB messages by the OP make me think it's hardware/usb drivers more than anything else:
Code:
hub.c: new USB device 00:10.0-1, assigned address 2
usb.c: USB device not accepting new address=2 (error=-110)
hub.c: new USB device 00:10.0-1, assigned address 3
usb.c: USB device not accepting new address=3 (error=-110)
 
Old 02-13-2006, 12:07 PM   #5
WilliamS
Member
 
Registered: Nov 2003
Location: 46N 76W
Distribution: Slackware 14.1
Posts: 375

Rep: Reputation: 31
Post

I spent hours with digikam and never got it to work.

What I do instead is turn on the switch on the camera holder to connect to usb, then write: mount /dev/sda1 /mnt/camera.

I can then see all my photos in the /mnt/camera directory.

If slack sees your camera as a usb mass-storage device, this should work for you. Note that I use /dev/sda1.

Um. think I must reboot first, as I don't know how to make slack search for usb devices after boot.
 
Old 02-13-2006, 12:35 PM   #6
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55
I have a Canon Powershot A95 and use Digikam to access it. (as well as gthumb)

You CAN NOT mount this camera using usb storage and fstab.
If the camera is listed as running with libgphoto2 (as is mine) - that's what you use.

Download libgphoto2 and compile from source or install a .tgz from linuxpackes. (I've done it both ways)

Then follow the directions here:

http://www.gphoto.org/doc/manual/permissions-usb.html

This should have you running in no time.

HTH

Last edited by Franklin; 02-13-2006 at 12:37 PM.
 
Old 02-13-2006, 12:45 PM   #7
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
If you have hotplug installed, any USB devices should be detected when they are plugged in.
 
Old 02-13-2006, 12:51 PM   #8
JockVSJock
Member
 
Registered: Jan 2004
Posts: 602

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by piete
Disclaimer: I can't find your camera on the gphoto supported cameras list.
I messed up.

I meant Canon PowerShotA510, not Canon PowerShowA150...

Last edited by JockVSJock; 02-13-2006 at 12:54 PM.
 
Old 02-13-2006, 12:55 PM   #9
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55
Quote:
Originally Posted by Matir
If you have hotplug installed, any USB devices should be detected when they are plugged in.
Yes, it will be detected,.

To access it in a useful way requires the configuration of libgphoto2 and the setting of the usb permissions so you do not need to be root to download pictures from your camera.

If his camera is anthing like mine - and I believe it is from what he said - he will not be able to mount it from fstab using usb_storage and the scsi (sg) module.
 
Old 02-13-2006, 12:56 PM   #10
JockVSJock
Member
 
Registered: Jan 2004
Posts: 602

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Matir
Are you plugging the camera directly into the computer, or through a HUB? Also, is it a USB 2.0 device? Please provide some background on hardware for hardware issues.

Yes, I have an Averatec 3150 laptop with three usb 2.0 ports. I plug the camera, which is usb 2.0 connector, directly into one of the usb ports on the laptop.

I don't think it is a hardware issue, but I could be wrong...
 
Old 02-13-2006, 01:41 PM   #11
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
A PowerShot A510, eh? Well, in which case it's exactly the same camera I have, so I can vouch for it's compatibility with gphoto2 and libgphoto2.

You need to install libgphoto2, then build stuff on top of it. If you're using packages for digikam then you will need the packages that it was built upon and not just arbitrary packages.

My advice? Uninstall the packages you've got and start again. Compile from source where possible and at each step make sure you've got it working. If you're not comfortable compiling from source - now is the time to learn =)

Check the docs above for getting gphoto2 or another frontend (i use gtkam) to work before trying to get digikam running (the A510 is definitly *NOT* a usb mass storage device, you MUST use the ptp2 driver!)
 
Old 02-13-2006, 05:29 PM   #12
WilliamS
Member
 
Registered: Nov 2003
Location: 46N 76W
Distribution: Slackware 14.1
Posts: 375

Rep: Reputation: 31
I have no entriy for my camera in fstab, since it's a mass storage device the mount command works.
So should yours, if it's usb mass storage.
 
Old 02-13-2006, 06:45 PM   #13
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55
This is a nice table to see what you need to do for a large number of cameras:

http://www.teaser.fr/~hfiguiere/linux/digicam.html
 
Old 02-14-2006, 12:49 PM   #14
JockVSJock
Member
 
Registered: Jan 2004
Posts: 602

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by piete
A PowerShot A510, eh? Well, in which case it's exactly the same camera I have, so I can vouch for it's compatibility with gphoto2 and libgphoto2.

You need to install libgphoto2, then build stuff on top of it. If you're using packages for digikam then you will need the packages that it was built upon and not just arbitrary packages.

My advice? Uninstall the packages you've got and start again. Compile from source where possible and at each step make sure you've got it working. If you're not comfortable compiling from source - now is the time to learn =)

Check the docs above for getting gphoto2 or another frontend (i use gtkam) to work before trying to get digikam running (the A510 is definitly *NOT* a usb mass storage device, you MUST use the ptp2 driver!)
On digikam's site there was a webpage that had a list of all of the packages on it.

I just followed the list, but your saying start out with libgphoto2, so I'm have to use removepkg to uninstall and then reinstall all over again.

Yup, I know how to use installpkg and removepkg...

thanks
 
Old 02-14-2006, 01:20 PM   #15
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
Just so we're clear: remove/installpkg isn't the same as compiling on top of each portion ...

digikam is just a front end, and while eventually you should be able to use it exclusively, you should start out identifying where the problems occur in using your camera. Since you can't mount it as a usb mass storage device, you have to use libgphoto2, then on top of that is the basic commandline stuff called gphoto2. Most programs (afaik) use this to actually do the work. If you can get gphoto2 to work, then in theory anything that calls those commands will also work.

For your convenience, the usage instructions for gphoto2 can be found here: http://www.gphoto.org/doc/manual/using-gphoto2.html

- Piete.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Digikam for Kubuntu jbinc1 Linux - Software 5 09-12-2005 05:18 AM
Digikam 0.7.2 problem EllieJ Linux - Software 4 08-19-2005 08:30 AM
Digikam won't download raysr Mandriva 3 08-07-2005 02:11 PM
Digikam in 9.3 LinuxPimp Suse/Novell 1 05-14-2005 09:54 PM
digikam problem dukeinlondon Linux - Software 2 10-15-2004 10:11 AM


All times are GMT -5. The time now is 06:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration