<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ModemManager.git, branch aleksander/multimode-sim-check</title>
<subtitle>gitlab.freedesktop.org: mobile-broadband/ModemManager.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ModemManager.git/'/>
<entry>
<title>iface-modem: for multimode 3GPP+3GPP2 devices, check if SIM is available</title>
<updated>2013-04-18T16:47:25+00:00</updated>
<author>
<name>Aleksander Morgado</name>
<email>aleksander@lanedo.com</email>
</author>
<published>2013-04-18T16:32:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ModemManager.git/commit/?id=7d668eb407eccf89cbbfeb96bbb553ade5b47c92'/>
<id>7d668eb407eccf89cbbfeb96bbb553ade5b47c92</id>
<content type='text'>
If SIM is not available, no 3GPP caps in current caps.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If SIM is not available, no 3GPP caps in current caps.
</pre>
</div>
</content>
</entry>
<entry>
<title>iface-modem: ignore SIM errors in 3GPP2-capable devices</title>
<updated>2013-04-18T16:47:25+00:00</updated>
<author>
<name>Aleksander Morgado</name>
<email>aleksander@lanedo.com</email>
</author>
<published>2013-04-18T13:15:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ModemManager.git/commit/?id=4f3932cb2b07a0c4b60a754afcdacf935a1a9b61'/>
<id>4f3932cb2b07a0c4b60a754afcdacf935a1a9b61</id>
<content type='text'>
We already fully skipped SIM unlock check in 3GPP2-only devices; now we also
ignore SIM errors if the device is a 3GPP+3GPP2 device.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We already fully skipped SIM unlock check in 3GPP2-only devices; now we also
ignore SIM errors if the device is a 3GPP+3GPP2 device.
</pre>
</div>
</content>
</entry>
<entry>
<title>core: rework logging code to remove log message truncation (bgo #698312)</title>
<updated>2013-04-18T16:23:57+00:00</updated>
<author>
<name>Dan Williams</name>
<email>dcbw@redhat.com</email>
</author>
<published>2013-04-18T15:19:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ModemManager.git/commit/?id=27e19362778312e958a7caf68091cf8e46077d5b'/>
<id>27e19362778312e958a7caf68091cf8e46077d5b</id>
<content type='text'>
Use a static GString which will resize itself if the log message
is bigger than the current string size, but will also ensure we
don't do a ton of memory reallocation on every log message.

Previously all log messages were trucated at 512 bytes due to the
log buffer char array being 512 bytes long.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use a static GString which will resize itself if the log message
is bigger than the current string size, but will also ensure we
don't do a ton of memory reallocation on every log message.

Previously all log messages were trucated at 512 bytes due to the
log buffer char array being 512 bytes long.
</pre>
</div>
</content>
</entry>
<entry>
<title>plugin-manager: handle race condition during probing</title>
<updated>2013-04-18T14:46:47+00:00</updated>
<author>
<name>Aleksander Morgado</name>
<email>aleksander@lanedo.com</email>
</author>
<published>2013-04-18T14:46:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ModemManager.git/commit/?id=3cb639a6bbac52bddace33844f643ca487741ef9'/>
<id>3cb639a6bbac52bddace33844f643ca487741ef9</id>
<content type='text'>
The specific case:
 * Modem exposes cdc-wdm port, Generic plugin probes it successfully as QMI.
 * Modem exposes new ports, including the wwan one. All ttys fail probing
   because they're neither AT nor QCDM (CnS in this case).
 * The wwan port ends up without a port being suggested and is not grabbed.

The root cause of this is that we do not propagate the suggested plugin to newly
added ports when it's the Generic one. If it wasn't the Generic one, the newly
added ports would start with the suggested one for probing.

Now, handle this by looking for the device-specified plugin when the port
probing ends without a specific port given. If there is such a device-specified
plugin accept the port, and otherwise, reject it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The specific case:
 * Modem exposes cdc-wdm port, Generic plugin probes it successfully as QMI.
 * Modem exposes new ports, including the wwan one. All ttys fail probing
   because they're neither AT nor QCDM (CnS in this case).
 * The wwan port ends up without a port being suggested and is not grabbed.

The root cause of this is that we do not propagate the suggested plugin to newly
added ports when it's the Generic one. If it wasn't the Generic one, the newly
added ports would start with the suggested one for probing.

Now, handle this by looking for the device-specified plugin when the port
probing ends without a specific port given. If there is such a device-specified
plugin accept the port, and otherwise, reject it.
</pre>
</div>
</content>
</entry>
<entry>
<title>broadband-modem: read current capabilities via QCDM if available (bgo #698229)</title>
<updated>2013-04-18T14:34:21+00:00</updated>
<author>
<name>Dan Williams</name>
<email>dcbw@redhat.com</email>
</author>
<published>2013-04-17T19:56:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ModemManager.git/commit/?id=4d4d6141388e2eca8acdc8efaf3ee0b5e2a09ebb'/>
<id>4d4d6141388e2eca8acdc8efaf3ee0b5e2a09ebb</id>
<content type='text'>
Many multi-mode Qualcomm devices report all available modes in their
AT+GCAP response (for example, CDMA/EVDO and GSM/UMTS) but they cannot
actually function in all these modes at the same time.  The modem's
actual current capabilities are expressed by the QCDM NV ModePref
item, which is not reflected in the AT+GCAP response.

Reading the current capabilities from the NV ModePref item ensures
that ModemManager does not create interfaces for the modem which
the modem cannot actually implement.

Because the generic modem plugin does not implement the Modem
Capabilities hook (because there is no standard way to determine
what access technologies a modem supports), the Current Capabilities
are copied to the Modem Capabilities.  For devices that support
QCDM this means that Modem Capabilies which used to be created from
the GCAP response and thus would contain all available capabilities
now contain only current capabilities.  This isn't a problem though
since there was no way to switch the devices to use any of their
other capabilities, becuase there aren't any standard commands for
it.  Plugins that know how to switch their modem's capabilities
should (and they already do) override load_current_capabilities
and load_modem_capabilities to get the correct information.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Many multi-mode Qualcomm devices report all available modes in their
AT+GCAP response (for example, CDMA/EVDO and GSM/UMTS) but they cannot
actually function in all these modes at the same time.  The modem's
actual current capabilities are expressed by the QCDM NV ModePref
item, which is not reflected in the AT+GCAP response.

Reading the current capabilities from the NV ModePref item ensures
that ModemManager does not create interfaces for the modem which
the modem cannot actually implement.

Because the generic modem plugin does not implement the Modem
Capabilities hook (because there is no standard way to determine
what access technologies a modem supports), the Current Capabilities
are copied to the Modem Capabilities.  For devices that support
QCDM this means that Modem Capabilies which used to be created from
the GCAP response and thus would contain all available capabilities
now contain only current capabilities.  This isn't a problem though
since there was no way to switch the devices to use any of their
other capabilities, becuase there aren't any standard commands for
it.  Plugins that know how to switch their modem's capabilities
should (and they already do) override load_current_capabilities
and load_modem_capabilities to get the correct information.
</pre>
</div>
</content>
</entry>
<entry>
<title>sms-part: check UDH length vs available size before trying to read it</title>
<updated>2013-04-18T12:43:37+00:00</updated>
<author>
<name>Aleksander Morgado</name>
<email>aleksander@lanedo.com</email>
</author>
<published>2013-04-18T12:43:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ModemManager.git/commit/?id=95274bfa2327a5fec59db33ca94463f4f9baff9c'/>
<id>95274bfa2327a5fec59db33ca94463f4f9baff9c</id>
<content type='text'>
https://bugzilla.gnome.org/show_bug.cgi?id=698246
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugzilla.gnome.org/show_bug.cgi?id=698246
</pre>
</div>
</content>
</entry>
<entry>
<title>qcdm: fix CDMA1x Pilot Sets pilot handling</title>
<updated>2013-04-17T22:21:28+00:00</updated>
<author>
<name>Dan Williams</name>
<email>dcbw@redhat.com</email>
</author>
<published>2013-04-17T22:18:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ModemManager.git/commit/?id=9fa5b9001a4a61128aa894941062d8e6d025e101'/>
<id>9fa5b9001a4a61128aa894941062d8e6d025e101</id>
<content type='text'>
The helper functions got the return code of qcdm_result_* wrong
and thus failed all requests for pilot sets.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The helper functions got the return code of qcdm_result_* wrong
and thus failed all requests for pilot sets.
</pre>
</div>
</content>
</entry>
<entry>
<title>mbm: allow MBIM devices</title>
<updated>2013-04-17T17:15:24+00:00</updated>
<author>
<name>Aleksander Morgado</name>
<email>aleksander@lanedo.com</email>
</author>
<published>2013-04-17T17:15:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ModemManager.git/commit/?id=b95dc3f2f56084b7cfd253beed62716e708bd67e'/>
<id>b95dc3f2f56084b7cfd253beed62716e708bd67e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>build: MBIM support is auto</title>
<updated>2013-04-17T13:34:23+00:00</updated>
<author>
<name>Aleksander Morgado</name>
<email>aleksander@lanedo.com</email>
</author>
<published>2013-04-17T13:34:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ModemManager.git/commit/?id=0e60d964b3a95065b6164e5e9dd77b72a162d8f9'/>
<id>0e60d964b3a95065b6164e5e9dd77b72a162d8f9</id>
<content type='text'>
Use it if found, don't use it if not found.

Can be explicitly requested with --with-mbim.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use it if found, don't use it if not found.

Can be explicitly requested with --with-mbim.
</pre>
</div>
</content>
</entry>
<entry>
<title>device: look for vendor/product ID on the grandparent for MBIM devices</title>
<updated>2013-04-17T13:23:24+00:00</updated>
<author>
<name>Aleksander Morgado</name>
<email>aleksander@lanedo.com</email>
</author>
<published>2013-04-17T10:18:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ModemManager.git/commit/?id=f8e7f2ebe118208da0f664dbbfa7b00f43c71338'/>
<id>f8e7f2ebe118208da0f664dbbfa7b00f43c71338</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
