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
  •  


Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th) picture

Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th)

$59.99



ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard picture

ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard

$84.99



ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield picture

ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield

$42.00



Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3  picture

Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3

$23.99



Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard picture

Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard

$54.99



MSI H81I LGA1150 MINI-ITX DDR3 Desktop Motherboard With I/O Shield  picture

MSI H81I LGA1150 MINI-ITX DDR3 Desktop Motherboard With I/O Shield

$32.99



MSI H110M pro-vd 6th/7th Gen Intel DDR4 MATX Motherboard NO I/O SHIELD picture

MSI H110M pro-vd 6th/7th Gen Intel DDR4 MATX Motherboard NO I/O SHIELD

$35.00



ASRock H170 Pro4S Motherboard ATX Intel H170 LGA1151 DDR4 SATA3 HDMI picture

ASRock H170 Pro4S Motherboard ATX Intel H170 LGA1151 DDR4 SATA3 HDMI

$39.99



Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM picture

Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM

$84.00



ASUS PRIME Z690-P WIFI D4 ATX Motherboard Intel LGA1700 DDR4 HDMI picture

ASUS PRIME Z690-P WIFI D4 ATX Motherboard Intel LGA1700 DDR4 HDMI

$99.99