LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Please help me with my digital camera (http://www.linuxquestions.org/questions/linux-hardware-18/please-help-me-with-my-digital-camera-211028/)

Martin_St 07-29-2004 09:41 AM

Please help me with my digital camera
 
Hi.
I'm using Red Hat Linux 9 running on kernel 2.4.20. I have a digital camera, Epson PhotoPC 2100Z that I want to connect to a USB-port. And I don't know what to do, can anyone please help me?

win32sux 07-29-2004 10:03 AM

you could try mounting it as a regular mass storage device, maybe something like:

mount -t vfat /dev/sda1 /mnt/camera


then you could copy the pictures to your disk:

cp /mnt/camera/*.jpg ~/

Martin_St 07-29-2004 10:53 AM

I get this error:

mount: wrong fs type, bad option, bad superblock on /dev/sda1, or too many mounted file systems

win32sux 07-29-2004 11:31 AM

try with /dev/sda2... make sure the camera is properly connected and ready, etc...

you have the usb modules loaded, right?? what's the output of this:

lsmod | grep usb

Martin_St 07-29-2004 11:38 AM

If i run /dev/sda2.... this come:

mount: Medium ikke funnet

that is Norwegian... uhm... not found or something like that

when i run lsmod | grep usb, this come:

bash: lsmod: command not found

win32sux 07-29-2004 12:16 PM

Quote:

Originally posted by Martin_St
If i run /dev/sda2....
you mean mount -t vfat /dev/sda2 /mnt/camera right???


Quote:

when i run lsmod | grep usb, this come:

bash: lsmod: command not found
try /bin/lsmod | grep usb

or become root, then lsmod | grep usb should work...

Martin_St 07-29-2004 12:44 PM

Yes, I mean mount -t vfat /dev/sda2 /mnt/camera

If I run /bin/lsmod | grep usb, this come:

bash: /bin/lsmod: no such file or directory

and root:
[root@localhost martin]# lsmod | grep usb
bash: lsmod: command not found

win32sux 07-29-2004 01:49 PM

okay i just looked at some red hat documentation, looks like on red hat it's:

/sbin/lsmod | grep usb

Martin_St 07-29-2004 01:53 PM

Yes =D

usb-storage 68628 0
scsi_mod 106200 5 [sd_mod sg sr_mod ide-scsi usb-storage]
usb-uhci 25868 0 (unused)
usbcore 77696 1 [usb-storage hid usb-uhci]

win32sux 07-29-2004 02:09 PM

okay, try these, let me know what kinda errors you get, or if one of these is successful...

these are basically the same, except we're not specifying partitions this time...

i believe usb mass storage doesn't use partitions... anyways, here you go:

mount -t vfat /dev/sda /mnt/camera

mount -t vfat /dev/sdb /mnt/camera

mount -t vfat /dev/sdc /mnt/camera

mount -t vfat /dev/sdd /mnt/camera



Martin_St 07-29-2004 02:23 PM

mount -t vfat /dev/sda /mnt/camera

mount: No medium found

mount -t vfat /dev/sdb /mnt/camera

mount: /dev/sdb is not a valid block device

mount -t vfat /dev/sdc /mnt/camera

mount: /dev/sdc is not a valid block device

mount -t vfat /dev/sdd /mnt/camera

mount: /dev/sdd is not a valid block device

win32sux 07-29-2004 02:46 PM

Quote:

Originally posted by Martin_St
mount -t vfat /dev/sda /mnt/camera

mount: No medium found

you're sure you have a memory card in your camera, right???

Martin_St 07-29-2004 02:50 PM

yes, I yust took some pictures.

Martin_St 07-30-2004 12:14 PM

sorry for double-posting, but i figured out something.

I booted up my mandrake 10 hdd and mounted the camera there and it worked on /dev/sda1

I talked with a guy, and he said that I maybe didn't have support for USB or something like that, or i didn't have the right modules.

I hope this help you guys to figure out why it doesn't work on Red Hat


All times are GMT -5. The time now is 08:51 AM.