From gphoto's website...
Run:
host:~# /usr/lib/libgphoto2/print-usb-usermap > /etc/hotplug/usb/usbcam.usermap
then:
Choose the right /etc/hotplug/usb/usbcam script...
Example scripts are found in packaging/linux-hotplug/ in the source tree and in the doc dir (usually /usr/share/doc/gphoto2/ or something similar) under linux-hotplug/ after installation.
Choose a script which fits your requirements best, adapt it for your needs, and copy it to the file /etc/hotplug/usb/usbcam. The script must be called /etc/hotplug/usb/usbcam, not /etc/hotplug/usb/usbcam.user or something similar.
The scripts shipped with gPhoto2 also have extensive commentary explaining their usage in more detail.
This worked for me (Slackware-Current - 2.6 kernel)...
|