[lug] gphoto for usb cameras

Timothy C. Klein teece at silverklein.net
Thu Jun 20 21:58:49 MDT 2002


* Arlan Ramsay (ramsay at euclid.Colorado.EDU) wrote:
> 
> Their site suggests getting gphoto2, and a certain version (recent) of
> libusb.  I got them, but don't know where to put libusb.  I am only
> familiar with the standard `./configure etc'.  Any help will be
> appreciated.
> 
> Arlan Ramsay

I put them in /usr/local/lib.  After you move them there, run 'ldconfig'
as root.  Worked fine for me.   I don't remember what the source tree
was like for libusb, but a lot of source packages have a 'make install'
option, too, which will copy all of the files to the correct places, and
give them the right permissions.

Also, Debian has gphoto2 and libusb packages available, so I am sure
that RPM based distros do, too.  That is pretty easy.

One last note, setting up dynamic USB devices, that aren't given a
permanent place in the /dev directory, for non-root users can be a
real pain.  You have to supply scripts to hotplug or usbmgr to get it
to work.  It was easiest for me just to change the binary to setuid
root, with chmod ug+s /path/to/gphoto2.  That has security implications
if gphoto2 were found to have bugs, but they are fairly minor on a
single user type box.

Tim
--
==============================================
== Timothy Klein || teece at silverklein.net   ==
== ---------------------------------------- ==
== "Hello, World" 17 Errors, 31 Warnings... ==
==============================================



More information about the LUG mailing list