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 |
|
---|
7 | <!ENTITY libqmi-download-http "https://www.freedesktop.org/software/libqmi/libqmi-&libqmi-version;.tar.xz">
|
---|
8 | <!ENTITY libqmi-download-ftp " ">
|
---|
9 | <!ENTITY libqmi-md5sum "e49c419112d708b5301af7ccc2c090ff">
|
---|
10 | <!ENTITY libqmi-size "976 KB">
|
---|
11 | <!ENTITY libqmi-buildsize "77 MB (with tests)">
|
---|
12 | <!ENTITY libqmi-time "0.2 SBU (Using parallelism=4; with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="libqmi" xreflabel="libqmi-&libqmi-version;">
|
---|
16 | <?dbhtml filename="libqmi.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>libqmi-&libqmi-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="libqmi">
|
---|
26 | <primary sortas="a-libqmi">libqmi</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to libqmi</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | The <application>libqmi</application> package contains a GLib-based library
|
---|
34 | for talking to WWAN modems and devices which speak the Qualcomm MSM Interface
|
---|
35 | (QMI) protocol.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | &lfs90_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (HTTP): <ulink url="&libqmi-download-http;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (FTP): <ulink url="&libqmi-download-ftp;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download MD5 sum: &libqmi-md5sum;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download size: &libqmi-size;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated disk space required: &libqmi-buildsize;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated build time: &libqmi-time;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | </itemizedlist>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect3">libqmi Dependencies</bridgehead>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
77 | <para role="required">
|
---|
78 | <xref linkend="glib2"/>
|
---|
79 | </para>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
82 | <para role="recommended">
|
---|
83 | <xref linkend="libmbim"/>
|
---|
84 | </para>
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
87 | <para role="optional">
|
---|
88 | <xref linkend="gtk-doc"/> and
|
---|
89 | <ulink url="https://ftp.gnu.org/gnu/help2man/">help2man</ulink>
|
---|
90 | </para>
|
---|
91 |
|
---|
92 | <para condition="html" role="usernotes">User Notes:
|
---|
93 | <ulink url="&blfs-wiki;/libqmi"/>
|
---|
94 | </para>
|
---|
95 | </sect2>
|
---|
96 |
|
---|
97 | <sect2 role="installation">
|
---|
98 | <title>Installation of libqmi</title>
|
---|
99 |
|
---|
100 | <para>
|
---|
101 | Install <application>libqmi</application> by running the following
|
---|
102 | commands:
|
---|
103 | </para>
|
---|
104 |
|
---|
105 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
106 | make</userinput></screen>
|
---|
107 |
|
---|
108 | <para>
|
---|
109 | To test the results, issue: <command>make check</command>.
|
---|
110 | </para>
|
---|
111 |
|
---|
112 | <para>
|
---|
113 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
114 | </para>
|
---|
115 |
|
---|
116 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
117 |
|
---|
118 | </sect2>
|
---|
119 |
|
---|
120 | <sect2 role="commands">
|
---|
121 |
|
---|
122 | <title>Command Explanations</title>
|
---|
123 |
|
---|
124 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
125 | href="../../xincludes/static-libraries.xml"/>
|
---|
126 |
|
---|
127 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
128 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
129 |
|
---|
130 | <para>
|
---|
131 | <option>--disable-mbim-qmux</option>: This switch disables support for
|
---|
132 | using a MBIM control device for QMI messages. Use this switch if you
|
---|
133 | did not install <application>libmbim</application>.
|
---|
134 | </para>
|
---|
135 |
|
---|
136 | </sect2>
|
---|
137 |
|
---|
138 | <sect2 role="content">
|
---|
139 | <title>Contents</title>
|
---|
140 |
|
---|
141 | <segmentedlist>
|
---|
142 | <segtitle>Installed Programs</segtitle>
|
---|
143 | <segtitle>Installed Libraries</segtitle>
|
---|
144 | <segtitle>Installed Directories</segtitle>
|
---|
145 |
|
---|
146 | <seglistitem>
|
---|
147 | <seg>
|
---|
148 | qmicli,
|
---|
149 | qmi-firmware-update,
|
---|
150 | and qmi-network
|
---|
151 | </seg>
|
---|
152 | <seg>
|
---|
153 | libqmi-glib.so
|
---|
154 | </seg>
|
---|
155 | <seg>
|
---|
156 | /usr/include/libqmi-glib and
|
---|
157 | /usr/share/gtk-doc/html/libqmi-glib
|
---|
158 | </seg>
|
---|
159 | </seglistitem>
|
---|
160 | </segmentedlist>
|
---|
161 |
|
---|
162 | <variablelist>
|
---|
163 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
164 | <?dbfo list-presentation="list"?>
|
---|
165 | <?dbhtml list-presentation="table"?>
|
---|
166 |
|
---|
167 | <varlistentry id="qmicli">
|
---|
168 | <term><command>qmicli</command></term>
|
---|
169 | <listitem>
|
---|
170 | <para>
|
---|
171 | is an utility used to control QMI devices.
|
---|
172 | </para>
|
---|
173 | <indexterm zone="libqmi qmicli">
|
---|
174 | <primary sortas="b-qmicli">qmicli</primary>
|
---|
175 | </indexterm>
|
---|
176 | </listitem>
|
---|
177 | </varlistentry>
|
---|
178 |
|
---|
179 | <varlistentry id="qmi-network">
|
---|
180 | <term><command>qmi-network</command></term>
|
---|
181 | <listitem>
|
---|
182 | <para>
|
---|
183 | is an utility used for simple network management
|
---|
184 | of QMI devices.
|
---|
185 | </para>
|
---|
186 | <indexterm zone="libqmi qmi-network">
|
---|
187 | <primary sortas="b-qmi-network">qmi-network</primary>
|
---|
188 | </indexterm>
|
---|
189 | </listitem>
|
---|
190 | </varlistentry>
|
---|
191 |
|
---|
192 | <varlistentry id="libqmi-glib">
|
---|
193 | <term><filename class="libraryfile">libqmi-glib.so</filename></term>
|
---|
194 | <listitem>
|
---|
195 | <para>
|
---|
196 | contains API functions for talking to WWAN modems and devices
|
---|
197 | which speak the Qualcomm MSM Interface (QMI) protocol.
|
---|
198 | </para>
|
---|
199 | <indexterm zone="libqmi libqmi-glib">
|
---|
200 | <primary sortas="c-libqmi-glib">libqmi-glib.so</primary>
|
---|
201 | </indexterm>
|
---|
202 | </listitem>
|
---|
203 | </varlistentry>
|
---|
204 |
|
---|
205 | </variablelist>
|
---|
206 |
|
---|
207 | </sect2>
|
---|
208 |
|
---|
209 | </sect1>
|
---|