Monday, July 23, 2007

Digital Camera Access Made Easy

There are many ways to use your digital camera with your computer on Arch.

One easy way is via gphoto2
sudo pacman -S gphoto2
gphoto --auto-detect
you'll get something like this (with the camera plugged-in):
Model Port
USB PTP Class Camera usb:
USB PTP Class Camera usb:003,002

Now simply use that information above:
/usr/bin/gphoto2 --port usb:003,002 --get-all-files
Walla! That'll get all your photos downloaded in no-time! Plus it's CLI.

A second way is:
/usr/lib/libgphoto2/print-camera-list > /etc/udev/rules.d/90-libgphoto2.rules
? sudo
chown username /usr/lib/libgphoto2/print-camera-list
? sudo
chmod 755 /usr/lib/libgphoto2/print-camera-list
/usr/lib/libgphoto2/print-camera-list udev-rules-0.98 group camera mode 0660 > /etc/udev/rules.d/90-libgphoto2.rules
and then reboot

A third way is to set Udev properly to detect the camera. I'll try posting other ways too.


No comments: