1: # Picture Transfer Protocol
3: _Please note this is what worked for me, your milage may vary_
5: 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:
7: ugen0: Eastman Kodak Company KODAK EasyShare CX7300 Digital Camera
10: So far so good!
12: 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](http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/graphics/gphoto2/README.html), the CLI version of gphoto. Assuming your pkgsrc source tree is located in `/usr/pkgsrc`, you may install it with:
15: # cd /usr/pkgsrc/graphics/gphoto2
16: # make install
19: Once installed, simply run:
21: gphoto2 --get-all-files
24: to fetch all the files from your camera and place them in the current dir.
26: # USB Mass Storage Protocol
28: 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]].
31: # Card Readers
33: 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.
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb