Commit Graph

34 Commits

Author SHA1 Message Date
Alexander Couzens 43febf13a4 qmimodem: sync the modem on enable
The qmi sync call release all previous resources.
qmi/discovery: only do the sync call when ctl service version >= 1.5
2017-10-02 06:56:15 +02:00
Alexander Couzens eef98e7a3f plugins/gobi: add the qmi type to the debug output of discover_cb() 2017-05-04 12:39:02 -05:00
Jonas Bonn b3b0cbb045 gobi: query presence of WDA service 2017-03-25 16:01:45 -05:00
Lukasz Nowak 988cec2fc2 gobi: Do not use low-power modes for some modems
Telit QMI modems have a problem with the low-power operating modes.
After entering and leaving such a state, UIM service does not return.
The sim card is still marked as powered-down. The QMI interface does
not have a way to power it back on.

To avoid this, keep modems with the "AlwaysOnline" flag online
in the disable-modem and offline-modem procedures.
2017-03-24 09:59:34 -05:00
Denis Kenzior 5b80335573 gobi: Fix warning
plugins/gobi.c: In function ‘gobi_pre_sim’:
plugins/gobi.c:431:2: error: ‘sim_driver’ may be used uninitialized in
this function [-Werror=maybe-uninitialized]
  ofono_sim_create(modem, 0, sim_driver, data->device);
    ^
2016-05-03 11:12:19 -05:00
Martin Chaplet be1190b2cf gobi: Enable SIM driver forcing
Some gobi devices do not actually support UIM interface.  So if the
"ForceSimLegacy" property is set, force the qmimodem-legacy SIM driver.
2016-05-03 11:03:41 -05:00
Petr Vorel b8a9e0d5ec gobi: Add missing _GNU_SOURCE
as we're using O_CLOEXEC
2015-11-16 09:32:09 -06:00
Marcel Holtmann 93688c390e gobi: Use UIM service is available 2012-11-25 19:56:42 +01:00
Marcel Holtmann e3bbfdcd15 gobi: Add support for USSD atom driver 2012-06-25 20:14:29 -07:00
Marcel Holtmann eb0cbb1cf0 gobi: The location reporting is available even without SIM card present 2012-06-25 12:28:08 -07:00
Marcel Holtmann 96a8cf12cd gobi: Add support for voice call atom driver 2012-06-25 12:11:45 -07:00
Marcel Holtmann 50d3c2600d gobi: Cancel all requests and notifications on device shutdown 2012-06-25 10:25:49 -07:00
Marcel Holtmann 9a2d97e494 gobi: Use shared DMS for power and online operations 2012-06-25 09:31:02 -07:00
Marcel Holtmann 6ac55c1924 gobi: Add support for radio settings atom driver 2012-06-24 22:55:08 -07:00
Marcel Holtmann 7da569f9e7 gobi: Disable UIM support for now and allow DMS fallback 2012-06-24 22:41:32 -07:00
Marcel Holtmann be4423e523 gobi: Use QMI support to drive this modem 2012-06-21 16:09:57 -07:00
Marcel Holtmann 2d95541f3b gobi: Use the correct modem property for AT command device 2012-05-26 07:36:30 +02:00
Marcel Holtmann c867c9f9bf plugins: Update copyright information 2011-10-10 13:39:54 -07:00
Marcel Holtmann bc329be0e2 gobi: Fix stale control channel after hot-unplug 2011-07-29 15:24:33 +02:00
Marcel Holtmann 48c495241e gobi: Add support for simplified dialup mode 2011-07-28 00:03:46 +02:00
Marcel Holtmann 357499597e gobi: Add timeout for modem enabling handling
Some GOBI cards stop responding to AT commands when RFKILL has been
enabled. In that case just timeout after 5 seconds.
2011-07-27 16:29:52 +02:00
Marcel Holtmann 1143f228f5 gobi: Fix error handling with device enabling and disabling 2011-07-27 16:09:11 +02:00
Gustavo F. Padovan 807f67d7e8 gobi: remove set but not used var 2011-05-20 15:07:31 -05:00
Marcel Holtmann f529f80ec7 gobi: Fix small coding style issue 2011-02-09 18:27:40 -08:00
Jeevaka Badrappan 8c667aadad plugins: remove NULL check 2011-01-29 18:39:37 +01:00
Marcel Holtmann 863ce7d93a gobi: Use permissive AT syntax parser
Trying to use the GSM V1 parser will break sending SMS. So just accept
that Gobi is another device where the strict syntax parser won't work.
2011-01-29 18:39:37 +01:00
Marcel Holtmann 2b0dab3dcb gobi: Move SMS support into post_sim stage 2011-01-29 10:26:52 +01:00
Marcel Holtmann 1f356f227b gobi: Handle broken SIM status notification gracefully 2011-01-24 12:55:25 +01:00
Marcel Holtmann fa32c1fd27 gobi: Enable handling for GPRS registration 2011-01-22 13:14:07 +01:00
Marcel Holtmann 55209a77c1 gobi: Check for SIM status first before enabling SIM card 2011-01-22 13:02:35 +01:00
Marcel Holtmann 7985e53fe7 gobi: Enable vendor quirk for network registration 2011-01-22 12:38:49 +01:00
Marcel Holtmann e7a05dbfd3 gobi: Add support for SMS, CBS and USSD interfaces 2011-01-22 11:37:03 +01:00
Marcel Holtmann 845a69158f gobi: Add support for basic network registration handling 2011-01-09 19:02:35 -08:00
Marcel Holtmann 994e6da575 gobi: Add skeleton for Qualcomm Gobi modem plugin 2011-01-09 06:18:18 -08:00