LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 04-02-2004, 12:56 AM   #1
Impaler
Member
 
Registered: Apr 2004
Location: Greece (Elladara!!)
Distribution: Debian
Posts: 59

Rep: Reputation: 15
Mount points for USB dvices incl. dig. camera


Hi!! I am using Mandrake 9.2 and I am trying to create a mount point for my digital camera. The problem is that I can't find the path of the device to create a mount point. It would be very helpfull if s.one informed me about that and generaly the location of the usb devices inside the system. I think it would be much more convinient for everyone to have mount points for the external devices. Sorry If s.think is wrong on what I am saying. I am a newbie!!!
Thanks
 
Old 04-02-2004, 02:05 AM   #2
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
Actually the mountpoint is a (usually empthy) directory, you can choose whatever you want, such as /mnt/usb or /mnt/camera. Simply create it with mkdir. Maybe what you don't find is the device, e.g. /dev/sda1. The 2.4 kernels use module usb-storage to emulate a scsi disk, so if you don't have any real scsi disks, it will be /dev/sda (i.e. you mount /dev/sda1)
 
Old 04-02-2004, 04:00 AM   #3
Impaler
Member
 
Registered: Apr 2004
Location: Greece (Elladara!!)
Distribution: Debian
Posts: 59

Original Poster
Rep: Reputation: 15
Thanks for your reply ac1980. I know how to mount the devices but my problem is that I can't find the path of the usb devices and that makes it impossible for me to create a mount point. I pluged in my camera and created a mount point for dev/sda (1,2.....) device but when I tried to mount I got the message that the device I am trying to mount does not exist. Although I tried to mount the device as dev/sda(1,2,....) manually (by konsole) with root privileges the result was the same. Is there any way to find the location-path of the usb devices (de/...) when I pluge them in?
 
Old 04-02-2004, 07:00 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
A mount point is any directory you create and is independent of the device. By convention most distros create directories under /mnt. SuSE uses /media.

All devices are in the /dev directory. In your post you leave out the first /. The OS assigns the first USB storage device found as /dev/sda, second as /dev/sdb etc. Assuming that you do not have any other SCSI devices installed.

Not all cameras are USB mass storage devices. If you look at the output of the console command dmesg there will be messages for your USB devices.

If your getting errors that say that /dev/sda1 does not exist then you need to verify if all of the USB modules are loading. MDK usually does not have a problem configuring USB support.

BTW what kind of camera do you have?
 
Old 04-02-2004, 07:24 AM   #5
Impaler
Member
 
Registered: Apr 2004
Location: Greece (Elladara!!)
Distribution: Debian
Posts: 59

Original Poster
Rep: Reputation: 15
Sorry.I didn't write the first "/" by mistake, although I used it when I was trying to mount the device on the specific folder I created. I have HP Photosmart 435 which the OS recognises and I can copy the pictures from the device to my hd using flphoto and some other grafic programs. My point is to create a folder(s) that I can click on and see my data when I plug in usb devices. I tried to mount /dev/sda1-2-3... but it doesn't work. I will try to mount /dev/sda-b-c..... but my other problem is that I use softmodem and it doesn't function on Linux so I have to logout from windows and login to linux to test the answers I take!!!! Thanks for your help
 
Old 04-02-2004, 08:22 AM   #6
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
I never used a hp camera, however running dmesg after plugging in your camera should give you a hint... If it doesn't, check if usb-storage module is loaded (lsmod |grep usb) and in case it isn't unplug the camera, load the module (modprobe usb-storage) and plug it back in.

Here is what you should get with dmesg (it may differ slightly):
Code:
hub.c: USB new device connect on bus1/1, assigned device number 3
usb-storage: act_altsettting is 0
usb-storage: id_index calculated to be: 81
usb-storage: Array length appears to be: 83
usb-storage: USB Mass Storage device detected
usb-storage: Endpoints: In: 0xc4620674 Out: 0xc4620660 Int: 0x00000000 (Period 0)
usb-storage: New GUID 04b001060000000004214037
usb-storage: GetMaxLUN command result is 1, data is 0
usb-storage: Transport: Bulk
usb-storage: Protocol: Transparent SCSI
usb-storage: *** thread sleeping.
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
...

  Vendor: NIKON     Model: NIKON DSC E775    Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
...
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
 sda1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
 
Old 04-02-2004, 11:32 PM   #7
Impaler
Member
 
Registered: Apr 2004
Location: Greece (Elladara!!)
Distribution: Debian
Posts: 59

Original Poster
Rep: Reputation: 15
It turned out to be what michaelk sugested: my camera doesn't work like mass storage device and I can only see the data using the proper (linux) software. Although I created a mount point for /dev/sda1 (after I added the necessery line in fstab) and works perfectly with my flash memory...

Thanks for your help guys
 
Old 04-03-2004, 01:07 AM   #8
fguziewi
LQ Newbie
 
Registered: Apr 2004
Location: Texas
Posts: 1

Rep: Reputation: 0
Thumbs up

Wonderful. Your answers helped me find my external hard drive. Thanks to all for their excellent explanations.
 
  


Reply



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
Mount points on usb devices (dig. camera, zip drive, external hard disk) Impaler Linux - Hardware 3 05-29-2006 11:08 PM
mount USB Camera FC3 frs Fedora 7 03-14-2005 05:57 PM
USB Camera Will Only Mount Once Glock Shooter Linux - Hardware 9 02-05-2005 08:26 AM
Unable to mount usb digital camera mad_ady Linux - General 11 09-01-2004 02:24 PM
Mount freezing when mounting USB camera symphony_in_c Linux - Hardware 6 09-01-2002 04:45 PM

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

All times are GMT -5. The time now is 09:34 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