Canon EOS Rebel / 400D, libgphoto2 and Gentoo

I had some troubles yesterday importing images from my new Canon EOS Rebel XTi to my Gentoo - I installed UFRaw and gtKam and was trying to import RAW images into GIMP. For some reason gphoto2 wasn’t seeing my camera (although it was listed with lsusb) and so I couldn’t import photos from it using any application.

After several attempts (and very little information on Google), I gave up and went to sleep. Today I tried again and a solution came surprisingly fast: The problem was probably that I didn’t compile libgphoto with ptp2 support. What I did was:

- Add ‘CAMERA=”canon ptp2″‘ to /etc/make.conf
- Emerge libgphoto2, gphoto2 and hal again (I’m quite sure libgphoto2 was enough).

Now everything works and I’m off to play with some RAW images with GIMP.

2 Responses to “Canon EOS Rebel / 400D, libgphoto2 and Gentoo”

  1. February 8th, 2008 | 21:31

    Thanks a lot, that did it. I have been struggling with this issue for months! However, I have added CAMERAS=”canon ptp2″ to my /etc/make.conf, instead of CAMERA (without the “S”). Are you sure that you have added it without the “S”?

  2. February 8th, 2008 | 21:47

    You are right - it’s a typo in this post, and I did add “CAMERAS=” to my make.conf.

    Thanks - I’ll fix the post.