1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-27 13:57:26 +03:00

man: minor wording improvements to USB FunctionFS documentation

This commit is contained in:
Lennart Poettering 2015-10-01 14:26:42 +02:00
parent d4e783e44d
commit 3d3145100d
2 changed files with 22 additions and 19 deletions

View File

@ -905,21 +905,23 @@
<varlistentry> <varlistentry>
<term><varname>USBFunctionDescriptors=</varname></term> <term><varname>USBFunctionDescriptors=</varname></term>
<listitem><para>Configure the location of the file containing <listitem><para>Configure the location of a file containing
<ulink url="https://www.kernel.org/doc/Documentation/usb/functionfs.txt">functionfs</ulink> <ulink
descriptors. This is is used only when a socket with url="https://www.kernel.org/doc/Documentation/usb/functionfs.txt">USB
<varname>ListenUSBFunction=</varname> configured wants to FunctionFS</ulink> descriptors, for implementation of USB
activate this service. Content of this file is writen to gadget functions. This is is used only in conjunction with a
<filename>ep0</filename> file after it is opened. This is socket unit with <varname>ListenUSBFunction=</varname>
required for socket activation using configured. The contents of this file is written to the
<varname>ListenUSBFunction=</varname> (i.e. for passing all <filename>ep0</filename> file after it is
functionfs endpoints to the service).</para></listitem> opened.</para></listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><varname>USBFunctionStrings=</varname></term> <term><varname>USBFunctionStrings=</varname></term>
<listitem><para>Configure the location of file containing FunctionFS strings. <listitem><para>Configure the location of a file containing
Behavior is similar to <varname>USBFunctionDescriptors</varname>.</para></listitem> USB FunctionFS strings. Behavior is similar to
<varname>USBFunctionDescriptors=</varname>
above.</para></listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>

View File

@ -262,14 +262,15 @@
<varlistentry> <varlistentry>
<term><varname>ListenUSBFunction=</varname></term> <term><varname>ListenUSBFunction=</varname></term>
<listitem><para>Specifies a <listitem><para>Specifies a <ulink
<ulink url="https://www.kernel.org/doc/Documentation/usb/functionfs.txt">functionfs</ulink> url="https://www.kernel.org/doc/Documentation/usb/functionfs.txt">USB
endpoint location to FunctionFS</ulink> endpoint location to listen on, for
listen on. This expects an absolute file system path as the implementation of USB gadget functions. This expects an
argument. Behavior otherwise is very similar to the absolute file system path as the argument. Behavior otherwise
<varname>ListenFIFO=</varname> directive above. Use this to is very similar to the <varname>ListenFIFO=</varname>
open functionfs endpoint <filename>ep0</filename>. When using directive above. Use this to open FunctionFS endpoint
this option, activated service has to have the <filename>ep0</filename>. When using this option, the
activated service has to have the
<varname>USBFunctionDescriptors=</varname> and <varname>USBFunctionDescriptors=</varname> and
<varname>USBFunctionStrings=</varname> options set. <varname>USBFunctionStrings=</varname> options set.
</para></listitem> </para></listitem>