Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Easier way to use a camera in linux?

Hybrid View

  1. #1
    Member registered user
    Join Date
    Apr 2004
    Posts
    76

    Easier way to use a camera in linux?

    I got a FinePix A340 from a friend, brand new for 85 bucks. I created the camera folder in mnt and that works, but only for root, plus I have to mount it everytime like a normal device. GTKam and Digikam don't recognize it.

  2. #2
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788

  3. #3
    Member registered user
    Join Date
    Apr 2004
    Posts
    76
    Quote Originally Posted by shah
    I get this. When I mount it it shows up as sda1 and sdb1 due to an earlier mistake I made. Where should I edit the script to use them?


    Code:
    grep: /proc/scsi/usb-storage-*: No such file or directory

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    I used this howto:
    http://gphoto.sourceforge.net/doc/ma...rmissions.html
    ... mainly the 4.3 section when getting Gtkam to hotplug my camera also for my user me.

  5. #5
    Member registered user
    Join Date
    Apr 2004
    Posts
    76
    Most of that stuff is a bit too advance for me.

  6. #6
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Don't worry, it took me a while too. It just looks complicated but when read through it's not so bad.

    How about a simplified version: http://nift.freeshell.org/camedia.html
    You can add the group camera with kuser or change a line in usbcam.group:
    #GROUP=camera
    GROUP=users

  7. #7
    Member registered user
    Join Date
    Apr 2004
    Posts
    76
    I made a work around script for my laziness. I'll share it if anyone cares.

    Code:
    sudo mount /dev/sda1 /mnt/camera && sudo konqueror /mnt/camera
    This is enough for me.

  8. #8
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    Thought I should post this since most of the suggestions in the links don't work & it took quite a while for me to figure out how to get my camera to work.

    Kano's script didn't work (same error as ZeroKun got) & "gphoto2 --print-usb-usermap >> /etc/hotplug/usb.usermap" doesn't work with newer versions of gphoto2.

    But this worked:
    1) /usr/lib/libgphoto2-2/print-usb-usermap > /etc/hotplug/usb/usbcam.usermap
    2) cp /usr/share/doc/libgphoto2-2/linux-hotplug/usbcam.group /etc/hotplug/usb/usbcam
    3) edit the "GROUP=" line in /etc/hotplug/usb/usbcam to specify the group you want to have access to the camera (I just used the group 'users')
    4) chmod +x /etc/hotplug/usb/usbcam to make the script executable

    That's it, camera should work for any user in the group.

    I've been using flphoto as a graphical frontend to gphoto2.
    Konqueror has an io plugin 'kamera' which is supposed to access the camera with the url 'camera:/' but I cannot get it to work. Anybody else try it?

  9. #9
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Quote Originally Posted by CrashedAgain
    Thought I should post this since most of the suggestions in the links don't work & it took quite a while for me to figure out how to get my camera to work.
    Umm, your solution is actually straight from the 4.3.2. section of http://gphoto.sourceforge.net/doc/ma...rmissions.html which I posted earlier.

    I've been using flphoto as a graphical frontend to gphoto2.
    Konqueror has an io plugin 'kamera' which is supposed to access the camera with the url 'camera:/' but I cannot get it to work. Anybody else try it?
    Haven't tried as I don't use konq much, but gtkam is quite nice.

  10. #10
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    Quote Originally Posted by Markus
    Umfromm, your solution is actually straight the 4.3.2. section of http://gphoto.sourceforge.net/doc/ma...rmissions.html which I posted earlier.
    Not quite 'straight from', the link suggests the "gphoto2 --print-usb-usermap >> /etc/hotplug/usb.usermap" command which doesn't work & it took me a while to find the usbcam.group scripts as they are in usr/share/doc/libgphoto2-2/ not /usr/share/doc/gphoto2/ as in the how-to.

    The '/usr/lib/libgphoto2-2/print-usb-usermap > /etc/hotplug/usb/usbcam.usermap' came from your reply in a different post for which I should have given credit...sorry.

    Just thought I should put it all together in an easy step by step for the benefit of the next caller.

Page 1 of 2 12 LastLast

Similar Threads

  1. Can't Get USB Camera Working in 2.6.9
    By sakiZ in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 01-03-2006, 03:21 AM
  2. Remastering just got easier?
    By mzilikazi in forum Customising & Remastering
    Replies: 3
    Last Post: 03-16-2005, 10:14 PM
  3. HDD install with KNX2HD and KNX-HDINSTALL easier than ever
    By godot in forum Hdd Install / Debian / Apt
    Replies: 30
    Last Post: 06-13-2004, 03:15 PM
  4. nVidia hindsight - ok, but what is easier?
    By nrj in forum General Support
    Replies: 3
    Last Post: 12-17-2003, 06:23 AM
  5. Scripts to make KNOPPIX->custom easier . . .
    By teverettak in forum Customising & Remastering
    Replies: 6
    Last Post: 05-15-2003, 03:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS

$144.98



Intel(R) Xeon(R) CPU @ 3.30GHz, 4 Core(s), 32 GB RAM, 1 GB  HDD Workstation 3 picture

Intel(R) Xeon(R) CPU @ 3.30GHz, 4 Core(s), 32 GB RAM, 1 GB HDD Workstation 3

$145.00



HP Z8 G4 Z8G4 Barebone Workstation w/ Intel Xeon Silver - No HDD No RAM No GPU picture

HP Z8 G4 Z8G4 Barebone Workstation w/ Intel Xeon Silver - No HDD No RAM No GPU

$449.99



Matched Pair _ Intel Xeon E5-2698 V4 2.2GHz 20-Core Processor CPU LGA2011 SR2JW picture

Matched Pair _ Intel Xeon E5-2698 V4 2.2GHz 20-Core Processor CPU LGA2011 SR2JW

$94.99



Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS picture

Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS

$189.98



Intel Xeon Gold 6230 2.1 GHz Processor - SRF8W picture

Intel Xeon Gold 6230 2.1 GHz Processor - SRF8W

$29.00



Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3 picture

Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3

$219.99



Intel Xeon Processor E5-2687W V4 SR2NA 3.00GHz Broadwell 160W LGA2011 12-Core picture

Intel Xeon Processor E5-2687W V4 SR2NA 3.00GHz Broadwell 160W LGA2011 12-Core

$36.00