Commit Graph

1051 Commits

Author SHA1 Message Date
Denis Kenzior 6e3a6156b3 ifx: Bump the setup timeout
The newer IFX firmware was changed, it no longer accepts AT commands
until the UA frame has been sent back to the AP.  The commands are
simply dropped on the floor.  This requires a proper fix in GAtMux, but
until then simply bump up the timeout to get around this issue.
2012-11-28 10:31:15 -06:00
Denis Kenzior e9d15ae899 ifx: Rework SIM state handling
When performing a SIM REFRESH, particularly NAA Initialization, we need
to wait until the modem sends XSIMSTATE: 7, not XSIMSTATE:2.  Even on
normal initialization it seems safer to wait until XSIMSTATE:2.
2012-11-28 10:31:14 -06:00
Marcel Holtmann 6df6688f61 udev: Let Huawei detection also check for cdc_wdm drivers 2012-11-25 20:00:38 +01:00
Marcel Holtmann adf93dc436 udev: Use Qualcomm Gobi driver if QMI based modem 2012-11-25 20:00:07 +01:00
Marcel Holtmann 589a8997c0 udev: Handle USB descriptors from Vodafone K5005 modem 2012-11-25 19:57:43 +01:00
Marcel Holtmann 93688c390e gobi: Use UIM service is available 2012-11-25 19:56:42 +01:00
Denis Kenzior 8b339a4754 ifx: Move connman atom to post_sim state 2012-11-22 06:50:09 -06:00
Denis Kenzior 792c9c02f8 ifx: Get rid of have_sim tracking 2012-11-22 06:50:08 -06:00
Marcel Holtmann d36e4b7580 ifx: Add comments about unhandled SIM states 2012-11-23 16:41:23 +01:00
Cedric Jehasse f61cf95765 alcatel: create sim atom with vendor alcatel 2012-11-15 12:31:02 -06:00
Denis Kenzior 2bc5871d52 mbm: Fix SIM not inserted detection 2012-11-07 07:59:57 -06:00
Denis Kenzior f8e856a4c4 stktest: Label stktest modem as type TEST 2012-11-02 14:04:49 -05:00
Holger Hans Peter Freyther 6cacafe138 wavecom: Add peculiar CPIN as terminator behavior 2012-11-01 04:58:14 -05:00
Denis Kenzior 4769c59957 udevng: Fix MBM detection 2012-10-16 10:02:12 -05:00
Denis Kenzior a3099bfd8d plugins: Add stktest plugin 2012-10-03 09:10:42 -05:00
Christopher Vogl 03c4ccfd59 telit: enable extended sim status notification
Use AT#QSS=2 instead of AT#QSS=1 to get an URC when the SIM is not only
inserted but also when PIN is unlocked and when SMS + phonebook are
ready to be used.

Disable sim state notification in telit_enable() so that we sure get a
notification when we enable it later again. This way we don't have to
query the state the first time. Without this the Telit modem does not
always send an URC when AT#QSS=2 is sent.

Remove sim_inserted_source and sim_inserted_timeout_cb which are not
needed anymore as a consequence.
By the way the 1 second timeout was an ugly hack.

Don't query current SIM status in cfun_enable_cb() as the SIM is
disabled due to prior AT+CFUN=4.

Register '#QSS:' before enabling sim state notifications.

Remove telit_qss_cb() which was used as a callback for querying the
current SIM status.

