Linux - HardwareThis 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.
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.
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
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)
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?
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.
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
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
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.