summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/systemd.service.xml16
-rw-r--r--man/systemd.socket.xml11
2 files changed, 27 insertions, 0 deletions
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
index 4c113a3479..642d95a029 100644
--- a/man/systemd.service.xml
+++ b/man/systemd.service.xml
@@ -903,6 +903,22 @@
and no job queued or being executed for it.</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term><varname>USBFunctionDescriptors=</varname></term>
+ <listitem><para>Configure the location of file containing
+ FunctionFS descriptors. This is is used only when socket with
+ <varname>ListenUSBFunction</varname> line want to activate this service. Content of
+ this file is writen to ep0 file after it is opened. This is required
+ for socket activation using <varname>ListenUSBFunction</varname>
+ (i.e. for passing all ffs endpoints to service).</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><varname>USBFunctionStrings=</varname></term>
+ <listitem><para>Configure the location of file containing FunctionFS strings.
+ Behavior is similar to <varname>USBFunctionDescriptors</varname>.</para></listitem>
+ </varlistentry>
+
</variablelist>
<para>Check
diff --git a/man/systemd.socket.xml b/man/systemd.socket.xml
index 36fa3a86be..7f884aa1be 100644
--- a/man/systemd.socket.xml
+++ b/man/systemd.socket.xml
@@ -261,6 +261,17 @@
</varlistentry>
<varlistentry>
+ <term><varname>ListenUSBFunction=</varname></term>
+ <listitem><para>Specifies a functionfs endpoint location
+ to listen on. This expects an absolute file system path as
+ argument. Behavior otherwise is very similar to the
+ <varname>ListenFIFO=</varname> directive above. Use this to
+ open functionfs endpoint ep0. When using this option, activated
+ service has to have <varname>USBFunctionDescriptors</varname>
+ and <varname>USBFunctionStrings</varname> options set.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><varname>BindIPv6Only=</varname></term>
<listitem><para>Takes a one of <option>default</option>,
<option>both</option> or <option>ipv6-only</option>. Controls