Move sms atom creation into switch_sim_state_status() and add creation
of phonebook atom. These are created when QSS: 3 is received.
2012-08-30 09:45:27 -05:00
Christopher Vogl f94d112d2c telit: Avoid resetting the SIM
Avoid a reset  when switching between online and offline (airplane)
mode in telit_set_online(). +CFUN accepts a second parameter (0), which
disables a reset: AT+CFUN=x,0.
2012-08-30 09:45:27 -05:00
Christopher Vogl 92cb2fd045 telit: disable auto attach procedures with AUTOATT 2012-08-21 14:34:31 -05:00
Denis Kenzior c7e123530b telit: Fix warning
plugins/telit.c: In function ‘rsen_disable_cb’:
plugins/telit.c:446:21: error: unused variable ‘data’
2012-08-20 08:10:27 -05:00
Christopher Vogl 0d724c7a34 telit: add additional port for data connection
Use MDM port for data service and AUX for the AT chat.
Disable DCD so that the modem does not hangup after a data connection.
2012-08-20 08:09:53 -05:00
Christopher Vogl 71cf14d5b1 udevng: rename aux port from Data to Aux for telit
Telit software user guide says:
USB AUX doesn't support any flow control method. Therefore, this port
isn't suitable for DATA service port.
We recommend this port should be used only for AT command and URC
processing.
2012-08-20 08:08:25 -05:00
Denis Kenzior 8112a025b9 mbm: Fix crash from processing multiple *EMRDY
Sometimes we see the *EMRDY notification before we query, and trigger
initialization procedures twice.
2012-08-16 11:39:22 -05:00
Denis Kenzior cdb3de4d03 mbm: Remove spurious ';' 2012-08-16 11:20:45 -05:00
Christopher Vogl 1c6f585555 telit: pass vendor at sim atom creation 2012-08-16 01:16:16 -05:00
Denis Kenzior 8c18295350 telit: Fix 80 character per line violation 2012-08-16 01:15:39 -05:00
Christopher Vogl e6905e003f telit: move gprs atom into post sim phase 2012-08-16 01:12:48 -05:00
Marcel Holtmann 5a549e1ef7 bluetooth: Avoid shadowing of connection variable 2012-07-15 20:19:47 -03:00
Marcel Holtmann 38bea83fda stemgr: Avoid shadowing of connection variable 2012-07-15 20:19:28 -03:00
Lucas De Marchi d00e030f80 stemgr: watch for signals only on MGR_SERVICE 2012-07-02 11:04:38 -05:00
Lucas De Marchi b84e107f08 bluetooth: watch for signals only on BLUEZ_SERVICE 2012-07-02 11:04:35 -05: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
Luiz Augusto von Dentz fa77d46f9d bluetooth: ignore error if driver returns -EALREADY 2012-06-22 02:46:46 -05: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
Pablo Neira Ayuso 8d319d0cca wavecom: add support for Wavecom Q2403/Q2686 modems 2012-05-31 09:47:27 -05:00
Pablo Neira Ayuso 2049fb4c84 udev: add Wavecom support
This adds OFONO_WAVECOM_MODEL that can set in the udev rules file
to indicate the modem model, eg.

ENV{OFONO_WAVECOM_MODEL}="Q2XXX"
2012-05-31 09:45:28 -05:00
Marcel Holtmann 2d95541f3b gobi: Use the correct modem property for AT command device 2012-05-26 07:36:30 +02:00
Marcel Holtmann d5dc9c967d udev: Fix matching to prefer entries with VID and PID 2012-05-26 07:35:58 +02:00
Marcel Holtmann fba1efe1a5 udev: Add support for detecting Huawei QMI devices 2012-05-26 07:35:25 +02:00
Marcel Holtmann 6a62729e32 udev: Add support for detecting Gobi QMI devices 2012-05-26 07:01:42 +02:00
Marcel Holtmann f986bcbe35 udev: Add matching support for CDC WDM device nodes 2012-05-26 06:46:54 +02:00
Marcel Holtmann 27d79055ba icera: Select USSD driver based on USSD mode setting 2012-05-25 13:09:27 +02:00
Marcel Holtmann 897e99aceb udev: Add detection for Nokia 21M-01 modems 2012-05-25 12:35:45 +02:00
Marcel Holtmann 8fed16f541 udev: Add detection for Samsung GT-Y3300 modems 2012-05-25 12:35:25 +02:00
Marcel Holtmann aa5e661c55 udev: Extend port mapping for Icera modems 2012-05-25 12:30:40 +02:00