LinuxQuestions.org
Help answer threads with 0 replies.
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 07-11-2004, 05:44 AM   #1
Slacker0815
Member
 
Registered: Jan 2004
Location: Germany
Distribution: Slack, Slack, Slack
Posts: 45

Rep: Reputation: 15
Can't access Canon digicam with gphoto2


Hi,

I bought a Canon IXUS 430 (US name is "Canon Powershot S410") and try to access it with gphoto2. Need to use gphoto2 because the Canon digicams are not accessible as a mass storage device, you need some sort of camera software -> gphoto2.
libgphoto2-2.x.tar.gz and gphoto2-2.x.tar.gz are installed and gphoto2 finds all necessary Libraries when run. But when trying an auto detect using "gphoto2 --auto-detect", all I get is this:

bash-2.05b# gphoto2 --auto-detect
Model Port
----------------------------------------------------------

So gphoto2 doesn't find the camera at all. Has anyone got to work gphoto2 with a digicam (especially Canon)?

In some tutorials I read that you have to install "libusb" (http://libusb.sourceforge.net/download.html). But is this really needed? USB works on my system (can access USB-Stick for example).

Any help is greatly appreciated


EDIT: Forgot, I'm using Slack 9.1 with Kernel 2.6.6

Last edited by Slacker0815; 07-11-2004 at 06:02 AM.
 
Old 07-11-2004, 06:47 AM   #2
rotvogel
Member
 
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
I tried a Canon Powershot S40 last week using gphoto2. Things worked instantly, so it is possible. I tried to start a shell using gphoto2 and that worked fine.
Code:
gphoto2 --shell
 
Old 07-11-2004, 07:06 AM   #3
Slacker0815
Member
 
Registered: Jan 2004
Location: Germany
Distribution: Slack, Slack, Slack
Posts: 45

Original Poster
Rep: Reputation: 15
Thanks, sounds promising. Could you give me a brief description of the steps? What did you install and in which order, which modules did you have to load etc.
 
Old 07-11-2004, 07:09 AM   #4
rotvogel
Member
 
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
What I did was :
- compile libgphoto2
- compile gphoto2
- plugged in camera
- load usb-storage module
- connect to camera using 'gphoto2 --shell'

The first message after starting gphoto2 was that my camera was recognized and I was able to access it .

I'm using Slack 10 / kernel 2.6.7 (custom) .

Good luck
 
Old 07-11-2004, 12:10 PM   #5
Slacker0815
Member
 
Registered: Jan 2004
Location: Germany
Distribution: Slack, Slack, Slack
Posts: 45

Original Poster
Rep: Reputation: 15
thats exactly what i did

I tried something else now, I knew that the IXUS 430 is not on the list of supported cameras at gphoto.org, but I thought that doesn't matter because it's basically the same camera as the IXUS 400. After I found this http://sourceforge.net/tracker/?grou...ail&aid=963229 in the Changelog for the canon libs, I downloaded the cvs version both of gphoto2 and libgphoto2 and compiled them. Now when running "ghoto2 --list-cameras", I get (among others):

"Canon Digital IXUS 430 (normal mode)"
"Canon Digital IXUS 430 (PTP mode)"

So obviously the camera is supported, but still gphoto2 doesn't find it. Any ideas?
 
Old 07-11-2004, 12:55 PM   #6
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
One issue is permissions. A quick test is to see if the camera is found as root (not su). If you can then you need to read the gphoto2 documentation about enableing hotplugging for USB devices (section 4 of the manual).

Gphoto Hotplugging Manual
 
Old 07-11-2004, 02:32 PM   #7
Slacker0815
Member
 
Registered: Jan 2004
Location: Germany
Distribution: Slack, Slack, Slack
Posts: 45

Original Poster
Rep: Reputation: 15
Thanks, but that didn't work either. Is there a differnence between real root login and su? I always tried as root using su so far.
 
Old 07-11-2004, 04:44 PM   #8
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
I have noticed that some apps (older openoffice installs and xcdroast in root mode) could not be started as su because the app could not access the xwindows client. I am guessing this was because the xwindow was opened by a user. When I am attempting to see why an apps will not start trying to start it as root tends to help me trouble shoot permissions.

The second thing I try is to start the app using the command line interface as it can generate error messages.

I am running kernel 2.4.26 and do not have any problems but I think a third place you could have problems is the 2.6.x kernel. I recall that there were some usb problems in the early kernels.
 
Old 08-17-2004, 04:50 AM   #9
miguetoo
Member
 
Registered: Mar 2003
Location: soCal..
Distribution: lfs server.. slackware workstation..
Posts: 58

Rep: Reputation: 15
it works.. you need to be or su root to use.. maybe it has something to do with permissions.. but it does work..
 
Old 08-27-2004, 05:53 PM   #10
ronald-be
Member
 
Registered: Aug 2004
Location: Belgium
Distribution: debian 5.02
Posts: 73

Rep: Reputation: 15
CANON Camera

Hi,

Got the same problem with gphoto2. Anyway, you have to use the graphical shell for viewing your photos so I suggest to forget gphoto2. Install flphoto and use this. You will have an error message the first time you use it while there is not a camera selected. Select your camera and retry. You can also download with the GIMP drawing program. Search for a menu-point called "load from camera". Some information about my system :

Distribution : SuSE 9.1
Kernel version : 2.6
Window manager : GNOME 2.4
Camera : CANON EOS300D

Shepper is right about the USB-problems. Got problems starting shell as su too. But I would suggest to check out if the package xsu is installed. When I installed it al problems with the Xterminal as su were gone!

Good luck!

Greetings,

Ronald
 
  


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
gphoto2 can't detect canon powershot a95 $in Slackware 11 11-30-2005 05:58 AM
Canon Powershot sd500 with gphoto2 amenon Linux - Hardware 1 10-15-2005 11:49 AM
[SOLVED] Canon a300 view by gphoto2 but not as fs dereut Linux - Hardware 1 04-10-2005 09:12 PM
gphoto2 and Canon IXUS 500: permissions problem? tawalker Linux - Software 0 11-17-2004 04:16 PM
Suse 8.2 live eval and Canon A60 digicam everest Linux - Distributions 2 10-17-2004 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration