summaryrefslogtreecommitdiff
path: root/man/systemd.special.xml
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@collabora.com>2019-01-29 11:13:44 +0100
committerLennart Poettering <lennart@poettering.net>2019-02-15 18:16:27 +0100
commit2c633a821eb81b1ce7fcca5e23bbbe41f44be77f (patch)
tree09fc207e3fa99e5d2ad10cdfc875dbe5158ddfd4 /man/systemd.special.xml
parent791cd1599311d2cfffec9cc7d2915b36cbd3047d (diff)
downloadsystemd-2c633a821eb81b1ce7fcca5e23bbbe41f44be77f.tar.gz
units: add usb-gadget target
Linux can be run on a device meant to act as a USB peripheral. In order for a machine to act as such a USB device it has to be equipped with a UDC - USB Device Controller. This patch adds a target reached when UDC becomes available. It can be used for activating e.g. a service unit which composes a USB gadget with configfs and activates it.
Diffstat (limited to 'man/systemd.special.xml')
-rw-r--r--man/systemd.special.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/man/systemd.special.xml b/man/systemd.special.xml
index fd5639ba03..5e1f4469af 100644
--- a/man/systemd.special.xml
+++ b/man/systemd.special.xml
@@ -83,6 +83,7 @@
<filename>time-sync.target</filename>,
<filename>timers.target</filename>,
<filename>umount.target</filename>,
+ <filename>usb-gadget.target</filename>,
<!-- slices --><filename>-.slice</filename>,
<filename>system.slice</filename>,
<filename>user.slice</filename>,
@@ -799,6 +800,16 @@
dynamically when audio hardware is found.</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><filename>usb-gadget.target</filename></term>
+ <listitem>
+ <para>This target is started automatically as soon as a
+ USB Device Controller becomes available at boot.</para>
+
+ <para>This may be used to pull in usb gadget
+ dynamically when UDC hardware is found.</para>
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect2>