summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <gp@n-dimensional.de>2002-07-30 11:57:45 +0000
committerHans Ulrich Niedermann <gp@n-dimensional.de>2002-07-30 11:57:45 +0000
commitccd743c69006588707df7f4016769c11991c6590 (patch)
treeb75723a3e401fb153ba906e30167ac33e18e005d /doc
parentf0f82e947140b62f95f122313899fa00834e383c (diff)
downloadlibgphoto2-ccd743c69006588707df7f4016769c11991c6590.tar.gz
remove usb.usermap stuff from man page, add FIXME for usermap setup, use other hotplug dir for Debian
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4950 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'doc')
-rw-r--r--doc/gphoto2.xml27
1 files changed, 7 insertions, 20 deletions
diff --git a/doc/gphoto2.xml b/doc/gphoto2.xml
index 1555144ff..47e2968e1 100644
--- a/doc/gphoto2.xml
+++ b/doc/gphoto2.xml
@@ -614,6 +614,9 @@ Saving file as MVI_5418.AVI
</listitem>
<listitem>
+ <para>FIXME: use packaging/linux-hotplug/print-usb-usermap
+ instead of gphoto2 --print-usb-usermap.
+ </para>
<para>
Add the output of
<screen>
@@ -632,14 +635,14 @@ Saving file as MVI_5418.AVI
Instead of modifying
<filename>/etc/hotplug/usb.usermap</filename>
- directly, we set up special file
- <filename>/usr/lib/hotplug/usbcam/usb.usermap</filename>
+ directly, we set up a special file
+ <filename>/usr/lib/hotplug/libgphoto2/usb.usermap</filename>
and let <command>update-usb.usermap</command>
update the
<filename>/etc/hotplug/usb.usermap</filename> file:
<screen>
-<prompt>[root@home ~]# </prompt><command>mkdir <parameter>/usr/lib/hotplug/usbcam</parameter></command>
-<prompt>[root@home ~]# </prompt><command>gphoto2 <parameter>--print-usb-usermap</parameter> > <filename>/usr/lib/hotplug/usbcam/usb.usermap</filename></command>
+<prompt>[root@home ~]# </prompt><command>mkdir <parameter>/usr/lib/hotplug/libgphoto2</parameter></command>
+<prompt>[root@home ~]# </prompt><command>gphoto2 <parameter>--print-usb-usermap</parameter> > <filename>/usr/lib/hotplug/libgphoto2/usb.usermap</filename></command>
<prompt>[root@home ~]# </prompt><command>update-usb.usermap</command>
</screen>
</para>
@@ -1096,8 +1099,6 @@ Saving file as MVI_5418.AVI
<arg>--help</arg>
</group><sbr/>
<arg choice="opt">--list-cameras</arg>
- <arg choice="opt">--usb-usermap-script <replaceable>NAME</replaceable></arg><sbr/>
- <arg choice="opt">--print-usb-usermap</arg>
<arg choice="opt">--list-ports</arg>
<arg choice="opt">--stdout</arg><sbr/>
<arg choice="opt">--stdout-size</arg>
@@ -1238,20 +1239,6 @@ Saving file as MVI_5418.AVI
</varlistentry>
<varlistentry>
- <term><option>--usb-usermap-script</option> <replaceable>NAME</replaceable></term>
- <listitem>
- <para>Use <replaceable>NAME</replaceable> as the hotplug usb script used in the output of <option>--print-usb-usermap</option>. Default is "usbcam".</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--print-usb-usermap</option></term>
- <listitem>
- <para>For every camera supported by your version of <command>gphoto2</command>, print the corresponding line for inclusion into the <filename>usb.usermap</filename> hotplug config file. The script name used in these lines is specified with the <option>--usb-usermap-script</option> option.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
<term><option>--list-ports</option></term>
<listitem>
<para>List supported port devices.</para>