summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <gp@n-dimensional.de>2002-07-18 00:28:12 +0000
committerHans Ulrich Niedermann <gp@n-dimensional.de>2002-07-18 00:28:12 +0000
commit5399e2ddcb94f2a06bad827a82e7722a40d042d4 (patch)
treefd051e7093402fffaff84c0011d2ffe7592c6d57 /doc
parent92f4c95a59b562d52cc0935f5b94e070df33ab1c (diff)
downloadlibgphoto2-5399e2ddcb94f2a06bad827a82e7722a40d042d4.tar.gz
added Debian hotplug setup peculiarity
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4876 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'doc')
-rw-r--r--doc/gphoto2.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/gphoto2.xml b/doc/gphoto2.xml
index c68fc407c..13b65ea52 100644
--- a/doc/gphoto2.xml
+++ b/doc/gphoto2.xml
@@ -525,6 +525,25 @@ Saving file as MVI_5418.AVI
<filename>/etc/hotplug/usb.usermap</filename> after
removing all lines beginning with "usbcam".
</para>
+ <formalpara>
+ <title>Debian peculiarity</title>
+ <para>
+ As Debian uses a structured hotplug setup, you
+ should use its benefits instead of working against
+ it. Instead of modifying
+ <filename>/etc/hotplug/usb.usermap</filename>
+ directly, we set up special file
+ <filename>/usr/lib/hotplug/usbcam/usb.usermap</filename>
+ and let <command>update-usb.usermap</command>
+ update the
+ <filename>/etc/hotplug/usb.usermap</filename> file:
+ <screen>
+<prompt># </prompt><command>mkdir <parameter>/usr/lib/hotplug/usbcam</parameter></command>
+<prompt># </prompt><command>gphoto2 <parameter>--print-usb-usermap</parameter> > <filename>/usr/lib/hotplug/usbcam/usb.usermap</filename></command>
+<prompt># </prompt><command>update-usb.usermap</command>
+ </screen>
+ </para>
+ </formalpara>
<para>
This makes hotplug recognise all <acronym>USB</acronym> cameras which your version
of <xref linkend="libgphoto2"/> supports and makes