LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-19-2011, 09:46 PM   #1
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Rep: Reputation: 30
Mounting Camera, this should be an easy one..


I installed gphoto2, when I run it, gphoto sees the camera and I can see the files, but only in command line.
How can I mount the filesystem on the camera so I can use X to see the pictures on the camera?
I tried mount /dev/camera /mnt/camera but all I get is special device camera does not exist.
 
Old 08-20-2011, 03:01 AM   #2
salemeni
Member
 
Registered: Aug 2011
Posts: 64

Rep: Reputation: Disabled
Post

Quote:
Originally Posted by M$ISBS View Post
I installed gphoto2, when I run it, gphoto sees the camera and I can see the files, but only in command line.
How can I mount the filesystem on the camera so I can use X to see the pictures on the camera?
I tried mount /dev/camera /mnt/camera but all I get is special device camera does not exist.
Code:
# tail -f /var/log/messages
Disconnect and connect you camera and see messages
if you found any sda1 or sdb1 sdc1

Code:
Apr 11 09:01:57 salem kernel: [232146.054912] lo: Disabled Privacy Extensions
Apr 11 09:06:57 salem kernel: [232445.444011] usb 1-5: new high speed USB device using ehci_hcd and address 5
Apr 11 09:06:57 salem kernel: [232445.858161] Initializing USB Mass Storage driver...
Apr 11 09:06:57 salem kernel: [232445.858282] scsi4 : usb-storage 1-5:1.0
Apr 11 09:06:57 salem kernel: [232445.858405] usbcore: registered new interface driver usb-storage
Apr 11 09:06:57 salem kernel: [232445.858407] USB Mass Storage support registered.
Apr 11 09:06:58 salem kernel: [232446.856743] scsi 4:0:0:0: Direct-Access     Kingston DT 101 II        1.00 PQ: 0 ANSI: 2
Apr 11 09:06:58 salem kernel: [232446.857178] sd 4:0:0:0: Attached scsi generic sg2 type 0
Apr 11 09:06:58 salem kernel: [232446.859219] sd 4:0:0:0: [sdb] 7831552 512-byte logical blocks: (4.00 GB/3.73 GiB)
Apr 11 09:06:58 salem kernel: [232446.859740] sd 4:0:0:0: [sdb] Write Protect is off
Apr 11 09:06:59 salem kernel: [232446.861854]  sdb: sdb1
Apr 11 09:06:59 salem kernel: [232447.996703] sd 4:0:0:0: [sdb] Attached SCSI removable disk
do
Code:
#mount /dev/sdb1 /mnt/camera
generics array

Last edited by salemeni; 12-06-2011 at 03:02 AM.
 
Old 08-20-2011, 03:30 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
What is the make/model of camera?

It depends on the protocol the camera uses i.e. MSC or MTP. If it is a MSC (Mass Storage Class) device then you can mount it like a regular drive. As already posted it will be /dev/sdx.

If it is a MTP device then it can not be mounted. There are GUI frontends to gphoto2 like gtkam, shotwell (Gnome), and digikam (KDE).

Another option would be to use a card reader.

The output of the lsusb command might display if it is a MTP device.
 
Old 08-20-2011, 05:30 PM   #4
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Tail -f /var/log/messages shows the make and model of camera and that it is a USB device but it does not show anything like sdb1 that I can use to mount.

When I try mount /dev/sdb1 /mnt/camera that mounts my external hard drive.

I have two external hard drives hooked up to a four port hub and I have the camera plugged directly into the back of the computer (USB port)

I tried the hub but I get the same results.

I disconnected the external drives and tried to mount but I get special device does not exist.

I remember when I used gphoto2 in slackware 12, I would plug in the camera, type in gphoto2 and a window would popup showing the pictures that are on the camera.

Last edited by M$ISBS; 08-20-2011 at 05:35 PM.
 
Old 08-20-2011, 06:16 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
What is the make and model of your camera?
 
Old 08-20-2011, 10:07 PM   #6
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by michaelk View Post
What is the make and model of your camera?
Kodak, Easyshare CX7430

oops!, I forgot that I used to use KDE, now I am using Xfce If that makes a difference..... ?

Last edited by M$ISBS; 08-20-2011 at 10:10 PM.
 
Old 08-21-2011, 08:07 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
AFAIK Kodak cameras are PTP (MTP) devices. Therefore it can not be mounted as a drive.

http://www.gphoto.org/proj/libgphoto2/support.php
http://www.teaser.fr/~hfiguiere/linux/digicam.html
 
Old 09-07-2011, 06:21 PM   #8
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Hmmm, I guess I can keep downloading them by using the command line. Thanks.
 
  


Reply



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
mounting digital camera, mounting in general? lugoteehalt Linux - Hardware 6 08-29-2006 12:52 PM
Kodak Easy Share digital camera CX4230 under SUSE 8.2 thedeerhunter27 Linux - Hardware 0 12-21-2003 04:48 AM
Easy PC Camera: No drivers :-( chem1 Linux - Hardware 15 08-10-2003 02:36 AM
install intel easy PC camera patpat Linux - Newbie 1 06-23-2003 10:11 AM
Intel Easy PC Camera And linux Murader Linux - General 3 08-10-2002 09:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:04 AM.

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
Open Source Consulting | Domain Registration