Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Have an Olympus c-3030Z digital camera. Have added myself to the "camera" group and can finally import the files, using gThumb or other software (e.g. Digikam).
My question is: Is there a way to access the device directly? For example how do I unmount the camera. Where is it mounted (if at all) on the file system?
Thanks.
btw couldn't download the pictures at my work place (where the camera belongs) because they only have WinXp machines there. XP wouldn't recognize this model
If this camera connects by USB try /dev/sda1. I mount my camera with: "mount -t vfat /dev/sda1 /mnt/camera/" , I don't know why it shows up as sda but I think most cameras are like that. Of course if you have other scsi devices on your system it might be at /dev/sdb or something.
EDIT: Hmm, forgot to post my comments on this
It's managed by hotplug so there is no need to mount/unmount it. If the camera supports usb-storage, do what the above post said, ie. try sda1 and so on, or plug in the camera and check dmesg to see where it's attached to.
Yes this is interesting, thanks, but it still doesn't answer my question.
Have downloaded the pictures from the camera with gThumb and other apps, but I'm just curious how it is mounted. I have a usb entry in my fstab, and my disc-on-key is mounted just fine - when I plug it in, I'm able to reach it with file manager or via command line. This is not the case with the camera. When plugged into the same usb slot it does not seem to be mounted anywhere, although I'm able to download the pictures using digiKam or gThumb.
Should there be an entry (a line) for each device in fstab (e.g. camera and disc-on-key) even when devices are plugged into the same usb port?
If your camera supports usb-storage you should be able to use the same options in fstab. Anyway, the lines in fstab are just to give users mounting permissions and to make mounting faster than having to type everything every time.
You might need to stop hotplug with /etc/init.d hotplug stop
and then try to mount it manually with: sudo mount /dev/sda1 /mnt/some-mountpoint -t vfat
AFAIK it's not mounted as a block device like your usb-drive is mounted as a SCSI disk device. Hotplug just binds drivers to it so that USB commands are sent directly to the camera. I'm not very well into this so you might want to look at: http://linux-hotplug.sourceforge.net/
Basically, if the camera supports usb-storage you're all set to go after mounting it with a simple command. If it doesn't support usb-storage you have to use something like libgphoto2 to use it.
I have a canon g5 myself which doesn't support storage, so I use it with libgphoto2. Another solution would be to use a memory card reader in which case all cameras "work".
I have just got rid of susie and installed mephis linux.
It works for one thing I can not find my camera.
I tried the above sugestions without any luck.
Here are the results of dmesg :-
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: KM Model: DiMAGE Z3 Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 1983495 512-byte hdwr sectors (1016 MB)
I have a konic minolta dimage Z3.
I tried apt-get install libgphoto2 but it said that it could not find the package.
I did add myself to the camera group but I still can not find it.
I have found it.
I created a directory called camera in mnt and then as root did mount /dev/sda1 /mnt/camera/.
The only strange thing is that I can only see it as root.
The permissions are drwxr--r--.
I tried chmod o+x camera but it did not change it.
Also ten minutes later I disconnected my camera, took a picture and tried to see on the pc and now I can not see anything in the directory camera nor can I mount it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.