Nikon Coolpix 2500 & USB

Ken Moffat kmoffat
Mon May 17 11:41:54 PDT 2004


Joel Hammer wrote:
> I went out and bought a digital camera, Nikon Coolpix 2500. They didn't have
> a card reader at BestBuy. The camera is designed to hook up to a USB port.
> Does anyone know if there is a linux app that supports this camera?
> 
> Joel
> 

gphoto2 supports some nikons, but I don't see yours there.

Do you know if it is a usb mass storage device?
Try this. In a terminal as root type:
tail -f /var/log/messages
Then hook up the camera to the usb port, and turn it on.
See what message result. It may give you some clue as to a device.

If not, as root in a different xterm, try
mkdir /mnt/camera
then
mount -t vfat /dev/sda1 /mnt/camera
This *might* work. See what messages result.

The following applies to my fuji 3800.

cd /mnt/camera shows a directory structure where my pictures are 
located, so I cd /mnt/camera/*/*
and there are the pictures.
I use the following script to transfer them to my hard drive. (the 
images directory is in my home directory)


#!/bin/sh
echo "Please enter a directory name for the pictures."
read DIRPATH
mkdir ~/images/$DIRPATH
echo Mounting camera...
mount  /mnt/camera
echo Camera contents:
ls /mnt/camera/dcim/100_fuji/
echo Copying...
cp /mnt/camera/dcim/100_fuji/*.* ~/images/$DIRPATH
echo Unmounting camera...
umount /mnt/camera
chown -R ken ~/images/$DIRPATH
echo ~/images/$DIRPATH contents:
ls ~/images/$DIRPATH
echo Open $DIRPATH in gqview? y/n
read answer
if [ "$answer" = "y" ] || [ "$answer" = "yes" ]
then
    gqview ~/images/$DIRPATH
    exit 0
fi
exit 0



-- 
Ken Moffat
kmoffat at drizzle.com




More information about the Linux-users mailing list