1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 |
|
---|
7 | <!ENTITY ModemManager-download-http "https://www.freedesktop.org/software/ModemManager/ModemManager-&ModemManager-version;.tar.xz">
|
---|
8 | <!ENTITY ModemManager-download-ftp " ">
|
---|
9 | <!ENTITY ModemManager-md5sum "9f014dfc59f1bd8bc230bb2c2974d104">
|
---|
10 | <!ENTITY ModemManager-size "2.5 MB">
|
---|
11 | <!ENTITY ModemManager-buildsize "155 MB (with tests)">
|
---|
12 | <!ENTITY ModemManager-time "0.7 SBU (Using parallelism=4; with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="ModemManager" xreflabel="ModemManager-&ModemManager-version;">
|
---|
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 |
|
---|
34 | &lfs122_checked;
|
---|
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">
|
---|
79 | <phrase revision="sysv"><xref linkend="elogind"/>,</phrase>
|
---|
80 | &gobject-introspection;,
|
---|
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 |
|
---|
92 | <para condition="html" role="usernotes">Editor Notes:
|
---|
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 |
|
---|
105 | <screen revision="sysv"><userinput>./configure --prefix=/usr \
|
---|
106 | --sysconfdir=/etc \
|
---|
107 | --localstatedir=/var \
|
---|
108 | --disable-static \
|
---|
109 | --disable-maintainer-mode \
|
---|
110 | --with-systemd-journal=no \
|
---|
111 | --with-systemd-suspend-resume &&
|
---|
112 | make</userinput></screen>
|
---|
113 |
|
---|
114 | <screen revision="systemd"><userinput>./configure --prefix=/usr \
|
---|
115 | --sysconfdir=/etc \
|
---|
116 | --localstatedir=/var \
|
---|
117 | --disable-static \
|
---|
118 | --disable-maintainer-mode \
|
---|
119 | --with-systemd-journal \
|
---|
120 | --with-systemd-suspend-resume &&
|
---|
121 | make</userinput></screen>
|
---|
122 |
|
---|
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 |
|
---|
139 | <para>
|
---|
140 | <parameter>--with-systemd-suspend-resume</parameter>: This
|
---|
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>
|
---|
144 | power management facilities.
|
---|
145 | </para>
|
---|
146 |
|
---|
147 | <para>
|
---|
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>
|
---|
151 | <phrase revision="sysv">not</phrase> to use the systemd journal for
|
---|
152 | logging.
|
---|
153 | </para>
|
---|
154 |
|
---|
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>
|
---|
162 | <sect2 role="configuration" revision="systemd">
|
---|
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>
|
---|
200 | /etc/ModemManager,
|
---|
201 | /usr/include/libmm-glib,
|
---|
202 | /usr/include/ModemManager,
|
---|
203 | /usr/lib/ModemManager,
|
---|
204 | /usr/share/ModemManager,
|
---|
205 | /usr/share/gtk-doc/html/libmm-glib (optional), and
|
---|
206 | /usr/share/gtk-doc/html/ModemManager (optional)
|
---|
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
|
---|
221 | <application>ModemManager</application>
|
---|
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
|
---|
234 | to communicate with modems
|
---|
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
|
---|
248 | the actual device
|
---|
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>
|
---|