LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-13-2008, 05:44 AM   #1
sanjay.krk
LQ Newbie
 
Registered: Jul 2008
Location: New Delhi
Posts: 26

Rep: Reputation: 15
How to access a canon digital camera on FC9


Hi friends,
I want to transfer images from canon camera (IXY digital 70) to my notebook (Fedora Core 9).

Everytime I plug in the camera, following messages appear:
usb 1-1: new high speed USB using ehci_hcd and address 9
usb 1-1: configuration #1 chosen from 1 choice
usb 1-1: New USB device found, idVendor=04a9, idProduct=311c
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: Canon Digital Camera
------------------


I can't see any error messages above, but I also don't know, how to actually mount the camera so that I can access it.

Is there any way to figure out the appropriate device (for e.g. /dev/sda etc) from the above information.


Any pointers?

Sanjay
 
Old 08-13-2008, 06:25 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
On my system (PCLOS) my Canon camera is auto-detected and I am given options including mounting in a new window and opening with Digikam. If I simply try to display in a Window, I see a folder named "USB ptp-class camera", but I cannot open the folder.

Digikam, however, will display the images and offer to download them (Just as if I had installed the card into a a reader.

Note that the camera has to be switched to playback before any of this happens.

I prefer using a separate card reader to get my images into the computer.
 
Old 08-13-2008, 06:43 AM   #3
sanjay.krk
LQ Newbie
 
Registered: Jul 2008
Location: New Delhi
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks Pixellany,
Inserting he SD card directly worked for me.

Still I would be interested in knowing how can I make this work by directly attaching the camera.

Is it possible for you to provide me the log messages (/var/log/messages) that appear when you insert your camera?

Thanks
Sanjay
 
Old 08-13-2008, 07:06 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Code:
Aug 13 04:56:02 localhost kernel: usb 4-4.3: new high speed USB device using ehci_hcd and address 10
Aug 13 04:56:02 localhost kernel: usb 4-4.3: configuration #1 chosen from 1 choice
[root@localhost log]# tail messages

Aug 13 04:56:46 localhost kernel: usb 4-4.3: USB disconnect, address 10
Aug 13 04:56:57 localhost kernel: usb 4-4.3: new high speed USB device using ehci_hcd and address 11
Aug 13 04:56:57 localhost kernel: usb 4-4.3: configuration #1 chosen from 1 choice
Aug 13 04:57:08 localhost a [kdeinit] camera /home/mherring/tmp/ksocket-mhe: resmgr: communication failure: No such file or directory
###this resulted from attempting to open the detected device###
[root@localhost log]# tail messages
Aug 13 04:58:11 localhost digikam: resmgr: communication failure: No such file or directory
###and this after selecting download from digikam  (but digikam sees the images with no problem)###
Aug 13 04:58:16 localhost last message repeated 23 times
Aug 13 04:58:45 localhost sens[root@localhost log]#
Again, nothing happens until switching to playback mode.
 
Old 08-13-2008, 07:59 AM   #5
sanjay.krk
LQ Newbie
 
Registered: Jul 2008
Location: New Delhi
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks Pixellany,

Playback mode means the mode used to see pictures. Right .
Further, one more piece of information if you can provide.
That is, what is the output of "mount" command on your system?
This will just allow me to see which device is getting mounted and with what filesystem type.

Sanjay
 
Old 08-13-2008, 08:19 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
"mount" does not appear to show anything relevant:
Quote:
[root@localhost mherring]# mount
/dev/sda8 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,mode=0620)
none on /proc/bus/usb type usbfs (rw)
/dev/sdb1 on /mnt/data type ext3 (rw)
/dev/sdb2 on /mnt/pix type ext3 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
In the file manager, it shows up thusly:
system:/media/camera
 
Old 08-13-2008, 08:24 AM   #7
sanjay.krk
LQ Newbie
 
Registered: Jul 2008
Location: New Delhi
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks again.

Strange. Isn't it?
 
Old 08-13-2008, 08:29 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
If Canon supports Linux for cameras the same way they do for printers, then I'll stick with using a card reader.

More generally, I am pretty clueless about the various ways that Linux auto-detects things. On my list of things to do before I die.......
 
Old 08-13-2008, 09:06 AM   #9
sanjay.krk
LQ Newbie
 
Registered: Jul 2008
Location: New Delhi
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pixellany View Post
More generally, I am pretty clueless about the various ways that Linux auto-detects things. On my list of things to do before I die.......
lolz.

May be you can read about how 'hot-plugging' works in linux and share you knowledge (I think we can classify it as hot-plugging).

In general terms, whenever you hot-plug a devices, it sends a interrupt which is captured by linux-hotplug driver.
This kernel driver then reads the configuration space of device (basically some registers on the device with predefined locations for various info) and locates the device id, manufacturer etc etc and pass this information to user space.

The user space script reads this information and inserts appropriate device specific driver.
 
Old 08-15-2008, 10:14 PM   #10
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
I think that you'll find the card reader will transfer faster than the camera's usb cable.
 
Old 08-16-2008, 10:06 AM   #11
sanjay.krk
LQ Newbie
 
Registered: Jul 2008
Location: New Delhi
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by slackass View Post
I think that you'll find the card reader will transfer faster than the camera's usb cable.
Agreed. But I just want to know, what exactly is the problem and solution. (just in case, if i have a usb port only and no card reader )
 
Old 08-16-2008, 10:29 AM   #12
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
photos from (some) canon cameras can be downloaded using gphoto2.
Program is available here. But first check if your camera is supported.
 
  


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
Trouble mounting Canon Powershot Digital Camera benchasebrown Slackware 2 09-13-2006 03:08 PM
Trouble Mounting Canon EOS Digital Camera smannell Linux - Hardware 1 05-18-2006 03:35 PM
Canon A520 digital camera problem loxindox Linux - Hardware 0 12-16-2005 08:54 PM
Canon Digital Camera seelk Linux - Hardware 3 04-14-2005 02:43 AM
Canon Ixus V3 Digital Camera and Red Hat Linux 9 JC404 Linux - Hardware 12 07-25-2003 09:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:38 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
Open Source Consulting | Domain Registration