Re: Problems Mounting Digital Camera

From: Andrew Schulman (andrex_at_alumni.utexas.net)
Date: 06/02/05

  • Next message: Graham Smith: "Re: lilo to grub conversion"
    To: debian-user@lists.debian.org
    Date: Thu, 2 Jun 2005 15:04:40 -0400
    
    

    > is it possible? i
    > mean, access my cam w/ gphoto and not mounting it?

    Yes, this is how my Canon Powershot S30 works, and many other cameras
    too I believe. I never mount my camera as a file system. Instead I
    just run digikam, which is a front end for libgphoto2, which "sees" my
    camera and knows how to manipulate its contents.

    Other cameras do get mounted as file systems, which seems more
    convenient since it allows you to manipulate their contents without the
    intermediary of gphoto2. But if your camera isn't one of those, there's
    nothing you can do about it. Of course there is the newer
    gphoto-fuse-fs option that I mentioned. I've never tried that, and it
    requires the fuse module. But it may work for you.

    > maybe some module
    > to be loaded by the kernel should fix it?

    FWIW, below are my notes about how I got gphoto2 to work. It seems that
    I needed usb support, hotplug, and Video4Linux.

    Good luck,
    Andrew.

    2004-03: read /usr/share/doc/libgphoto2-2/README.Debian. The
    instructions below are somewhat dated.

    2003-09:
    To set up gphoto2 I followed the instructions in the gphoto2 manual
    section 4.3,
    http://gphoto.sourceforge.net/doc/manual/permissions-usb.html. Also,
    the Video4Linux kernel module is required for USB cameras.

    First I set up USB. In the end all that was needed was to include USB
    support (especially "Preliminary USB file system support") in the
    kernel, and install hotplug. usbdevfs is then automatically mounted
    for me at boot time, presumably by hotplug, under /proc/bus/usb.

    To set up gphoto2, again I followed the instructions:

    mkdir /usr/lib/hotplug/libgphoto2
    /usr/lib/libgphoto2-2/print-usb-usermap > \
        /usr/lib/hotplug/libgphoto2/usb.usermap
    update-usb.usermap

    which includes the contents of /usr/lib/hotplug/libgphoto2/usb.usermap
    (camera descriptions) into /etc/hotplug/usb.usermap.

    Then I borrowed the sample script
    /usr/share/doc/gphoto2/linux-hotplug/usbcam.group and copied it to
    /etc/hotplug/usb/usbcam. All this script does is change the group
    ownership of a newly plugged-in camera to camera, and set the group rw
    permissions.

    I also created the "camera" group, which should include all console
    users.

    Finally I set

    update-alternatives --install /usr/bin/camera camera \
        /usr/bin/digikam 100

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Graham Smith: "Re: lilo to grub conversion"

    Relevant Pages

    • Re: Mount digital camera
      ... using 'gphoto2' with 'gphoto2 -P' over PTP. ... When I connect my camera to the computer using USB the ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: mounting digital camera as block device? (kernel 2.6)
      ... >> can't talk to my camera as a raw block device, ... >> do so via Gphoto2. ... Ops, was lucky then, thought any cam would just be some USB ...
      (comp.os.linux.setup)
    • Re: Download photos automatically
      ... I don't use the mass storage becauseI wanted to use gphoto2 with the ... I want to do is launch this command when the camera is connected. ... usb 4-4: USB disconnect, address 7 ...
      (comp.os.linux.misc)
    • gphoto2 problems
      ... The camera in question is a Kodak CX6200 and is listed as working with gphoto2. ... Setting port info for port 'Universal Serial Bus' at ...
      (freebsd-questions)
    • Gphoto2
      ... and installed the required USB drivers, ... The command 'gphoto2 -v' gave the following result: ... gPhoto - Cross-platform digital camera library. ... Licensed under the Library GNU Public License. ...
      (comp.os.os2.apps)