libgphoto2 supports Canon powershot A720 IS

Yesterday I got my camera, Canon A720 IS. But prvi told me that the USB support was lacking for debian for this model. Hence it was time for hacking. ‘dmesg’ gave me the output that the usb device is detected. But since udev doesn’t recognize it as a mass storage no directory is created in the /media.  Eureka!!!!, a pop up came in my desktop after a second, which uses kde 3.5. Basically I clicked to open in a new window, hence konqueror opened with camera’s protocol.

Was I happy with that? Sincerely the answer was no. Now my digikam software is not able to detect the camera. I want it to be opened in digikam. Digikam uses libgphoto2 library. Hence I came to find that libgphoto2(version 2.4.0) doesn’t have an entry of my camera.

So I gave the command:

udevinfo -a -p /sys/class/usb_device/* #where * means the directory where you have to move based  on the number specified in the dmesg.

to get the vendor id, product id etc.

I added a simple line in the /etc/udev/rules.d/025_libgphoto2.rules:

ATTRS{idVendor}==”04a9″, ATTRS{idProduct}==”315d”, MODE=”0664″, GROUP=”plugdev”

Now I gave command :

udevcontrol reload_rules

That’s it. Now everything works perfectly. Thanks to pravi for spending his valuable time to help me.
He was fiddling with udev for past 2 days.

I took some pics of Pravi, Vijay and Justin, which had been transfered to my laptop.

Leave a comment

Your comment