man: Add documentation for functionfs socket activation
authorPawel Szewczyk <p.szewczyk@samsung.com>
Fri, 4 Sep 2015 10:23:54 +0000 (12:23 +0200)
committerPawel Szewczyk <p.szewczyk@samsung.com>
Tue, 22 Sep 2015 14:32:16 +0000 (16:32 +0200)
man/systemd.service.xml
man/systemd.socket.xml

index 4c113a3..642d95a 100644 (file)
         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
index 36fa3a8..7f884aa 100644 (file)
       </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