LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   How to access a canon digital camera on FC9 (https://www.linuxquestions.org/questions/fedora-35/how-to-access-a-canon-digital-camera-on-fc9-662433/)

sanjay.krk 08-13-2008 05:44 AM

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

pixellany 08-13-2008 06:25 AM

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.

sanjay.krk 08-13-2008 06:43 AM

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

pixellany 08-13-2008 07:06 AM

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.

sanjay.krk 08-13-2008 07:59 AM

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

pixellany 08-13-2008 08:19 AM

"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

sanjay.krk 08-13-2008 08:24 AM

Thanks again.

Strange. Isn't it?

pixellany 08-13-2008 08:29 AM

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.......

sanjay.krk 08-13-2008 09:06 AM

Quote:

Originally Posted by pixellany (Post 3245940)
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.

slackass 08-15-2008 10:14 PM

I think that you'll find the card reader will transfer faster than the camera's usb cable.

sanjay.krk 08-16-2008 10:06 AM

Quote:

Originally Posted by slackass (Post 3249204)
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 :))

ErV 08-16-2008 10:29 AM

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


All times are GMT -5. The time now is 10:53 PM.