SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 05:02 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.
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.
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?
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).
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.
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.