LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-23-2005, 03:50 PM   #1
yotamk
Member
 
Registered: Nov 2004
Location: ~
Distribution: Debian
Posts: 145

Rep: Reputation: 15
Where is my camera


Using Debian sarge.

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
 
Old 01-25-2005, 10:12 AM   #2
slackaddict
Member
 
Registered: Nov 2004
Location: Aotearoa
Distribution: Slack, Ubuntu
Posts: 92

Rep: Reputation: 15
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.
 
Old 01-25-2005, 02:25 PM   #3
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Have you seen this: http://nift.freeshell.org/camedia.html


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.

Last edited by makuyl; 01-25-2005 at 02:29 PM.
 
Old 01-25-2005, 02:31 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
Usb mass storage devices are handled through a scsi emulation layer, hence they show up as scsi devices, just as SATA devices through libata.
 
Old 01-26-2005, 12:45 AM   #5
yotamk
Member
 
Registered: Nov 2004
Location: ~
Distribution: Debian
Posts: 145

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by makuyl
[B]Have you seen this: http://nift.freeshell.org/camedia.html
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?
 
Old 01-26-2005, 02:57 PM   #6
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
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
 
Old 01-26-2005, 03:15 PM   #7
yotamk
Member
 
Registered: Nov 2004
Location: ~
Distribution: Debian
Posts: 145

Original Poster
Rep: Reputation: 15
But as I said, it is mounted - I am able to download the pictures from it on to my hd.

Was just curious what is happening here, cause it doesn't show anywhere on my file-system...
 
Old 01-26-2005, 03:31 PM   #8
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
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/
 
Old 01-27-2005, 03:53 PM   #9
Nora M
LQ Newbie
 
Registered: Jan 2005
Location: Clarksville, Maryland
Posts: 1

Rep: Reputation: 0
Question Purchase Digital Camera

Can any one recommend a digital camera to use with Linux. I have had it with windows and need to purchase a new camera. I don't want to buy problems.

Thank you,
Nora M
 
Old 01-28-2005, 03:04 AM   #10
yotamk
Member
 
Registered: Nov 2004
Location: ~
Distribution: Debian
Posts: 145

Original Poster
Rep: Reputation: 15
Look for a camera that fit your needs, and then google for linux support for that specific model. or look at the manufacturer web site.

I think most new cameras are supported by linux (with new kernels...), but as you can see above (my previous posts) I'm not an expert

Linux support is better than WinXP...

Good luck.
 
Old 01-28-2005, 03:20 AM   #11
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
You can look here: http://gphoto.sourceforge.net/proj/l...o2/support.php
And at this page mentioned in the above: http://www.teaser.fr/~hfiguiere/linux/digicam.html

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".
 
Old 02-16-2005, 03:01 PM   #12
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 713

Rep: Reputation: 32
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)


However I can not see the images there.
 
Old 02-17-2005, 12:48 AM   #13
yotamk
Member
 
Registered: Nov 2004
Location: ~
Distribution: Debian
Posts: 145

Original Poster
Rep: Reputation: 15
Have you tried software using libgphoto2?

Add yourself to the camera group: adduser username camera.

What kind of camera do you have? I think only mass storage devices can be accessed as HD...
 
Old 02-17-2005, 09:43 AM   #14
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 713

Rep: Reputation: 32
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.
 
Old 02-17-2005, 10:04 AM   #15
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 713

Rep: Reputation: 32
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.

Last edited by davholla; 02-17-2005 at 10:14 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Looking for Camera blufire Linux - Hardware 0 09-04-2005 12:47 PM
I have an old DV camera dinolinux Linux - Newbie 1 06-17-2005 09:54 PM
Why can't I use my camera? phanbao Linux - Newbie 7 12-09-2004 03:40 PM
Camera SnowSurfAir Linux - Hardware 1 08-09-2003 06:43 AM
new camera triplied Linux - Software 4 06-13-2002 04:15 PM


All times are GMT -5. The time now is 06:24 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration