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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-29-2004, 09:41 AM
|
#1
|
LQ Newbie
Registered: Mar 2004
Location: Norway
Distribution: Red Hat 9
Posts: 11
Rep:
|
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?
|
|
|
07-29-2004, 10:03 AM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
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 ~/
|
|
|
07-29-2004, 10:53 AM
|
#3
|
LQ Newbie
Registered: Mar 2004
Location: Norway
Distribution: Red Hat 9
Posts: 11
Original Poster
Rep:
|
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.
|
|
|
07-29-2004, 11:31 AM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
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
|
|
|
07-29-2004, 11:38 AM
|
#5
|
LQ Newbie
Registered: Mar 2004
Location: Norway
Distribution: Red Hat 9
Posts: 11
Original Poster
Rep:
|
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
|
|
|
07-29-2004, 12:16 PM
|
#6
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
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...
|
|
|
07-29-2004, 12:44 PM
|
#7
|
LQ Newbie
Registered: Mar 2004
Location: Norway
Distribution: Red Hat 9
Posts: 11
Original Poster
Rep:
|
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
|
|
|
07-29-2004, 01:49 PM
|
#8
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
okay i just looked at some red hat documentation, looks like on red hat it's:
/sbin/lsmod | grep usb
|
|
|
07-29-2004, 01:53 PM
|
#9
|
LQ Newbie
Registered: Mar 2004
Location: Norway
Distribution: Red Hat 9
Posts: 11
Original Poster
Rep:
|
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]
|
|
|
07-29-2004, 02:09 PM
|
#10
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
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.
|
|
|
07-29-2004, 02:23 PM
|
#11
|
LQ Newbie
Registered: Mar 2004
Location: Norway
Distribution: Red Hat 9
Posts: 11
Original Poster
Rep:
|
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
|
|
|
07-29-2004, 02:46 PM
|
#12
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
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???
|
|
|
07-29-2004, 02:50 PM
|
#13
|
LQ Newbie
Registered: Mar 2004
Location: Norway
Distribution: Red Hat 9
Posts: 11
Original Poster
Rep:
|
yes, I yust took some pictures.
|
|
|
07-30-2004, 12:14 PM
|
#14
|
LQ Newbie
Registered: Mar 2004
Location: Norway
Distribution: Red Hat 9
Posts: 11
Original Poster
Rep:
|
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 12:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|