LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Mounting a recognized USB device (https://www.linuxquestions.org/questions/linux-hardware-18/mounting-a-recognized-usb-device-366434/)

harisund 09-23-2005 10:31 PM

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.

nukkel 09-24-2005 07:39 AM

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.

linmix 09-24-2005 08:07 AM

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.


All times are GMT -5. The time now is 05:28 PM.