summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-22 16:55:08 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-22 16:55:08 +0200
commitf98f4ace4df1b67572a5fbb3b1924b303d77d773 (patch)
tree062184636ad8ac20f8da52d90018d318e7ca823f /man
parentfc4049c1ab59b4d5460fc6c2076d086a1693a170 (diff)
parent8c7c98398bad362cfae7b5a239cca11b93a67710 (diff)
Merge pull request #1336 from pszewczyk/functionfs_sockets_v3
core: add support for usb functionfs v3
Diffstat (limited to 'man')
-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