]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: Add documentation for functionfs socket activation 1336/head
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 4c113a34790416c6e6ff3b75ac68a9becb749eed..642d95a029578330ab537202cd078cafb4e87f37 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 36fa3a86be33a4eaa782145a1c683effe1f178b3..7f884aa1be3192c61ee43a069455623918dae255 100644 (file)
         can be inherited between processes.</para></listitem>
       </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>,