LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-29-2004, 09:41 AM   #1
Martin_St
LQ Newbie
 
Registered: Mar 2004
Location: Norway
Distribution: Red Hat 9
Posts: 11

Rep: Reputation: 0
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?
 
Old 07-29-2004, 10:03 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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 ~/
 
Old 07-29-2004, 10:53 AM   #3
Martin_St
LQ Newbie
 
Registered: Mar 2004
Location: Norway
Distribution: Red Hat 9
Posts: 11

Original Poster
Rep: Reputation: 0
I get this error:

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

Last edited by Martin_St; 07-29-2004 at 11:20 AM.
 
Old 07-29-2004, 11:31 AM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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
 
Old 07-29-2004, 11:38 AM   #5
Martin_St
LQ Newbie
 
Registered: Mar 2004
Location: Norway
Distribution: Red Hat 9
Posts: 11

Original Poster
Rep: Reputation: 0
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
 
Old 07-29-2004, 12:16 PM   #6
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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...
 
Old 07-29-2004, 12:44 PM   #7
Martin_St
LQ Newbie
 
Registered: Mar 2004
Location: Norway
Distribution: Red Hat 9
Posts: 11

Original Poster
Rep: Reputation: 0
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
 
Old 07-29-2004, 01:49 PM   #8
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

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

/sbin/lsmod | grep usb
 
Old 07-29-2004, 01:53 PM   #9
Martin_St
LQ Newbie
 
Registered: Mar 2004
Location: Norway
Distribution: Red Hat 9
Posts: 11

Original Poster
Rep: Reputation: 0
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]
 
Old 07-29-2004, 02:09 PM   #10
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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



Last edited by win32sux; 07-29-2004 at 02:10 PM.
 
Old 07-29-2004, 02:23 PM   #11
Martin_St
LQ Newbie
 
Registered: Mar 2004
Location: Norway
Distribution: Red Hat 9
Posts: 11

Original Poster
Rep: Reputation: 0
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
 
Old 07-29-2004, 02:46 PM   #12
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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???
 
Old 07-29-2004, 02:50 PM   #13
Martin_St
LQ Newbie
 
Registered: Mar 2004
Location: Norway
Distribution: Red Hat 9
Posts: 11

Original Poster
Rep: Reputation: 0
yes, I yust took some pictures.
 
Old 07-30-2004, 12:14 PM   #14
Martin_St
LQ Newbie
 
Registered: Mar 2004
Location: Norway
Distribution: Red Hat 9
Posts: 11

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Digital Camera Tank400 Mandriva 2 12-19-2004 02:51 PM
Digital Camera (NOW!!!!) DropSig Linux - Hardware 1 09-13-2004 12:25 AM
Have you got a digital camera? Calum Linux - Hardware 19 03-01-2004 02:48 AM
What digital camera ? phoeniXflame General 12 04-30-2003 03:22 PM
Digital camera NSKL Linux - Hardware 2 09-13-2002 01:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration