[5b8f578d] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 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 " ">
|
---|
[b0c65e84] | 9 | <!ENTITY ModemManager-md5sum "d21c280220ee647e62eeb4e1df642fe3">
|
---|
| 10 | <!ENTITY ModemManager-size "1.3 MB">
|
---|
| 11 | <!ENTITY ModemManager-buildsize "75 MB (add 8 MB for tests)">
|
---|
| 12 | <!ENTITY ModemManager-time "0.4 SBU (iusing parallelism-4; less than 0.1 SBU for tests)">
|
---|
[5b8f578d] | 13 | ]>
|
---|
| 14 |
|
---|
[7d645679] | 15 | <sect1 id="ModemManager" xreflabel="ModemManager-&ModemManager-version;">
|
---|
[5b8f578d] | 16 | <?dbhtml filename="ModemManager.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>ModemManager-&ModemManager-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="ModemManager">
|
---|
| 26 | <primary sortas="a-ModemManager">ModemManager</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to ModemManager</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | <application>ModemManager</application> provides a unified high level
|
---|
| 34 | API for communicating with mobile broadband modems, regardless of the
|
---|
| 35 | protocol used to communicate with the actual device.
|
---|
| 36 | </para>
|
---|
| 37 |
|
---|
[cf8bec7] | 38 | &lfs82_checked;
|
---|
[5b8f578d] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&ModemManager-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&ModemManager-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: &ModemManager-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: &ModemManager-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: &ModemManager-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: &ModemManager-time;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">ModemManager Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 77 | <para role="required">
|
---|
| 78 | <xref linkend="libgudev"/>
|
---|
| 79 | </para>
|
---|
| 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 82 | <para role="recommended">
|
---|
| 83 | <xref linkend="gobject-introspection"/>,
|
---|
| 84 | <xref linkend="libmbim"/>,
|
---|
| 85 | <xref linkend="libqmi"/>,
|
---|
| 86 | <xref linkend="polkit"/>, and
|
---|
| 87 | <xref linkend="vala"/>
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
| 90 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 91 | <para role="optional">
|
---|
| 92 | <xref linkend="gtk-doc"/>
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <para condition="html" role="usernotes">User Notes:
|
---|
| 96 | <ulink url="&blfs-wiki;/ModemManager"/>
|
---|
| 97 | </para>
|
---|
| 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="installation">
|
---|
| 101 | <title>Installation of ModemManager</title>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
| 104 | Install <application>ModemManager</application> by running the following
|
---|
| 105 | commands:
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
[6d3a3af] | 108 | <screen revision="sysv"><userinput>./configure --prefix=/usr \
|
---|
[5b8f578d] | 109 | --sysconfdir=/etc \
|
---|
| 110 | --localstatedir=/var \
|
---|
[939653d] | 111 | --enable-more-warnings=no \
|
---|
[5b8f578d] | 112 | --disable-static &&
|
---|
| 113 | make</userinput></screen>
|
---|
| 114 |
|
---|
[0e107e3] | 115 | <screen revision="systemd"><userinput>./configure --prefix=/usr \
|
---|
[6d3a3af] | 116 | --sysconfdir=/etc \
|
---|
| 117 | --localstatedir=/var \
|
---|
| 118 | --enable-more-warnings=no \
|
---|
| 119 | --with-suspend-resume=systemd \
|
---|
| 120 | --disable-static &&
|
---|
| 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 |
|
---|
[6d3a3af] | 139 | <para revision="systemd">
|
---|
| 140 | <parameter>--with-suspend-resume=systemd</parameter>: This
|
---|
| 141 | switch forces <application>ModemManager</application> to use the systemd
|
---|
| 142 | power management facilities.
|
---|
| 143 | </para>
|
---|
| 144 |
|
---|
[5b8f578d] | 145 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 146 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 147 |
|
---|
| 148 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 149 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 150 |
|
---|
| 151 | </sect2>
|
---|
[30ad1f9] | 152 | <sect2 role="configuration" revision="systemd">
|
---|
[5b8f578d] | 153 | <title>Configuring ModemManager</title>
|
---|
| 154 |
|
---|
| 155 | <sect3 id="ModemManager-init">
|
---|
| 156 | <title>Systemd Units</title>
|
---|
| 157 |
|
---|
| 158 | <para>
|
---|
| 159 | To start the <command>ModemManager</command> daemon at boot, enable
|
---|
| 160 | the previously installed systemd unit by running the following command
|
---|
| 161 | as the <systemitem class="username">root</systemitem> user:
|
---|
| 162 | </para>
|
---|
| 163 |
|
---|
| 164 | <indexterm zone="ModemManager ModemManager-init">
|
---|
| 165 | <primary sortas="f-ModemManager">ModemManager</primary>
|
---|
| 166 | </indexterm>
|
---|
| 167 |
|
---|
| 168 | <screen role="root"><userinput>systemctl enable ModemManager</userinput></screen>
|
---|
| 169 |
|
---|
| 170 | </sect3>
|
---|
| 171 |
|
---|
| 172 | </sect2>
|
---|
| 173 |
|
---|
| 174 | <sect2 role="content">
|
---|
| 175 | <title>Contents</title>
|
---|
| 176 |
|
---|
| 177 | <segmentedlist>
|
---|
| 178 | <segtitle>Installed Programs</segtitle>
|
---|
| 179 | <segtitle>Installed Libraries</segtitle>
|
---|
| 180 | <segtitle>Installed Directories</segtitle>
|
---|
| 181 |
|
---|
| 182 | <seglistitem>
|
---|
| 183 | <seg>
|
---|
| 184 | mmcli and ModemManager
|
---|
| 185 | </seg>
|
---|
| 186 | <seg>
|
---|
| 187 | libmm-glib.so
|
---|
| 188 | </seg>
|
---|
| 189 | <seg>
|
---|
| 190 | /usr/include/libmm-glib,
|
---|
| 191 | /usr/include/ModemManager,
|
---|
| 192 | /usr/lib/ModemManager,
|
---|
| 193 | /usr/share/gtk-doc/html/libmm-glib, and
|
---|
| 194 | /usr/share/gtk-doc/html/ModemManager
|
---|
| 195 | </seg>
|
---|
| 196 | </seglistitem>
|
---|
| 197 | </segmentedlist>
|
---|
| 198 |
|
---|
| 199 | <variablelist>
|
---|
| 200 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 201 | <?dbfo list-presentation="list"?>
|
---|
| 202 | <?dbhtml list-presentation="table"?>
|
---|
| 203 |
|
---|
| 204 | <varlistentry id="mmcli">
|
---|
| 205 | <term><command>mmcli</command></term>
|
---|
| 206 | <listitem>
|
---|
| 207 | <para>
|
---|
| 208 | is an utility used to control and monitor the
|
---|
| 209 | <application>ModemManager</application>.
|
---|
| 210 | </para>
|
---|
| 211 | <indexterm zone="ModemManager mmcli">
|
---|
| 212 | <primary sortas="b-mmcli">mmcli</primary>
|
---|
| 213 | </indexterm>
|
---|
| 214 | </listitem>
|
---|
| 215 | </varlistentry>
|
---|
| 216 |
|
---|
| 217 | <varlistentry id="ModemManager-prog">
|
---|
| 218 | <term><command>ModemManager</command></term>
|
---|
| 219 | <listitem>
|
---|
| 220 | <para>
|
---|
| 221 | is a <application>D-Bus</application> service used
|
---|
| 222 | to communicate with modems.
|
---|
| 223 | </para>
|
---|
| 224 | <indexterm zone="ModemManager ModemManager-prog">
|
---|
| 225 | <primary sortas="b-ModemManager">ModemManager</primary>
|
---|
| 226 | </indexterm>
|
---|
| 227 | </listitem>
|
---|
| 228 | </varlistentry>
|
---|
| 229 |
|
---|
| 230 | <varlistentry id="libmm-glib">
|
---|
| 231 | <term><filename class="libraryfile">libmm-glib.so</filename></term>
|
---|
| 232 | <listitem>
|
---|
| 233 | <para>
|
---|
| 234 | contains API functions for communicating with mobile broadband
|
---|
| 235 | modems, regardless of the protocol used to communicate with
|
---|
| 236 | the actual device.
|
---|
| 237 | </para>
|
---|
| 238 | <indexterm zone="ModemManager libmm-glib">
|
---|
| 239 | <primary sortas="c-libmm-glib">libmm-glib.so</primary>
|
---|
| 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
| 244 | </variablelist>
|
---|
| 245 |
|
---|
| 246 | </sect2>
|
---|
| 247 |
|
---|
| 248 | </sect1>
|
---|