LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   SCSI/Digital Camera Question (https://www.linuxquestions.org/questions/linux-hardware-18/scsi-digital-camera-question-100500/)

Jiawen 10-05-2003 12:23 PM

SCSI/Digital Camera Question
 
I'm trying to read pictures from my Casio QV-2900X camera through a USB port. I'm using Mandrake 9.1. Can you help?

I found <http://www.harald-schreiber.de/>, which seems to address my questions pretty directly. However, towards the bottom of the page, he says
Quote:

If you have no SCSI disks in your computer system you can access the storage of your camera as /dev/sda1. If you have one SCSI disk you can access the storage as /dev/sdb1, and so on. In the following let's assume that you have one SCSI disk in your system and so you access the storage as /dev/sdb1. To create a mount point for your camera you have to type:

mkdir -p /media/camera

then append the following line to the file /etc/fstab :

/dev/sdb1 /media/camera vfat ro,noauto,user 0 0

Now every user can mount the storage of the camera by typing mount /media/camera. Be sure to type umount /media/camera before you disconnect your camera.
I have several questions about this:

1. How do I know how many SCSI drives I have mounted? I have two physical hard drives in this computer -- does that mean the camera would mount at /dev/sdc1?

2. Is it safe to edit /etc/fstab as he says?

3. Has anyone else had success mounting this camera? I could always just mount it on my other (Win2000) computer, but I'd rather get it working on my Linux system.

I know my questions are pretty obvious, but please help anyway!

Thanks in advance for any help you can give.

Brian1 10-05-2003 01:45 PM

Do you have a scsi hardrive or not?
These are known as /dev/sd*

Is it IDE ?
These are known as /dev/hd*

Don't get confused here. USB uses the SCSI interface to use in the computer. Basically it means why write a new interface when half the work is already done.

If it is ide then the most likely start is /dev/sda1. This means device sda with parttion 1.

As long as ' lsmod ' list usb modules that are loaded. Just plug in your camera and use this mount command ' mount -t vfat /dev/sda1 /mnt/camera '.

Hope this helps
Brian1
" When in doubt, RTFM "

Jiawen 10-05-2003 02:01 PM

Thanks for the fast response!

How do I know if I have IDE or SCSI drives or not? I bought them so long ago, I don't remember which I had. When I go into /dev/, there are 5730 (!) items there, and there are tons of /sd* and /hd* items. Which ones are which?

Actually, I just thought to check KDiskFree, which lists my drives as /dev/hda1, /dev/hdb1, /dev/hdb5. /dev/hdb6 and /dev/hdb8. Does that mean that they're all IDE-type drives? Where is the camera, then? /dev/sda1?

Do I need to plug the camera into the USB port and then type "mount -t vfat /dev/sda1 /mnt/camera," or type that and then plug in the camera?

And sorry to be such a newbie, but what did you mean by "As long as ' lsmod ' list usb modules that are loaded."? How do I know if those modules are loaded?

Again, thanks in advance for any help.

michaelk 10-05-2003 02:27 PM

Your drives are all IDE.
Plug the camera into the PC and then mount it.

If Mandrake detected the USB controller it will already configured with the modules loades.

geoff_f 10-06-2003 06:21 AM

If your camera shows up as a usb mass storage device, this might be useful:

http://www.linuxquestions.org/questi...threadid=74030

Jiawen 10-07-2003 01:33 PM

Oh, yes, I got it! It works! Yippee!

I did the whole mount /dev/sda1 /media/camera thing, then modified /etc/fstab, and I can now mount and unmount and read photos and the whole thing. Now I just need to remember to turn the camera on before I plug in the USB cale -- not as obvious as it sounds, because plugging in the cable automatically turns it on, but it also automatically turns itself off very quickly, and I need to make sure it's on long enough to read the photos.

Now, I need to buy a bigger hard drive. :)

Thanks for all the help, everyone who helped.


All times are GMT -5. The time now is 03:24 PM.