LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-23-2005, 10:31 PM   #1
harisund
Member
 
Registered: Sep 2005
Location: Baton Rouge
Distribution: Ubuntu 5.10
Posts: 74

Rep: Reputation: 15
Mounting a recognized USB device


Hello everyone

I am running Mepis and am trying to connect a USB camera. It is a Vivitar camera

I plug in it and then type dmesg | grep usb I get

usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbcore: registered new driver usb-storage
usb 3-1: new full speed USB device using ohci_hcd and address 2

lsusb also identifies it:

Bus 003 Device 003: ID 06d4:1021 DXG Technology Corp

Hey I am even able to extract all my pictures using gphoto2 --auto-detect -P

BUT

How do I mount it?

I know it can be mounted because it was read in my friend's Ubuntu as an external hard disk, and he could just download photos to his hard disk.

Everything has been identified and drivers have been registered. I just don't know how to mount it.

Last edited by harisund; 09-24-2005 at 12:04 AM.
 
Old 09-24-2005, 07:39 AM   #2
nukkel
Member
 
Registered: Mar 2003
Location: Belgium
Distribution: Hardened gentoo
Posts: 323

Rep: Reputation: 30
You have to find out which device it is mapped to: USB mass storage devices work like emulated SCSI disks, so e.g., if you don't already have SCSI hard drives in your system, it will likely be mapped to /dev/sda (=the first scsi hard disk) because .

Then depending on the model of your camera the data may be on partition 1,2,3, or 4. I have a USB memory stick that maps to /dev/sda1, and another one that maps to /dev/sda4. No way of really telling that in advance...

Just try to mount all possible combinations: as root, do mount -t auto /dev/sda1 /mnt and play around with the partition number, until the mounting succeeds.

When you found the correct device name, you could add an entry to /etc/fstab (read the man page for more info), so you can simply mount it as a non-root user.
 
Old 09-24-2005, 08:07 AM   #3
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
just one thing: it's better not to mount anything directly on /mnt. There might be other things mounted in directories there and trying to mount directly would then cause either an error message or the devices mounted on the subdirectories might stop responding (and if you use a live cd your system would hang).

Simply use mkdir to create a new directory (e.g. #mkdir /mnt/USB_cam) and then try to mount it there.
 
  


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
USB device not recognized Greek Acrobat Slackware 5 07-25-2005 11:30 AM
Mounting a USB device jaakkop Linux - Hardware 4 05-29-2005 05:50 AM
Mounting USB device Valhalla Linux - Hardware 17 12-11-2004 02:19 PM
why is usb device recognized? kangaman Linux - Hardware 1 10-27-2004 11:05 AM
USB device is recognized, but wount access it's specific driver. Lechium Linux - Software 2 08-05-2004 01:26 PM


All times are GMT -5. The time now is 04:00 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration