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
Renat Zaripov
4d388a684b
udev: Add SIMCOM SIM900 detection support
...
This allows for detection of SIM900 modem module in case
of appropriate driver specified in udev rules.
Example rule:
KERNEL=="gsmtty3", ENV{OFONO_DRIVER}="sim900"
2012-01-11 23:48:24 -06:00
Renat Zaripov
969ad0acd7
plugins: Add support for sim900 by SIMCOM
...
This patch add support for SIM900 GSM module
http://wm.sim.com/Sim/FrontShow_en/wireless/detail.aspx?cid=6&nid=770
2012-01-11 23:48:24 -06:00
Marcel Holtmann
2292753f4e
huawei: Select USSD atom driver based on firmware mode
2012-01-12 06:02:27 +01:00
Marcel Holtmann
aba7731fdc
speedup: Setup CSCS after SIM card has been detected
2012-01-12 04:38:50 +01:00
Marcel Holtmann
d4eeced43c
hso: Setup CSCS after SIM card has been detected
2012-01-12 04:37:40 +01:00
Marcel Holtmann
0043f4735e
huawei: Setup CSCS after SIM card has been detected
2012-01-12 04:37:03 +01:00
Denis Kenzior
7f431e714f
udev: Use g_ascii_isalnum instead of isalnum
2012-01-11 14:31:45 -06:00
Marcel Holtmann
e0853c7f20
huawei: Print and store NDIS support results
2012-01-11 21:35:25 +01:00
Denis Kenzior
60890653e3
huawei: Refactor logic slightly
2012-01-11 06:49:46 -06:00
Guillaume Zajac
b1eb2209ab
huawei: Create sim atom for cdma modems
...
Don't create atom if sim is embedded.
Atom will use "atmodem-noef" drivers to support PIN management
and IMSI retrieval.
2012-01-11 06:46:38 -06:00
Denis Kenzior
89c757f49d
zte: Setup CSCS on both ports
2012-01-11 06:38:28 -06:00
Denis Kenzior
845deec554
speedup: Setup CSCS on both ports
2012-01-11 06:38:28 -06:00
Denis Kenzior
9afba48128
nokia: Setup CSCS on both ports
2012-01-11 06:38:28 -06:00
Denis Kenzior
908eadf4d1
huawei: Setup CSCS on both ports
2012-01-11 06:38:28 -06:00
Denis Kenzior
e8f56215d9
hso: Setup CSCS properly
2012-01-11 06:38:28 -06:00
Marcel Holtmann
8e110af6e1
huawei: Check for NDIS vs modem dial-up mode
2012-01-11 16:33:02 +01:00
Denis Kenzior
bddacd8774
ofono.rules: Add N900 rule for stock kernels
...
From a patch set by Luke Dash
2012-01-07 13:20:09 -06:00
Philippe Nunes
9631d53ad0
cdma-provision: Add cdma provisioning plugin
2012-01-07 12:40:47 -06:00
Guillaume Zajac
de2e92fc86
udevng: Remove huaweicdma label from driver_list
2012-01-07 12:26:31 -06:00
Marcel Holtmann
57604ec2b7
huawei: Adapt to changed atom driver name for CDMA netreg
2012-01-06 19:56:46 -08:00
Marcel Holtmann
c7ec6efa4e
huawei: Use CFUN=5 for CDMA offline state handling
...
The Huawei CDMA modems only support CFUN=5 for offline mode and so
enforce this one if CDMA support has been detected. Even if the modem
would indicate AT^RFSWITCH support.
2012-01-06 19:16:43 -08:00
Marcel Holtmann
18a1fbca84
huawei: Handle modems with ROM based SIM cards
...
Some modem contain ROM based SIM cards indicated by SIM state 240 and
these need to be treated as SIM present.
2012-01-06 19:11:03 -08:00
Marcel Holtmann
cdfea3601e
huawei: Create CDMA atoms if support has been detected
...
In case the modem supports CDMA (+CIS707-A capability), then enable
CDMA atoms. However only enable if GSM support is not detected.
2012-01-06 19:08:13 -08:00
Marcel Holtmann
1600d4fdcc
hso: Enable voice call handling if support has been detected
...
Check if AT_OPCMENABLE is supported and if so, then enable the voice
call handling as well.
2012-01-06 18:52:12 -08:00
Marcel Holtmann
09c7a1cdd1
huawei: Create GSM/UMTS atoms only if support has been detected
2012-01-06 18:30:12 -08:00
Guillaume Zajac
d432561a12
huaweicdma: Delete unused plugin
2012-01-06 13:44:34 -08:00
Guillaume Zajac
ba06f8e2fa
udev: Simplify vendor_list for Huawei constructor
...
According to Huawei constructor, the port mapping is identical
for all the modems. We can decide to use GSM or CDMA drivers into
the plugin.
2012-01-06 13:43:17 -08:00
Marcel Holtmann
991822cb61
huawei: Check for supported modem capabilities first
...
Use ATI and +GCAP response to determine supported modem capabilities
and check if modem does support GSM.
2012-01-06 13:31:38 -08:00
Marcel Holtmann
cd4528e7a3
huawei: Change state variable name for voice support
2012-01-06 13:19:30 -08:00
Marcel Holtmann
0b82269b11
hso: Add support for detecting is no SIM card is present
2012-01-01 18:00:39 -08:00
Syam Sidhardhan
9c89410c44
telit: Fix empty parameter list in function
2011-12-28 16:24:12 -06:00
Syam Sidhardhan
7a01c16a4a
hfp_ag: Fix empty parameter list in functions
2011-12-28 16:18:07 -06:00
Philippe Nunes
a740baa3e5
Add-udev-rules-for-Speedup-dongles
2011-12-21 07:58:58 -08:00
Philippe Nunes
4e2fc09083
udevng: Do only label assignment for Speedup dongles
2011-12-20 09:24:03 -08:00
Guillaume Zajac
3b6cb3a2c2
speedupcdma: Create cdma-netreg atom
...
According to SpeedUp 7300 specifications, SpeedUp uses
same AT command as Huawei so we can create cdma-netreg atom
using huaweicdma drivers.
2011-12-15 22:39:57 -06:00
Christopher Vogl
557201c2da
udevng: add another driver name for telit
...
some telit hardware needs option driver.
2011-12-15 22:38:29 -06:00
Guillaume Zajac
fb009fafd6
speedupcdma: Tweak plugin to notify dormant state
2011-12-10 18:49:46 -06:00
Philippe Nunes
cf7ad87bc6
huaweicdma: Use pcui port for cdma_netreg
2011-12-09 06:10:44 -06:00
Guillaume Zajac
aa917e5be1
huaweicdma: Tweak plugin to notify dormant state
...
Specify vendor in creating cdma-connman atom.
Set PCUI interface as slave of MODEM interface to receive dormant
state notification during data call.
2011-12-08 06:23:28 -06:00
Guillaume Zajac
0a6189c15e
sierra: Fix memory leak
2011-11-29 11:30:21 -06:00
Daniel Wagner
a7b69ac661
sap: Add modem type sap
2011-11-22 20:34:48 -06:00
Daniel Wagner
410914197b
hfp_hf: Add modem type hfp
2011-11-22 20:34:48 -06:00
Denis Kenzior
f454dea15b
plugins: Make the code a bit prettier
2011-11-16 03:59:40 -06:00
Philippe Nunes
07c33cdee9
mbpi: Add mbpi_lookup_cdma_provider_name API
2011-11-16 03:53:28 -06:00
Philippe Nunes
8e6da29392
provision: Update to the new mbpi API
2011-11-14 14:10:54 -06:00
Philippe Nunes
56e7c056cf
mbpi: mbpi_lookup becomes mbpi_lookup_apn
2011-11-14 14:10:43 -06:00
Denis Kenzior
1b95913b60
hfp_hf: Fix minor style issue from previous commit
2011-11-01 18:51:34 -05:00
Mikel Astiz
33a3ddfbb1
hfp_hf: BT address exposed through Serial property
...
Accomplished by adding the devinfo atom in pre_sim stage
2011-11-01 18:51:34 -05:00
Denis Kenzior
8e882b75a0
phonesim: Add handsfree atom to localhfp
2011-10-21 13:57:13 -05:00
Oleg Zhurakivskyy
975c916789
mbpi: Minor style issues
2011-10-20 12:43:27 -05:00
Oleg Zhurakivskyy
0ec773614f
mbpi: Rename mbpi_provision_data_free()
2011-10-20 12:42:16 -05:00
Oleg Zhurakivskyy
3c117e3ea3
mbpi: Add mbpi_ap_type()
2011-10-20 12:39:52 -05:00
Oleg Zhurakivskyy
807a98e0bb
provision: Add provisioning plugin
2011-10-20 12:38:54 -05:00
Gustavo F. Padovan
5371c28773
udev: add a driver name for telit
...
telit hardware needs usbserial.
2011-10-15 17:29:10 -07:00
Mikel Astiz
4cd3bf5733
hfp_hf: Switch to permissive AT syntax parser
...
Some phones can have trouble when using the strict AT syntax parser for
HFP. So far, this has only been evidenced with the Samsung Wave, which
works fine with the permissive syntax parser.
Several other phones have been tested with the permissive parser and
seem to work OK.
2011-10-13 13:52:18 -05:00
Denis Kenzior
c091b3537a
hfp_hf: Fix crash
...
If BlueZ exits during an outstanding Connect/Disconnect operation,
oFono can crash due to the pending call finishing on an already-removed
modem object.
2011-10-12 18:30:12 -05:00
Oleg Zhurakivskyy
d24d5219e7
mbpi: Add filename and line information on error
2011-10-12 16:59:31 -05:00
Oleg Zhurakivskyy
3501d76b94
mbpi: Improve mbpi_lookup() error reporting
2011-10-12 16:30:33 -05:00
Oleg Zhurakivskyy
d02e0c42b6
mbpi: Fix handling of the usage element
2011-10-12 16:29:19 -05:00
Oleg Zhurakivskyy
1e44b29de9
mbpi: Reflow gsm_end()
2011-10-12 16:24:03 -05:00
Oleg Zhurakivskyy
8f26272f01
mbpi: Split gsm_start() for readability
2011-10-12 16:20:51 -05:00
Marcel Holtmann
c867c9f9bf
plugins: Update copyright information
2011-10-10 13:39:54 -07:00
Marcel Holtmann
63a65e73ba
zte: Use own vendor quirk for SMS atom driver
2011-10-06 15:29:52 -07:00
Gustavo F. Padovan
ee2ba5b256
sap: also accept err = 0 in enable()
2011-09-29 14:03:45 -05:00
Gustavo F. Padovan
0e4a351282
telit: fix shutdown of bluetooth socket
2011-09-29 14:03:45 -05:00
Gustavo F. Padovan
53e005b200
sap: add sap modem disable() support
2011-09-29 14:03:45 -05:00
Gustavo F. Padovan
77aa9ef9d1
sap: clean up extra blank line
2011-09-29 11:21:57 -05:00
Gustavo F. Padovan
7a30f2e431
sap: add full support to SAP modem
...
Add pre_sim, post_sim, set_online and post_online calls
2011-09-29 11:21:54 -05:00
Gustavo F. Padovan
fa56fe78c5
telit: add post_online to SAP Client
2011-09-29 11:19:22 -05:00
Gustavo F. Padovan
fde698c2a5
telit: add set_online to SAP Client
2011-09-29 11:19:03 -05:00
Gustavo F. Padovan
9c7f0aa45e
telit: add post_sim to SAP Client
2011-09-29 11:18:51 -05:00
Gustavo F. Padovan
93fd2afd02
telit: add pre_sim support to SAP Client
2011-09-29 11:18:40 -05:00
Gustavo F. Padovan
e07b4217aa
telit: init modem normally once SAP was enabled
2011-09-29 11:17:12 -05:00
Gustavo F. Padovan
deca4a32d3
telit: add suport the disable SAP client
2011-09-29 11:13:05 -05:00
Gustavo F. Padovan
d4da014f6f
sap: enable SAP modem, when BlueZ replies
2011-09-29 10:49:47 -05:00
Denis Kenzior
019f0c9265
telit: Reflow sap_enable logic
...
To cover some conditions where we do not clean up properly
2011-09-29 10:48:23 -05:00
Denis Kenzior
c035b1af48
telit: Remove unneeded if
2011-09-29 10:02:33 -05:00
Gustavo F. Padovan
b722540594
telit: add support the enable the SAP client modem
2011-09-29 09:57:29 -05:00
Gustavo F. Padovan
06544a4c4d
sap: remove connect callback if enable fails
2011-09-29 09:11:34 -05:00
Gustavo F. Padovan
02a6d7b3a9
sap: clean up sap modem destruction
2011-09-28 02:24:36 -05:00
Gustavo F. Padovan
4f54a18539
sap: remove server_path
...
We use ofono_modem_set_string() instead to store it.
This also remove the need to have sap_data allocation on
bluetooth_sap_probe().
2011-09-28 02:24:04 -05:00
Gustavo F. Padovan
1f774bc1de
sap: fix sap modem remove
...
prefix NULL means that the modem needs to be removed
2011-09-27 23:43:27 -05:00
Gustavo F. Padovan
e73244a4a3
sap: retrigger bluetooth GetProperties call
...
When plugging a SAP capable modem, GetProperties need to be called again
to fetch the SAP Server devices from BlueZ.
2011-09-27 23:36:23 -05:00
Gustavo F. Padovan
9667db0b14
telit: add #RSEN notify
...
RSEN URC tells if the SAP Client was enabled or not
2011-09-26 13:38:19 -05:00
Gustavo F. Padovan
c30e7265d9
sap: add support to connect the RFCOMM link
2011-09-26 13:38:12 -05:00
Gustavo F. Padovan
4f3b9ff36c
telit: add support to enable SAP client
2011-09-26 13:37:55 -05:00
Denis Kenzior
7771fa07c8
sap: Fix minor whitespace issues
2011-09-26 13:37:06 -05:00
Gustavo F. Padovan
64e2b33465
sap: Add basic sap plugin
2011-09-25 11:45:54 -05:00
Gustavo F. Padovan
39f39b37c9
bluetooth: track DBus call pending
2011-09-13 00:14:15 -05:00
Mikel Astiz
4b2b707a30
hfp_hf: add handsfree atom
2011-09-09 01:05:47 -05:00
Denis Kenzior
a33c546694
plugins: Fix unused var warning
2011-09-09 00:10:06 -05:00
Denis Kenzior
cbe83ead62
plugins: Add mobile-broadband-provider-info parser
2011-09-08 23:50:19 -05:00
Marcel Holtmann
036707e42a
hso: Switch modem to use error numbers instead of strings
2011-08-22 17:42:36 -07:00
Daniel Wagner
75603a546f
udev: Fix typo for Huawei diagnostic interfaces
2011-08-17 17:16:00 -07:00
Denis Kenzior
9fb9d2385c
sim-poll: Remove unused code
2011-08-14 22:56:45 -05:00
Marcel Holtmann
de8b4621c2
udev: Add automatic detection for Linktop devices
2011-08-11 15:27:33 -07:00
Marcel Holtmann
8240fe9684
udev: Detect Diagnostic (QCDM) port for Telit devices
2011-08-11 10:53:54 -07:00
Marcel Holtmann
5d6ac7342f
udev: Add automatic detection for Telit modems
2011-08-11 10:40:59 -07:00
Marcel Holtmann
f5c4be8160
udev: Add support for automatic ISI USB modem detection
2011-08-11 10:28:48 -07:00
Marcel Holtmann
ea8e97bdc8
udev: Prepare for supporting different bus types
2011-08-11 10:03:25 -07:00
Marcel Holtmann
a38231b949
udev: Remove modem object when setup procedure fails
2011-08-11 07:48:47 -07:00
Marcel Holtmann
6d9d991a39
udev: Fix typo in Option HSO setup function
2011-08-10 21:53:22 -07:00
Marcel Holtmann
3742162017
udev: Add automatic detection for Ericsson MBM based devices
2011-08-10 21:52:40 -07:00
Marcel Holtmann
7fd6d3d0ef
udev: Add support for Huawei E160 based devices with only two TTY
2011-08-10 21:50:11 -07:00
Marcel Holtmann
ee19210585
udev: Fix minor whitespace mistakes
2011-08-09 16:50:30 -07:00
Marcel Holtmann
f0f3a57091
nokiacdma: Fix minor whitespace mistakes
2011-08-09 16:50:30 -07:00
Marcel Holtmann
7ca5ded9c6
nokia: Fix minor whitespace mistakes
2011-08-09 16:50:30 -07:00
Marcel Holtmann
99a53ca653
ifx: Fix minor whitespace mistakes
2011-08-09 16:50:30 -07:00
Marcel Holtmann
75f06e792c
hso: Fix minor whitespace mistakes
2011-08-09 16:50:30 -07:00
Marcel Holtmann
7f627b4034
mbm: Fix minor whitespace mistakes
2011-08-09 16:50:30 -07:00
Marcel Holtmann
dc65e2d3c1
phonesim: Fix minor whitespace mistakes
2011-08-09 16:50:30 -07:00
Marcel Holtmann
b20949002c
ste: Fix minor whitespace mistakes
2011-08-09 16:50:29 -07:00
Marcel Holtmann
c1d150071b
tc65: Fix minor whitespace mistakes
2011-08-09 16:50:29 -07:00
Marcel Holtmann
83eb63083c
zte: Fix minor whitespace mistakes
2011-08-09 16:50:29 -07:00
Marcel Holtmann
d79850f215
udev: Use standard modem properties for Novatel devices
2011-08-09 16:50:29 -07:00
Marcel Holtmann
bf0a062e69
novatel: Use more standard values for control and modem channels
2011-08-09 16:50:29 -07:00
Marcel Holtmann
1881e7c61c
udev: Detect Diagnostic (QCDM) port for Huawei devices
2011-08-09 16:50:29 -07:00
Marcel Holtmann
9152d56291
udev: Detect QCDM port for ZTE devices
2011-08-09 16:50:29 -07:00
Marcel Holtmann
4c52de55b7
udev: Detect GPS and QCDM port for Gobi cards
2011-08-09 16:50:29 -07:00
Marcel Holtmann
a36065bbc7
udev: Add debug output for special system attribute
2011-08-09 16:50:29 -07:00
Marcel Holtmann
549c298b61
udev: udev: Add automatic detection for Nokia data cards
2011-08-09 16:50:29 -07:00
Marcel Holtmann
bfe5731cd6
nokia: Use post_online callback even without onfline/offline support
2011-08-09 16:50:29 -07:00
Marcel Holtmann
b27b7ff309
udev: Add automatic detection for Olive V-ME101 HSIA modem
2011-08-09 16:50:29 -07:00
Marcel Holtmann
0f6f9081a1
samsung: Add skeleton driver for Samsung LTE device
2011-08-09 16:50:29 -07:00
Marcel Holtmann
a7e4b2e59a
alcatel: Add skeleton driver for Alcatel X220L device
2011-08-09 16:50:29 -07:00
Marcel Holtmann
c7e43e54ed
udev: Add automatic detection for Alcatel X220L
2011-08-09 16:50:29 -07:00
Marcel Holtmann
6682379cf8
speedup: Use post_online callback even without onfline/offline support
2011-08-09 16:50:28 -07:00
Marcel Holtmann
d0fa99678b
speedup: Fix minor whitespace issue
2011-08-09 16:50:28 -07:00
Marcel Holtmann
a1087ef1f1
udev: Use automatic detection for all SpeedUp modems
2011-08-09 16:50:28 -07:00
Bertrand Aygon
65f4f14f52
huaweicdma: Enable netreg atom
2011-08-09 13:01:48 -05:00
Frédéric Danis
02db6119f2
hfp_hf: retrieve AG version
2011-08-08 10:16:21 -05:00
Frédéric Danis
b8730eb47d
hfpmodem: fix hf features
...
check audio gateway version and only set right features
2011-08-08 10:16:21 -05:00
Marcel Holtmann
41c8b30ce6
udev: Use semi-automatic detection for SpeedUp devices
2011-08-08 17:09:42 +02:00
Marcel Holtmann
996d720b88
udev: Use fully automatic detection for Samsung LTE devices
2011-08-07 16:35:43 +02:00
Marcel Holtmann
bc63209b90
udev: Fix network interface detection for Option HSO
2011-08-06 14:12:37 +02:00
Marcel Holtmann
4cabdedafd
udev: Use fully automatic detection for Option HSO devices
2011-08-06 14:06:16 +02:00
Marcel Holtmann
9ef2e27b11
udev: Add support for automatic tagging of network interfaces
2011-08-06 13:28:45 +02:00
Marcel Holtmann
3d9b547257
udev: Sort devices by interface number and not device node
2011-08-06 13:18:28 +02:00
Marcel Holtmann
19e4dc97c1
udev: Add support for default driver assignments
...
If devices are not tagged with OFONO_DRIVER, then the driver will be
figured out based on kernel module name, vendor and/or product IDs.
Of course the manual tagging with OFONO_DRIVER as part of an udev
rule can always overwrite the default assignment.
2011-08-06 13:08:33 +02:00
Marcel Holtmann
40cf7449fe
udev: Use ID_USB_INTERFACE_NUM property instead bInterfaceNumber
2011-08-06 13:07:37 +02:00
Marcel Holtmann
787f14229a
udev: Prioritize labeled interfaces over discovered ones
2011-08-06 12:53:50 +02:00
Marcel Holtmann
64d90e9fa7
udev: Add warning in case channel gets disconnected
2011-08-06 12:53:50 +02:00
Denis Kenzior
52ac1749e0
udevng: Fix minor whitespace violation
2011-08-05 20:05:33 -05:00
Marcel Holtmann
b337d18560
udev: Add support for cleaner modem detection
2011-08-06 03:01:23 +02:00
Marcel Holtmann
8bb22cf740
udev: Remove outdated modem detection support
2011-08-06 03:00:35 +02:00
Marcel Holtmann
7e852420e8
zte: Set vendor quirk also for GPRS context atom
2011-08-05 22:51:02 +02:00
Marcel Holtmann
bb227dbe33
udev: Fix rules for Huawei E352 dongle
2011-08-05 19:17:55 +02:00
Marcel Holtmann
6b6e8816dd
udev: Add rules for Alcatel X220L devices
2011-08-05 17:59:55 +02:00
Marcel Holtmann
d17ebf1bbd
udev: Add rule for 4G Systems P14 dongle
2011-08-05 17:59:55 +02:00
Marcel Holtmann
1c0f549074
zte: Use AT+ZOPRT for online/offline mode changes
...
The ZTE modems work a lot more reliable when using AT+ZOPRT for switching
between online and offline mode.
In addition transition to offline mode also for enabling modem and switch
device into offline first before switching it off.
2011-08-05 17:59:55 +02:00
Marcel Holtmann
79e1638b40
zte: Set options for TTY port configuration
...
Seems like the ZTE modems are a bit more picky than others, so set
proper default options here. At least of the ZTE modems work a lot
more reliable this way.
2011-08-05 17:59:55 +02:00
Bertrand Aygon
4b896ee834
udev: add support for Olive HSDPA modem, which seems to be a SpeedUP.
2011-08-04 18:07:14 +02:00
Marcel Holtmann
59b4f99fec
udev: Switch control and modem channel for 4G Systems W14 device
...
This device is rather funny with some commands and insists on sending
the response to the other channel, but not the one it got executed on.
Aux: > AT+CPNNUM\r
Modem: < \r\nPIN1=3; PUK1=10; PIN2=3; PUK2=10\r\r\nOK\r\n
2011-08-04 16:02:17 +02:00
Marcel Holtmann
0eb0fd96eb
speedup: Use own vendor quirk for SIM atom
2011-08-04 15:54:57 +02:00
Marcel Holtmann
e0148bef6f
huawei: Check for AT^RFSWITCH support to determine offline command
...
Using AT+CFUN=7 (if supported) to switch into offline mode has a problem
with older modems. Sending AT+CFUN=7 with a data connection active has
the problem that it never terminates with OK or ERROR.
Devices that support AT^RFSWITCH are known to handle this properly. So
only when that command is supported, use AT+CFUN=7 for offline mode. If
it is not supported, then keep using AT+CFUN=5 to switch the device into
offline mode.
2011-08-04 14:01:03 +02:00
Marcel Holtmann
93186f6939
huawei: Add TOO MANY PARAMETERS terminator
2011-08-04 13:27:29 +02:00
Marcel Holtmann
5adacbaebd
zte: Switch to offline mode first before disabling modem
2011-08-04 02:43:06 +02:00
Marcel Holtmann
a7d7d24e4e
zte: Blacklist the NO CARRIER terminator for control channel
...
The ZTE cards will send NO CARRIER to all channels. This confuses
setting device into offline mode while still having a data connection.
2011-08-04 02:15:56 +02:00
Marcel Holtmann
7c204dafe9
udev: For ZTE modems with 5 interfaces, use 4th one for PPP
2011-08-04 02:14:46 +02:00
Marcel Holtmann
1566067d63
zte: Request PCB information when modem gets enabled
2011-08-04 00:07:03 +02:00
Marcel Holtmann
160940e34a
zte: Set ZTE vendor quirk for SIM atom
2011-08-03 23:55:06 +02:00
Marcel Holtmann
402534b290
zte: Use vendor quirk for GPRS atom
2011-08-03 23:12:55 +02:00
Marcel Holtmann
fbed01d9b8
speedup: Use vendor quirk for network registration and GPRS atoms
2011-08-03 22:39:11 +02:00
Marcel Holtmann
f6572725bc
udev: Add rule for 4G Systems W14 dongle
2011-08-03 18:54:27 +02:00
Mario Tokarz
949c129e17
bluetooth: Add UUID for DUN.
2011-08-03 14:43:38 +02:00
Marcel Holtmann
868b4489f9
mbm: Don't bother with NULL checking for SIM state query free
2011-08-03 14:31:56 +02:00
Marcel Holtmann
0d460ce2a3
zte: Fix race condition with SIM state polling and removal
2011-08-03 14:30:41 +02:00
Marcel Holtmann
b7a6739e92
speedup: Fix race condition with SIM state polling and removal
2011-08-03 14:29:32 +02:00
Marcel Holtmann
8cfab5328c
huawei: Fix race condition with enable polling
2011-08-03 14:26:23 +02:00
Marcel Holtmann
0ac3ccfa9b
huawei: Fix race condition with online enable polling
2011-08-03 14:23:21 +02:00
Bertrand Aygon
0504fc56ff
udev: switch ttys for SpeedUp 8000.
...
On SpeedUp 8000, notifications are received only on ttyUSB1.
So we must use this tty for aux, and use ttyUSB3 for modem.
2011-08-02 15:01:41 +02:00
Marcel Holtmann
90ee6542e6
novatel: Enable support for SIM phonebook
2011-07-29 17:36:08 +02:00
Guillaume Zajac
5029b906aa
connman: Fix crash due to uninitialized path
2011-07-28 00:12:13 -05:00
Guillaume Zajac
ae4ed8541c
connman: Fix crash in request_reply
2011-07-28 00:12:13 -05:00
Guillaume Zajac
446ee3443c
connman: Fix crash in parse_reply
2011-07-28 00:12:13 -05:00
Bertrand Aygon
6133d538c2
zte: delay the sending of &C0 after SIM is ready.
2011-07-29 16:01:24 +02:00
Bertrand Aygon
c9c531c913
udev: add support for Olive V-ME101 HSIA modem
2011-07-29 15:31:39 +02:00
Bertrand Aygon
fde5f0c951
udev: add support for Vodafone K3570-Z modem
2011-07-29 15:30:21 +02:00
Marcel Holtmann
3d305df9ad
huaweicdma: Fix stale PCUI channel after hot-unplug
2011-07-29 15:26:13 +02:00
Marcel Holtmann
98d448e7c4
speedupcdma: Fix stale control channel after hot-unplug
2011-07-29 15:25:24 +02:00
Marcel Holtmann
bc329be0e2
gobi: Fix stale control channel after hot-unplug
2011-07-29 15:24:33 +02:00
Marcel Holtmann
1b804183a8
nokia: Fix stale control channel after hot-unplug
2011-07-29 15:22:51 +02:00
Marcel Holtmann
ffa66e919a
novatel: Fix stale control channel after hot-unplug
2011-07-29 15:21:28 +02:00
Marcel Holtmann
3e73ffebff
speedup: Fix stale control channel after hot-unplug
2011-07-29 15:21:25 +02:00
Marcel Holtmann
e604e5065c
zte: Fix stale control channel after hot-unplug
2011-07-29 15:21:11 +02:00
Marcel Holtmann
d998989e9c
huawei: Fix stale PCUI channel after hot-unplug
2011-07-29 15:20:53 +02:00
Marcel Holtmann
43c5b442b2
huawei: Style cleanup for comments
2011-07-29 15:20:31 +02:00
Marcel Holtmann
3055bc112b
huawei: Shutdown the modem within disable callback
2011-07-29 14:56:41 +02:00
Marcel Holtmann
342a5bbd1a
udev: Add extra debug statements for device actions
2011-07-29 14:55:56 +02:00
Marcel Holtmann
a5be01c0c8
udev: Report problems with the udev monitor channel
2011-07-29 14:08:28 +02:00
Denis Kenzior
ceb2ea8735
udev: Assign 12d1:140b to Huawei CDMA modem driver
...
A simple Google search revealed that 12d1:140b is only used by CDMA
devices from Huawei. Mainly the EC1260 and EC126 and so just assign
the CDMA driver to it.
2011-07-28 23:02:55 +02:00
Bertrand Aygon
e233d87104
speedup: delay &C0.
2011-07-28 22:09:49 +02:00
Bertrand Aygon
9527bfb9af
speedup: remove online/offline mechanism.
2011-07-28 22:09:15 +02:00
Marcel Holtmann
158b8331bd
huawei: Complete rewrite to better support state transitions
...
When switching from offline into online mode, the SIM card access
gets temporarily disabled by the modem firmware. To work around
this limitation poll the SIM card state.
2011-07-28 22:06:29 +02:00
Bertrand Aygon
e256a6b7c8
udev: Add support for SpeedUp 7300 EVDO modem.
2011-07-28 14:50:57 +02:00
Marcel Holtmann
48c495241e
gobi: Add support for simplified dialup mode
2011-07-28 00:03:46 +02:00
Marcel Holtmann
3180a4f5b1
speedup: Send CFUN=4 when enabling the modem
2011-07-27 20:45:03 +02:00
Bertrand Aygon
d63d74b356
zte: Use at_util's cpin polling implementation.
2011-07-27 20:08:17 +02:00
Bertrand Aygon
946e30abb2
speedup: Use at_util's cpin polling implementation.
2011-07-27 20:05:23 +02:00
Marcel Holtmann
77ab26c61c
zte: Delay sending of AT&C0 to disable data carrier detect
...
The &C0 can not be send as part of the initial modem init string
since then it return with an error. Also sending it right after seems
to end up in a race condition with the modem init.
So send AT&C0 on both channel after AT+CFUN completed.
2011-07-27 18:02:32 +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
Bertrand Aygon
4179c87069
huawei: add a debug info to help debugging.
2011-07-27 15:54:09 +02:00
Bertrand Aygon
8a3b76272c
huaweicdma: open 2 ttys, to use a dedicated one for PPP.
2011-07-27 15:53:16 +02:00
Bertrand Aygon
10cf8a4a06
speedupcdma: open 2 ttys, to use a dedicated one for PPP.
2011-07-27 15:52:40 +02:00
Marcel Holtmann
c3e78fc827
novatel: Fix missing error handling for CFUN failure
2011-07-27 15:47:16 +02:00
Marcel Holtmann
1a23051d0f
sierra: Fix disable and enable error handling
2011-07-27 15:41:37 +02:00
Marcel Holtmann
6d9d9558fb
nokia: Remove some unneeded NULL pointer checks
2011-07-27 15:37:21 +02:00
Marcel Holtmann
c6e25f65fc
speedup: Use AT&C0 to disable data carrier detect
...
When the DCD is disabled the modem does not hangup anymore after the
data connection. So all workarounds due to TTY hangup can be removed.
2011-07-26 13:32:46 +02:00
Marcel Holtmann
b7e8db6dab
linktop: Use AT&C0 to disable data carrier detect
...
When the DCD is disabled the modem does not hangup anymore after the
data connection. So all workarounds due to TTY hangup can be removed.
2011-07-26 13:25:23 +02:00
Marcel Holtmann
60736a6e06
zte: Use AT&C0 to disable data carrier detect
...
When the DCD is disabled the modem does not hangup anymore after the
data connection. So all workarounds due to TTY hangup can be removed.
2011-07-26 13:14:29 +02:00
Bertrand Aygon
d81ca13097
huaweicdma: remove unneeded include.
2011-07-26 12:05:50 +02:00
Bertrand Aygon
bb4e313b18
speedupcdma: remove unneeded include.
2011-07-26 12:05:20 +02:00
Marcel Holtmann
878ded6621
udev: Fix race condition with Novatel modem detection
2011-07-25 04:10:14 +02:00
Marcel Holtmann
c6ee139f67
novatel: Blacklist the NO CARRIER terminator for control channel
...
The Novatel cards will send NO CARRIER to all channels. This confuses
setting device into offline mode while still having a data connection.
2011-07-25 03:48:25 +02:00
Marcel Holtmann
a1baf7aa82
nokia: Use AT&C0 to disable data carrier detect
...
When the DCD is disabled the modem does not hangup anymore after the
data connection. This allows for simpler connection handling and it
allows to remove all TTY hangup work-arounds.
2011-07-25 03:43:07 +02:00
Marcel Holtmann
1d303e3d38
udev: Fix interfaces numbers for Nokia data cards
2011-07-25 03:42:46 +02:00
Marcel Holtmann
28181a66ef
udev: Replace bInterfaceNumber with ID_USB_INTERFACE_NUM
2011-07-25 03:34:58 +02:00
Marcel Holtmann
49fc5b973d
novatel: Use AT&C0 to disable data carrier detect
...
When the DCD is disabled the modem does not hangup anymore after the
data connection. This allows for simpler connection handling and it
allows to remove all TTY hangup work-arounds.
2011-07-25 03:16:38 +02:00
Marcel Holtmann
63f1b9e9f5
udev: Remove broken Huawei support for NDIS port
2011-07-25 01:36:12 +02:00
Marcel Holtmann
e2bac24cb5
huawei: Remove leftover from HasVoice flag
2011-07-25 01:35:02 +02:00
Marcel Holtmann
e0f1249fcc
huawei: Remove broken handling for NDIS support
2011-07-25 01:34:41 +02:00
Marcel Holtmann
626612a8bf
huawei: Check supported offline mode and fix error behavior
2011-07-24 22:31:15 +02:00
Marcel Holtmann
235630e59c
udev: Remove voice setting flag from Huawei dongles
2011-07-24 19:48:36 +02:00
Marcel Holtmann
ce42d6127c
udev: Use ID_USB_INTERFACE_NUM instead of OFONO_IFACE_NUM
2011-07-24 18:35:55 +02:00
Marcel Holtmann
bff43cead1
mbm: Set baud rate to 115200 for TTY speed
...
The Ericsson F5521gw is a bit picky with its TTY speed. All previous
cards do not need this setting, but this one does. To make things a
bit simpler, just set all Ericsson cards to a baud rate of 115200.
2011-07-24 16:09:45 +02:00
Marcel Holtmann
01b754806d
mbm: Use AT&C0 to disable data carrier detect
...
When the DCD is disabled the modem does not hangup anymore after the
data connection. This only affected the PPP connection used for MMS
context setups, but without the quirk the handling of MMS contexts is
a lot cleaner as well.
2011-07-24 15:27:00 +02:00
Marcel Holtmann
49b8d24f3b
huawei: Set slave channel for NW DEACT notifications
2011-07-24 14:50:12 +02:00
Marcel Holtmann
7ed56d6844
huawei: Use AT&C0 to disable data carrier detect
...
When the DCD is disabled the modem does not hangup anymore after the
data connection. So all workarounds due to TTY hangup can be removed.
2011-07-24 12:59:14 +02:00
Marcel Holtmann
f416abdc39
ifx: Fix race condition when online/offline operation fails
2011-07-24 12:54:38 +02:00
Marcel Holtmann
c5cb5c192e
udev: Add support for Huawei E398 modems
2011-07-24 00:39:16 +02:00
Marcel Holtmann
cd2e6d201e
udev: Add detection support for Samsung LTE dongles
2011-07-24 00:03:57 +02:00
Bertrand Aygon
a15e326f47
udev: add support for Huawei CDMA dongles.
2011-07-23 17:01:54 +02:00
Denis Kenzior
01d967c381
mbm: Use at_util's cpin polling implementation
2011-07-22 08:27:32 -05:00
Marcel Holtmann
43fb36d015
udev: Fix whitespace damage
2011-07-22 11:19:19 +02:00
Bertrand Aygon
f6d2a39d71
udev: add support for SpeedUp CDMA dongles.
2011-07-22 11:18:18 +02:00
Denis Kenzior
ed4a5ac174
hfp_ag: Minor style tweaks
2011-07-21 20:25:04 -05:00
Frédéric Danis
acf95155d0
hfp_ag: start server on sim 'ready' state
...
update HFP AG server to start only when a modem has its SIM atom
in 'ready' state and has voice call capability
2011-07-21 20:21:59 -05:00
Denis Kenzior
abcd29b5cf
phonesim: Implement 'local' hfp driver
2011-07-21 03:49:27 -05:00
Denis Kenzior
b33d6b5fcb
hfp_hf: Reorganize common code into hfpmodem
2011-07-21 03:49:27 -05:00
Guillaume Zajac
77ae92efc0
speedupcdma: Create skeleton for Speed Up CDMA modem support
2011-07-21 11:46:33 +02:00
Bertrand Aygon
c7a5c2d07e
ofono.rules: Add rules for Tata ZTE MF 631
2011-07-20 08:22:58 -05:00
Bertrand Aygon
006c8825e4
ofono.rules: Add rules for Reliance ZTE MF 688
2011-07-18 07:47:40 -05:00
Marcel Holtmann
ce1c60d4e5
connman: Handle D-Bus without fd passing support
2011-07-17 19:35:29 +02:00
Bertrand Aygon
d9b369fffe
ofono.rules: Add rules for ZTE MF 637 modem
2011-07-12 11:19:35 -05:00
Bertrand Aygon
b25c1a26fd
ofono.rules: Add rules for SpeedUp 8000 modem
2011-07-12 11:17:53 -05:00
Denis Kenzior
947c164a67
connman: Refactor request_reply
2011-07-12 11:16:48 -05:00
Denis Kenzior
4c4c5ef107
connman: Perform more renaming
2011-07-12 09:34:36 -05:00
Denis Kenzior
67c501891f
connman: Refactor pns_release
2011-07-12 09:27:44 -05:00
Denis Kenzior
143553b7c9
connman: Rename to be clearer
2011-07-12 09:03:57 -05:00
Guillaume Zajac
84a1b5fcd0
plugins: add connman private network driver
2011-07-12 09:01:43 -05:00
Guillaume Zajac
96b10ac89a
huaweicdma: Create skeleton for Huawei CDMA modem support
2011-07-12 14:00:37 +02:00
Bertrand Aygon
1789bd5d4b
ofono.rules: Add udev rules for SpeedUp 7300
2011-07-10 12:26:13 -05:00
Nicolas Bertrand
87d85808d2
ofono.rules: Add ofono rules for ZTE MF190
2011-07-10 09:24:05 -05:00
Marcel Holtmann
6094556558
huawei: Use correct command for setting offline mode
...
According to some Huawei related documentation it is better to use
AT+CFUN=7 for offline mode instead of AT+CFUN=5.
2011-07-11 15:06:02 +02:00
Frédéric Danis
4129f1a05a
phonesim: add support of +CBC
...
PTS test TP/PSI/BV-03-I [Transfer Battery Level Indication] needs to
change battery level and check that the battery level indication is
received at the HF.
So add support for +CBC in phonesim plugin, and force update of the
battery indicator on HFP AG Emulator registration.
2011-07-08 13:24:21 -05:00
Bertrand Aygon
2c8f864204
zte: Create gprs & gc in post_sim
2011-07-07 01:16:25 -05:00
Bertrand Aygon
54dd702841
zte: Use decode_at_error instead
2011-07-07 01:15:21 -05:00
Bertrand Aygon
ca62334863
udev: Add udev rules for SpeedUp modems
2011-07-06 02:01:58 -05:00
Bertrand Aygon
13aa7facc6
plugins: add speedup driver
2011-07-06 02:00:58 -05:00
Luiz Augusto von Dentz
a5f5dd2569
bluetooth: Remove data in all situations
...
If an adapter or device is removed any data associate should be removed,
otherwise the next time they appear/are created the drivers may not
asssociate again.
2011-07-05 21:11:08 -05:00
Guillaume Zajac
5e1e2a335e
rules: Add ofono rule for Huwaei modem E173
2011-07-05 21:07:53 -05:00
Guillaume Zajac
b4058c6072
rules: Add ofono rule for ZTE modem MF668
2011-07-05 21:06:53 -05:00
Guillaume Zajac
a3963a0e6e
rules: Add ofono rule for ZTE modem MF180
2011-07-05 21:06:48 -05:00
Luiz Augusto von Dentz
c9714bd4b5
bluetooth: make uuid profile detection more generic
2011-06-30 22:10:09 -05:00
Luiz Augusto von Dentz
55f1c95ed1
bluetooth: use lower case for UUIDs
...
BlueZ also uses lower case
2011-06-30 22:05:56 -05:00
Michael Schloh von Bennewitz
a90d81e310
udev: fix detection of HP HS2330 (3607gw)
...
commit 6a2847f7ab
introduced basic
detection of HP HS2330 based on OEM Ericsson F3607gw modems.
Because some (or all?) HS2330 modems contain flawed text identifiers
containing strange (probably erroneous) binary sequences in place of
the ASCII space '\x20' character, the previous commit is incomplete.
The following logic detects the modem properly, by comparing binary
data as well as ASCII text values.
2011-06-30 00:39:44 -05:00
Denis Kenzior
6a2847f7ab
udev: Tweak detection rules for HP HS2330 cards
2011-06-27 12:17:22 -05:00
Amit Mendapara
13946995e1
udev: changed linktop device strings
2011-06-27 10:18:05 -05:00
Amit Mendapara
c8b82018d3
linktop: reimplemented with minimum features
...
The device supports subset of ST-Ericsson AT command
extensions but nither STE nor the MBM plugin works with
these devices.
Fixes MeeGo bug #14784
2011-06-27 10:18:01 -05:00
Denis Kenzior
6aa70ebf6b
mbm: Use decode_error from atutil
2011-06-27 10:12:19 -05:00
Frédéric Danis
1ef6317581
hfp_hf: update to use new HFP enums
2011-06-20 04:19:09 -05:00
Frédéric Danis
41bea0be67
hfp_ag: fix SDP record
...
HFP AG supports 3 way calls
2011-06-19 06:31:40 -05:00
Aki Niemi
19fc6d5f2d
u8500: Use new UICC SIM driver
2011-06-17 17:04:49 +03:00
Bernhard Guillon
30ccc42a97
udev: add initial Telit support
2011-06-14 04:30:50 -05:00
Denis Kenzior
b91726213c
telit: Use more generic error decoding
2011-06-08 04:26:22 -05:00
Denis Kenzior
56bef41eac
telit: Make sure to clean up the source
2011-06-08 04:24:20 -05:00
Denis Kenzior
025fe0a74d
telit: Update copyright
2011-06-08 04:19:56 -05:00
Bernhard Guillon
9f9bf3947e
plugins: Add initial telit UC864-G support
2011-06-08 04:19:03 -05:00
Denis Kenzior
c93d3eb129
bluetooth: Remove usage of ofono.h
2011-06-06 01:04:02 -05:00
Caiwen Zhang
00e5f0a6ca
huawei: NDIS port doesn't depend on modem port
...
When creating the NDIS gprs context, do not check the existence of the
modem port.
2011-06-02 16:02:42 -05:00
Denis Kenzior
abebab53d4
huawei: Minor tweaks to debug messages
2011-06-02 16:02:04 -05:00
Caiwen Zhang
afc894e6b4
huawei: reopen once if open device failed
...
Sometimes when we try to open the modem (PPP) device, it may fail.
If opening the tty failed, retry once one second later.
2011-06-02 15:59:03 -05:00
Denis Kenzior
d99ca1779a
bluetooth: Initialize GError properly
2011-05-31 11:41:42 -05:00
Marcel Holtmann
efebdc4ca5
bluetooth: Remove usage of unused variable
2011-05-27 10:10:04 -07:00
Marcel Holtmann
caf1071364
sierra: Remove usage of unused gprs variable
2011-05-27 10:08:59 -07:00
Marcel Holtmann
9245f6850f
huawei: Remove usage of unused netreg variable
2011-05-27 10:08:16 -07:00
Caiwen Zhang
88a16cabc7
udev: add rule for Option GTM661W modem
2011-05-25 19:39:41 -07:00
Gustavo F. Padovan
807f67d7e8
gobi: remove set but not used var
2011-05-20 15:07:31 -05:00
Gustavo F. Padovan
e312060928
udev: remove set but not used var
2011-05-20 15:06:50 -05:00
Bertrand Aygon
74d3550788
nokia-gpio: Fix memory leak
...
All dir opened with opendir must be closed with closedir
2011-05-11 13:29:33 -05:00
Bertrand Aygon
62370c5491
nokia-gpio: Fix minor style issue
2011-05-11 13:29:33 -05:00
Denis Kenzior
9c8451a1b8
phonesim: Create atoms in a different order
...
This uncovers a valgrind condition:
==17231== Invalid read of size 8
==17231== at 0x4A2461: gprs_context_unregister (gprs.c:2143)
==17231== by 0x46FEB0: __ofono_atom_unregister (modem.c:260)
==17231== by 0x4703C9: modem_change_state (modem.c:407)
==17231== by 0x470664: set_powered (modem.c:848)
==17231== by 0x4706BA: __ofono_modem_shutdown (modem.c:2137)
2011-05-11 12:11:19 -05:00
Martin Xu
eaf6f64879
huawei: Switch to offline mode only if offline
2011-04-26 14:55:55 -05:00
Martin Xu
d38fa75518
huawei: Check that the modem device is open
...
Don't create the gprs atom if the modem device was not opened
successfully. Otherwise ofonod will crash.
2011-04-26 14:51:57 -05:00
Denis Kenzior
c9250abdcf
hfp_ag: Be extra pedantic on plugin cleanup
2011-04-19 16:49:33 -05:00
Denis Kenzior
888218680d
dun_gw: Be extra pedantic on plugin cleanup
2011-04-19 16:49:12 -05:00
Denis Kenzior
a6489e6850
dun_gw: Minor style tweak
2011-04-19 16:46:54 -05:00
Denis Kenzior
a7543913f4
hfp_ag: Minor style tweak
2011-04-19 16:39:11 -05:00
Pekka Pessi
660166de74
isiusb: wait for MTC transitions, too
2011-04-19 10:09:34 +03:00
Aki Niemi
ec1c8a2ec6
plugins: Remove wgmodem2.5 driver for netreg
2011-04-12 20:39:19 +03:00
Aki Niemi
b62a01eae4
isimodem: Remove split voicecall driver
...
Only a single driver created, with two clients checked for
reachability in parallel.
2011-04-12 20:39:18 +03:00