Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Unless it's an external harddrive, you don't mount a USB device. You'll just need a driver if the standard ones that come with mandrake don't work. What is it you are wanting to attach?
I am trying to get my computer to interface with my Digital Camera. I am trying to use a program called kamera and it wants a path to the camera. I was hoping that I could figure out how to direct it to the USB port where the camera interfaces with the PC.
If your USB Digital camera uses a standard compact flash interface like many of the newer cameras do, including my Nikon 885 and many other cameras, then getting it to work under linux is simple and doesn't require gphoto. If it uses a non-standard interface then check out gphoto and ignore the below information....
Ok, first things first, you need the USB Bulk Media driver compiled into the kernel, or loaded as a module. You also need generic scsi support and support for scsi drives compiled into the kernel. The reason for this is the USB Bulk Media driver emulates a scsi device. If you need help with this send me an e-mail and I will be more specific about how to do this (jtshaw@resnet.gatech.edu).
Plug in the camera, wait a few seconds, and type dmesg at the command line. The end of the dmesg should contain a bunch of information about the USB Bulk media driver initialization. If you cat /proc/scsi/scsi you should see something that resembles this:
You can now mount the device. You mount it as if it is a scsi device. In my case, since it is the only scsi device on my system, I added the line:
/dev/sda1 /e885 vfat noauto,user,ro 0 0
to my /etc/fstab file. sda1 might be something else in your case if you have other scsi devices, for instance if it was the second device it might be sda2. The noauto switch means the drive will not be mounted at boot, only on request, and the user switch means you don't have to be root to mount this device. I also mount mine read-only for safety sake, and delete the images with my cameras built in menus. Mounting the device after adding a line like that to fstab only requires the command mount /e885.
I hope this helps.
John
...oh ya... now you can access the cameras flash card just like it is a harddrive plugged into your computer, just go to the directory you mounted it at...
Yep, it does work for some smart media cameras. The limiting factor is whether or not your camera talks with a standard protocol over USB or some proprietary protocol. What kind of camera do you have?
Ok... Olympus used a propietary protocol until the C3040Z so you will have to go the route of gphoto. The good news is gphoto does supposively support your camera. They have all sorts of documentation on there website.
Does anyone know of a list of which cameras support the standard CF interface.
I have a Canon digital IXUS V (also known as PowerShot S110) which uses CF cards. I would be interested to know if this system would work for me.
I've been trying unsuccesfully for the last week and a bit to compile my kernel with SCSI emulation. Gave up in the end when I was given an old computer with a SCSI HDD and I scrounged a SCSI card from my dad. I've resintalled Mandy and it recognises the HDD perfectly. Great, at last - SCSI support!
Howver, I only have /dev/sda1, how do I create /dev/sdb1, so I can mount my camera there? (Finepix 2400.)
Typically /dev/sdb1 would be created with
mknod /dev/sdb1 b 8 17
mknod can only be run as root on my configurations.
For scsi devices the first number is always an 8, numbers 0-15 represent /dev/sda - /dev/sda15, 16 would be /dev/sdb... and so on.
I had this working, without having to follow your advice actually. I just typed
mount /dev/sdb1 /mnt/fuji and it just magicaly worked.
Anyway, I took out my SCSI HDD because I didn't need it in this machine and was thinking about using it in another. Unfortunately, I can't mount sdb1 anymore at all.
I've tried everything, including reinstalling Mandrake.
If I try
mknod /dev/sdb1 b 8 17
you can see the /dev/sdb1 directory, but there's no link when you do
ls sd* -l
as there is for the physical SCSI HDD (which I reinstalled!).
When I try mounting /dev/sdb1 it tells me
/dev/sdb1 is not a valid block device.
Any idea what I might have done to mess this all up and what I need to do to fix it?
If you were mounting to /dev/sdb1 - and it worked.. then you pulled out your SCSI drive - it would then switch to /dev/sda1 .... reinstalling it wouldn't have fixed it.
I have just done this all on my Thinkpad laptop. I have a Zio! SmartMedia card reader, which uses the MicroTech SmartMedia module in the 2.4.17 kernel. It was cheap to buy, only about $40 if I remember right.
Another thought you might want to take into consideration... when I first started using Linux again (note again, it's been a while) I was having ALL kinds of problems recompiling the kernel. I've since found out that GCC 2.9.6 is extremely buggy. I would recommend either downgrading to 2.9.5 or upgrading to 3.0.3 - which should solve your compiling problems. Until "I" did this, I got tons of kernel errors, segmentation faults, locking up in boots... you name it I got it.. which is extremely frustration for a new user of Linux.
Feel free to e-mail me if you have any questions, I'll help you out best as I can.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.