libgphoto

digital camera library

WWW CVSWeb GITHub
  1. Package version
    libgphoto-2.5.31p1
  2. Maintainer
    Antoine Jacoutot

This library is the core of the gphoto2 software. It gives access to
almost 300 digital cameras
(see http://gphoto.sourceforge.net/proj/libgphoto2/support.php for a
list of supported cameras).

It uses abstractions to handle the communication port (serial/usb
protocols) and the camera model separately.

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

Since USB reading of your camera will be handled by libusb, you need to allow
the user access to the corresponding USB endpoint. To do so, find
where your camera is attached to by using:
$ usbdevs -v
then change the ownership accordingly.

e.g.
Controller /dev/usb0:
<...>
addr 03: 04e8:6860 SAMSUNG, SAMSUNG_Android
high speed, power 96 mA, config 2, rev 4.00, iSerialNumber 9a0cef4c
driver: umodem0
driver: ugen0

# chown <username> /dev/ugen0.* /dev/usb0

To preserve your changes after a system update, use rc.local(8).
Alternatively, hotplugd(8) attach/detach scripts can automate this.

  • devel/dwz