LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Can't access Canon digicam with gphoto2 (https://www.linuxquestions.org/questions/slackware-14/cant-access-canon-digicam-with-gphoto2-203650/)

Slacker0815 07-11-2004 04:44 AM

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

rotvogel 07-11-2004 05:47 AM

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

Slacker0815 07-11-2004 06:06 AM

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.

rotvogel 07-11-2004 06:09 AM

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 :)

Slacker0815 07-11-2004 11:10 AM

thats exactly what i did :confused:

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?

shepper 07-11-2004 11:55 AM

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

Slacker0815 07-11-2004 01:32 PM

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.

shepper 07-11-2004 03:44 PM

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.

miguetoo 08-17-2004 03:50 AM

it works.. you need to be or su root to use.. maybe it has something to do with permissions.. but it does work..

ronald-be 08-27-2004 04:53 PM

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


All times are GMT -5. The time now is 01:56 PM.