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
Marcel Holtmann
a5ae2e37df
icera: Request USSD mode and firmware details
2012-05-25 12:29:59 +02:00
Marcel Holtmann
6d83fbdf00
icera: Query initial state of SIM init status
2012-05-25 10:41:10 +02:00
Marcel Holtmann
f163708a85
icera: Enable support for radio settings handling
2012-05-25 10:33:14 +02:00
Marcel Holtmann
d514c4fd88
icera: Use SIM init nofitication instead of polling
2012-05-24 05:41:44 +02:00
Marcel Holtmann
81973b6d0a
icera: Enable SMS sending and receiving support
2012-05-24 03:56:36 +02:00
Marcel Holtmann
0bdc0119c7
icera: Enable USSD support and ensure default character set
2012-05-24 03:44:31 +02:00
Daniel Wagner
83becec832
bluetooth: Add Serial interface definition
2012-05-22 18:44:46 +02:00
Denis Kenzior
91cbcbf371
hfp_hf: Fix up whitespace corruption
2012-05-21 21:26:19 -05:00
Marcel Holtmann
c26cc80b08
icera: Add SIM, network registration and GPRS handling
2012-05-22 12:04:13 +02:00
Lucas De Marchi
e0d6f9f0ce
Do not set signature and reply in GDBus tables
...
Use GDBUS_* macros, so signature and reply fields are not set in each
method/signal.
2012-05-20 02:47:57 -07:00
Lucas De Marchi
b3489f2ee8
Convert GDBus methods to use macro helpers
...
With these macro helpers we can separate in/out arguments and use their
own vector.
2012-05-20 02:47:57 -07:00
Henrique Dante de Almeida
63bbdebdf2
Constify GDBus method tables
...
Constify method tables with the following command:
find . -name '*.[ch]' -exec \
sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;
2012-05-20 02:47:56 -07:00
Mikel Astiz
c9d3ce5c22
hfp_hf: Fix modifying hash table while iterating
...
Calling ofono_remove_modem() while iterating the hash table is not safe
given that it can modify the table in hfp_remove().
A simple way to reproduce the problem is to pair some Bluetooth phones
and remove the Bluetooth adapter, triggering a GLib-CRITICAL assertion.
This patch just removes the update of the hash table inside
hfp_remove(). This can be safe as long as all calls to
ofono_modem_remove() are accompanied by a hash table update. The only
example of this kind right now is hfp_agent_release().
2012-04-19 07:41:27 -05:00
Guillaume Zajac
a3fc044be4
zte: Update to new sim_state_query API
2012-04-18 04:08:44 -05:00
Guillaume Zajac
8d92f0394f
speedup: Update to new sim_state_query API
2012-04-18 04:08:29 -05:00
Guillaume Zajac
1d2432ac85
samsung: Update to new sim_state_query API
2012-04-18 04:08:15 -05:00
Guillaume Zajac
fd5e7ed37e
mbm: Update to new sim_state_query API
2012-04-18 04:08:02 -05:00
Guillaume Zajac
1666a5d2f2
alcatel: Update to new sim_state_query API
2012-04-18 04:07:43 -05:00
Bertrand Aygon
ab6be24c58
speedup: enable online/offline support
...
Add speedup_set_online.
Add a polling mechanism since most speedup dongles failed in couple of
AT commands following the CFUN=1 when they are offline.
Cleanup online polling in case modem is removed during online process.
2012-04-18 04:02:43 -05:00
Nicolas Bertrand
eb8645e6f5
speedup: Use speedup specific driver for ussd
2012-04-17 03:11:00 -05:00
Bertrand Aygon
de29df012f
Add udev rules for SpeedUp U3501
2012-04-06 09:32:15 -05:00
Marcel Holtmann
c23d4c7823
icera: Add skeleton for Icera modem plugin
2012-04-06 16:28:35 +02:00
Marcel Holtmann
19b187a654
udev: Add detection support for Icera based devices
2012-04-06 16:19:36 +02:00
Bertrand Aygon
27992cd9a6
zte: Add support for radio settings
2012-03-26 16:51:24 -05:00
Marcel Holtmann
9abf49fa2b
udev: Only detect Sierra Wireless devices with DirectIP
2012-03-21 21:17:33 -07:00
Marcel Holtmann
1605dbadb4
sierra: Add support for DirectIP connections
2012-03-21 21:13:52 -07:00
Renat Zaripov
edd6634fce
sim900: Add ussd and voice call support
2012-03-13 21:31:21 -05:00
Renat Zaripov
e98bdcffc2
sim900: Use SIMCOM quirk for SMS atom
2012-02-27 20:30:28 -06:00
Neil Jerram
fb43a32743
hso: Don't access freed data, in hso_set_online
2012-02-27 15:16:37 -08:00
Denis Kenzior
f1fde3c33f
sim900: Fix minor coding style violation
2012-02-22 04:16:56 -06:00
Renat Zaripov
cdfcd6f55b
sim900: Add support for PIN retry counters
2012-02-22 04:16:05 -06:00
Marcel Holtmann
1a5895f428
udev: Remove empty line
2012-02-18 13:26:26 +01:00
Marcel Holtmann
ef3ea60913
udev: Add support for detecting Sierra network interfaces
2012-02-18 13:18:53 +01:00
Marcel Holtmann
d61e815c7f
hso: Open modem port to log extra notifications
2012-02-18 13:02:42 +01:00
Marcel Holtmann
efaf74a9fa
udev: Also detect modem port of Option HSO devices
2012-02-18 13:01:42 +01:00
Marcel Holtmann
7ec8466f8a
sierra: Rename some variables
2012-02-16 19:18:17 +01:00
Marcel Holtmann
1a3752c174
udev: Detect more ports for Sierra modems
2012-02-16 19:17:40 +01:00
Marcel Holtmann
91bd71e996
udev: Add sanity check for ports on old Option devices
2012-02-16 18:36:23 +01:00
Marcel Holtmann
caad8378d9
udev: Detect old Option cards without high-speed interface
2012-02-16 18:07:07 +01:00
Marcel Holtmann
7693007d2e
ifx: Add support for Assisted Satellite Navigation
2012-02-16 13:06:52 +01:00
Marcel Holtmann
e3ef803a75
ifx: Setup CSCS to use GSM for the aux port
...
This change is needed since otherwise umlauts and other characters
for USSD responses will not work properly.
2012-02-10 12:20:58 +01:00
Denis Kenzior
2708ca3b63
ifx: Take out bad merge
2012-02-09 22:35:21 -06:00
Marcel Holtmann
e2fe4e4940
ifx: Use CFUN=0 (Minimum Functionality) to disable modem
2012-02-10 02:42:43 +01:00
Marcel Holtmann
b1b0fe761e
ifx: Remove handling of audio settings setup
...
The audio settings setup is now done as port of the audio settings atom.
2012-02-10 01:17:06 +01:00
Marcel Holtmann
31efecfe72
ifx: Fix compilation issue
2012-02-02 21:51:26 -08:00
Denis Kenzior
6b44e65993
ifx: Make sure query XSIMSTATE
...
XSIMSTATE=1 does not seem to reliably activate XSIM notifications
anymore. So query the XSIMSTATE at startup instead.
2012-02-02 09:15:36 -06:00
Denis Kenzior
1b5b46a23e
ifx: Use a proper prefix for XGENDATA
2012-02-02 05:53:53 -06:00
Marcel Holtmann
5086f5f43a
udev: Limit ZTE port selection to specific product identifiers
2012-01-17 10:38:07 +01:00
Marcel Holtmann
d6d86ff938
udev: Keep vendor and product identifiers around
2012-01-17 10:35:23 +01:00
Marcel Holtmann
f2bfaed174
udev: Add detection support for SIM COM modems
2012-01-13 04:56:02 +01:00