[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[5b8f578d] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8dfc5c3] | 7 | <!ENTITY ModemManager-download-http "https://www.freedesktop.org/software/ModemManager/ModemManager-&ModemManager-version;.tar.xz">
|
---|
[5b8f578d] | 8 | <!ENTITY ModemManager-download-ftp " ">
|
---|
[f07f654] | 9 | <!ENTITY ModemManager-md5sum "9f014dfc59f1bd8bc230bb2c2974d104">
|
---|
[156e188] | 10 | <!ENTITY ModemManager-size "2.5 MB">
|
---|
[f07f654] | 11 | <!ENTITY ModemManager-buildsize "155 MB (with tests)">
|
---|
| 12 | <!ENTITY ModemManager-time "0.7 SBU (Using parallelism=4; with tests)">
|
---|
[5b8f578d] | 13 | ]>
|
---|
| 14 |
|
---|
[7d645679] | 15 | <sect1 id="ModemManager" xreflabel="ModemManager-&ModemManager-version;">
|
---|
[5b8f578d] | 16 | <?dbhtml filename="ModemManager.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>ModemManager-&ModemManager-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="ModemManager">
|
---|
| 22 | <primary sortas="a-ModemManager">ModemManager</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to ModemManager</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
| 29 | <application>ModemManager</application> provides a unified high level
|
---|
| 30 | API for communicating with mobile broadband modems, regardless of the
|
---|
| 31 | protocol used to communicate with the actual device.
|
---|
| 32 | </para>
|
---|
| 33 |
|
---|
[56b0b0b] | 34 | &lfs122_checked;
|
---|
[5b8f578d] | 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&ModemManager-download-http;"/>
|
---|
| 41 | </para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&ModemManager-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download MD5 sum: &ModemManager-md5sum;
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download size: &ModemManager-size;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Estimated disk space required: &ModemManager-buildsize;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated build time: &ModemManager-time;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect3">ModemManager Dependencies</bridgehead>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 73 | <para role="required">
|
---|
| 74 | <xref linkend="libgudev"/>
|
---|
| 75 | </para>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 78 | <para role="recommended">
|
---|
[51dfb3e] | 79 | <phrase revision="sysv"><xref linkend="elogind"/>,</phrase>
|
---|
[c0bc0a9] | 80 | &gobject-introspection;,
|
---|
[5b8f578d] | 81 | <xref linkend="libmbim"/>,
|
---|
| 82 | <xref linkend="libqmi"/>,
|
---|
| 83 | <xref linkend="polkit"/>, and
|
---|
| 84 | <xref linkend="vala"/>
|
---|
| 85 | </para>
|
---|
| 86 |
|
---|
| 87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 88 | <para role="optional">
|
---|
| 89 | <xref linkend="gtk-doc"/>
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
[42ddc30] | 92 | <para condition="html" role="usernotes">Editor Notes:
|
---|
[5b8f578d] | 93 | <ulink url="&blfs-wiki;/ModemManager"/>
|
---|
| 94 | </para>
|
---|
| 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2 role="installation">
|
---|
| 98 | <title>Installation of ModemManager</title>
|
---|
| 99 |
|
---|
| 100 | <para>
|
---|
| 101 | Install <application>ModemManager</application> by running the following
|
---|
| 102 | commands:
|
---|
| 103 | </para>
|
---|
| 104 |
|
---|
[51dfb3e] | 105 | <screen revision="sysv"><userinput>./configure --prefix=/usr \
|
---|
| 106 | --sysconfdir=/etc \
|
---|
| 107 | --localstatedir=/var \
|
---|
| 108 | --disable-static \
|
---|
[b42891ad] | 109 | --disable-maintainer-mode \
|
---|
[51dfb3e] | 110 | --with-systemd-journal=no \
|
---|
| 111 | --with-systemd-suspend-resume &&
|
---|
[5b8f578d] | 112 | make</userinput></screen>
|
---|
| 113 |
|
---|
[0e107e3] | 114 | <screen revision="systemd"><userinput>./configure --prefix=/usr \
|
---|
[6d3a3af] | 115 | --sysconfdir=/etc \
|
---|
| 116 | --localstatedir=/var \
|
---|
[b42891ad] | 117 | --disable-static \
|
---|
| 118 | --disable-maintainer-mode \
|
---|
[dbb8c43] | 119 | --with-systemd-journal \
|
---|
[b42891ad] | 120 | --with-systemd-suspend-resume &&
|
---|
[6d3a3af] | 121 | make</userinput></screen>
|
---|
| 122 |
|
---|
[5b8f578d] | 123 | <para>
|
---|
| 124 | To test the results, issue: <command>make check</command>.
|
---|
| 125 | </para>
|
---|
| 126 |
|
---|
| 127 | <para>
|
---|
| 128 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 129 | </para>
|
---|
| 130 |
|
---|
| 131 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 132 |
|
---|
| 133 | </sect2>
|
---|
| 134 |
|
---|
| 135 | <sect2 role="commands">
|
---|
| 136 |
|
---|
| 137 | <title>Command Explanations</title>
|
---|
| 138 |
|
---|
[51dfb3e] | 139 | <para>
|
---|
[dbb8c43] | 140 | <parameter>--with-systemd-suspend-resume</parameter>: This
|
---|
[51dfb3e] | 141 | switch forces <application>ModemManager</application> to use the
|
---|
| 142 | <phrase revision="sysv"><application>elogind</application></phrase>
|
---|
| 143 | <phrase revision="systemd"><application>systemd</application></phrase>
|
---|
[6d3a3af] | 144 | power management facilities.
|
---|
| 145 | </para>
|
---|
| 146 |
|
---|
[51dfb3e] | 147 | <para>
|
---|
[279fc64] | 148 | <phrase revision="systemd"><parameter>--with-systemd-journal</parameter></phrase>
|
---|
| 149 | <phrase revision="sysv"><parameter>--with-systemd-journal=no</parameter></phrase>
|
---|
| 150 | : This switch forces <application>ModemManager</application>
|
---|
[51dfb3e] | 151 | <phrase revision="sysv">not</phrase> to use the systemd journal for
|
---|
[dbb8c43] | 152 | logging.
|
---|
| 153 | </para>
|
---|
| 154 |
|
---|
[5b8f578d] | 155 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 156 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 157 |
|
---|
| 158 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 159 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 160 |
|
---|
| 161 | </sect2>
|
---|
[30ad1f9] | 162 | <sect2 role="configuration" revision="systemd">
|
---|
[5b8f578d] | 163 | <title>Configuring ModemManager</title>
|
---|
| 164 |
|
---|
| 165 | <sect3 id="ModemManager-init">
|
---|
| 166 | <title>Systemd Units</title>
|
---|
| 167 |
|
---|
| 168 | <para>
|
---|
| 169 | To start the <command>ModemManager</command> daemon at boot, enable
|
---|
| 170 | the previously installed systemd unit by running the following command
|
---|
| 171 | as the <systemitem class="username">root</systemitem> user:
|
---|
| 172 | </para>
|
---|
| 173 |
|
---|
| 174 | <indexterm zone="ModemManager ModemManager-init">
|
---|
| 175 | <primary sortas="f-ModemManager">ModemManager</primary>
|
---|
| 176 | </indexterm>
|
---|
| 177 |
|
---|
| 178 | <screen role="root"><userinput>systemctl enable ModemManager</userinput></screen>
|
---|
| 179 |
|
---|
| 180 | </sect3>
|
---|
| 181 |
|
---|
| 182 | </sect2>
|
---|
| 183 |
|
---|
| 184 | <sect2 role="content">
|
---|
| 185 | <title>Contents</title>
|
---|
| 186 |
|
---|
| 187 | <segmentedlist>
|
---|
| 188 | <segtitle>Installed Programs</segtitle>
|
---|
| 189 | <segtitle>Installed Libraries</segtitle>
|
---|
| 190 | <segtitle>Installed Directories</segtitle>
|
---|
| 191 |
|
---|
| 192 | <seglistitem>
|
---|
| 193 | <seg>
|
---|
| 194 | mmcli and ModemManager
|
---|
| 195 | </seg>
|
---|
| 196 | <seg>
|
---|
| 197 | libmm-glib.so
|
---|
| 198 | </seg>
|
---|
| 199 | <seg>
|
---|
[7123e39] | 200 | /etc/ModemManager,
|
---|
[5b8f578d] | 201 | /usr/include/libmm-glib,
|
---|
| 202 | /usr/include/ModemManager,
|
---|
| 203 | /usr/lib/ModemManager,
|
---|
[64b3927] | 204 | /usr/share/ModemManager,
|
---|
[7123e39] | 205 | /usr/share/gtk-doc/html/libmm-glib (optional), and
|
---|
| 206 | /usr/share/gtk-doc/html/ModemManager (optional)
|
---|
[5b8f578d] | 207 | </seg>
|
---|
| 208 | </seglistitem>
|
---|
| 209 | </segmentedlist>
|
---|
| 210 |
|
---|
| 211 | <variablelist>
|
---|
| 212 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 213 | <?dbfo list-presentation="list"?>
|
---|
| 214 | <?dbhtml list-presentation="table"?>
|
---|
| 215 |
|
---|
| 216 | <varlistentry id="mmcli">
|
---|
| 217 | <term><command>mmcli</command></term>
|
---|
| 218 | <listitem>
|
---|
| 219 | <para>
|
---|
| 220 | is an utility used to control and monitor the
|
---|
[4c24eb0a] | 221 | <application>ModemManager</application>
|
---|
[5b8f578d] | 222 | </para>
|
---|
| 223 | <indexterm zone="ModemManager mmcli">
|
---|
| 224 | <primary sortas="b-mmcli">mmcli</primary>
|
---|
| 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
| 227 | </varlistentry>
|
---|
| 228 |
|
---|
| 229 | <varlistentry id="ModemManager-prog">
|
---|
| 230 | <term><command>ModemManager</command></term>
|
---|
| 231 | <listitem>
|
---|
| 232 | <para>
|
---|
| 233 | is a <application>D-Bus</application> service used
|
---|
[4c24eb0a] | 234 | to communicate with modems
|
---|
[5b8f578d] | 235 | </para>
|
---|
| 236 | <indexterm zone="ModemManager ModemManager-prog">
|
---|
| 237 | <primary sortas="b-ModemManager">ModemManager</primary>
|
---|
| 238 | </indexterm>
|
---|
| 239 | </listitem>
|
---|
| 240 | </varlistentry>
|
---|
| 241 |
|
---|
| 242 | <varlistentry id="libmm-glib">
|
---|
| 243 | <term><filename class="libraryfile">libmm-glib.so</filename></term>
|
---|
| 244 | <listitem>
|
---|
| 245 | <para>
|
---|
| 246 | contains API functions for communicating with mobile broadband
|
---|
| 247 | modems, regardless of the protocol used to communicate with
|
---|
[4c24eb0a] | 248 | the actual device
|
---|
[5b8f578d] | 249 | </para>
|
---|
| 250 | <indexterm zone="ModemManager libmm-glib">
|
---|
| 251 | <primary sortas="c-libmm-glib">libmm-glib.so</primary>
|
---|
| 252 | </indexterm>
|
---|
| 253 | </listitem>
|
---|
| 254 | </varlistentry>
|
---|
| 255 |
|
---|
| 256 | </variablelist>
|
---|
| 257 |
|
---|
| 258 | </sect2>
|
---|
| 259 |
|
---|
| 260 | </sect1>
|
---|