Picture Transfer Protocol

Please note this is what worked for me, your milage may vary

I have an KODAK EasyShare CX7300 Digital Camera, and I wanted to get the images off of it. I plugged in the camera, via a USB cable, to my laptop. NetBSD recognized the camera as:

ugen0: Eastman Kodak Company KODAK EasyShare CX7300 Digital Camera

So far so good!

Now I needed some software that could access the camera and pull the images off the camera. After a little browsing in /pkrsrc/graphics I decided on gphoto2, the CLI version of gphoto. Assuming your pkgsrc source tree is located in /usr/pkgsrc, you may install it with:

cd /usr/pkgsrc/graphics/gphoto2

# make install

Once installed, simply run:

gphoto2 --get-all-files

to fetch all the files from your camera and place them in the current dir.

USB Mass Storage Protocol

Many cameras can be configured to look like disk drives, instead of the camera mode discussed above. When plugging them in to USB, you will see in dmesg umass, scsibus, and then sdN. Mount sdNe as an msdos filesystem and copy your pictures. See ?Mounting a Windows file system.

Card Readers

There are many USB card readers that accept CF, SD, etc. and plug into USB. These appear as umass/scsibus/sd and can be mounted as disk drives. The Sandisk ImageMate 12-in-1, at least the version purchased in late 2005, is known to work well.

Add a comment