Commit Graph

359 Commits

Author SHA1 Message Date
Marcel Holtmann a466443f55 zte: Add GPRS handling 2010-08-20 21:19:40 +02:00
Marcel Holtmann e3372f0b04 mbm: Remove registration and bearer specific notifications 2010-08-20 16:51:24 +02:00
Marcel Holtmann 9cdc303574 mbm: Enable notifications for packet switched bearer changes 2010-08-20 16:24:12 +02:00
Marcel Holtmann 132041004b mbm: Enable CFUN and EREG notifications 2010-08-20 15:45:17 +02:00
Marcel Holtmann 3251e7e234 mbm: Fix naming of MBM driver for GPRS context handling 2010-08-20 14:12:01 +02:00
Marcel Holtmann f1e8114f2a mbm: Use proper MBM quirks 2010-08-20 14:09:55 +02:00
Marcel Holtmann 607b21e7e3 ste: Use MBM quirk for network registration 2010-08-20 14:08:12 +02:00
Marcel Holtmann 26213aa1cc ste: Use MBM quirk instead of a STE specific one 2010-08-20 14:07:19 +02:00
Zhenhua Zhang 2084fffed0 udev: Add check for serial before string operation
'serial' could be NULL in some case. So it need to add check before
doing string operation.
2010-08-20 10:20:39 +02:00
Marcel Holtmann 12af4601bd nokia: Add initial plugin for Nokia Datacard support 2010-08-20 03:05:18 +02:00
Marcel Holtmann d05ea32ac2 udev: Add detection for Nokia data cards 2010-08-20 02:20:37 +02:00
Denis Kenzior 7be74dabe2 zte: Use QUALCOMM_MSM quirk for sim driver 2010-08-19 18:20:29 -05:00
Denis Kenzior 56aab76f41 huawei: Use QUALCOMM_MSM quirk for sim driver 2010-08-19 18:20:29 -05:00
Marcel Holtmann 86b58a7e43 hso: Use Qualcomm specific USSD quirk 2010-08-19 21:59:11 +02:00
Marcel Holtmann d0fdaa7f72 huawei: Add support for switching USSD mode
Some newer Huawei modems have support for ^USSDMODE command which seems
to be default to 1. In that mode the text USSD is not working. Switching
it to 0 and text USSD works just fine. Assumption is that with this command
the modem switches between text and PDU mode for USSD. Currently it is
unclear on how the PDU mode is suppose to work all. So default to text mode
if this command is supported.
2010-08-19 21:01:21 +02:00
Andrzej Zaborowski 01cb20f32d calypso: Subscribe to %SIMREM and %SIMINS
These notifications should be emitted on SIM removal and insertion.
These notifications don't work very well though, on the hardware this
has been tested on, the modem never issued %SIMINS, and %SIMREM was
emitted only in some specific circumenstances.
2010-08-18 00:29:37 -05:00
Sjur Brændeland e1cd53476a stemodem: Add polling for SIM ready status
Interim solution until support for SIM 'ready' notification is supported.
2010-08-17 14:57:31 +02:00
Sjur Brændeland 53546e6e23 plugins: Add STE sample to modem.conf 2010-08-17 14:51:31 +02:00
Sjur Brændeland 66f1f3d1d4 modemconf: Add support for Interface for STE plugin 2010-08-17 14:50:31 +02:00
Sjur Brændeland 825a2c2d66 ste: Use SOCK_STREAM for CAIF and enable interface specification 2010-08-17 14:46:01 +02:00
Sjur Brændeland e006d6db04 ste: Add Radio-Settings 2010-08-17 14:42:30 +02:00
Sjur Brændeland 9cbbf1d3ab ste: Add AT Channel configurations 2010-08-17 14:39:46 +02:00
Sjur Brændeland 266a3893a3 ste: SIM - STE registers as MBM to utilize mbm quirks 2010-08-17 14:37:58 +02:00
Denis Kenzior 47253998be phonesim: Should use none_prefix
When only OK is expected
2010-08-16 21:29:19 -05:00
Sjur Brændeland ce46fd322c ste: Include STK support from MBM driver 2010-08-16 23:57:58 +02:00
Marcel Holtmann de363a0056 zte: Use Qualcomm specific USSD quirk 2010-08-16 22:38:57 +02:00
Marcel Holtmann 7e01bef1b4 zte: Add support for sms, cbs, ussd and phonebook atoms 2010-08-16 15:28:31 +02:00
Marcel Holtmann 885880512d zte: Add initial support for devinfo, sim and netreg atoms 2010-08-16 15:16:01 +02:00
Marcel Holtmann 78a304de71 Fix typo in Huawei port detection 2010-08-16 14:49:54 +02:00
Marcel Holtmann 0a18997416 Add udev detection support for ZTE modems 2010-08-16 14:49:04 +02:00
Marcel Holtmann 3e93fbca03 Add skeleton for ZTE modem support 2010-08-16 14:48:41 +02:00
Denis Kenzior 3b34dd44f1 phonesim: Support set_online/post_online 2010-08-12 15:53:59 -05:00
Marcel Holtmann 4e9fc90e8a Use permissive parser for MBM since otherwise STK causes problems 2010-08-10 21:42:00 -04:00
Andrzej Zaborowski 29510815c5 calypso: Create STK atom and reorder initialisation
See comment in the code.  The Sim Toolkit apps seem to work rather
reliably with this, tested on both PIN-enabled and unprotected cards.
2010-08-06 12:07:12 -05:00
Andrzej Zaborowski 8f0b5a13c1 calypso: Enable AT extended error codes
The STK driver tries to interpret the codes.
2010-08-06 12:00:40 -05:00
Andrzej Zaborowski 1ba7fbd3c4 calypso: Check if SIM is present on modem startup
Like in case of MBM modem, the SIM slot is not easily accessible
while the device is running so we assume there's no need to check
for SIM presence after startup.
2010-08-06 11:55:09 -05:00
Andrzej Zaborowski 303394910f phonesim: Don't use VENDOR_PHONESIM for calypso
Also move the STK initialisation to post-sim because it is more logical
there (even if it makes no difference under phonesim).
2010-08-06 11:53:27 -05:00
João Paulo Rechi Vita f01de438bd huawei: Fix SIM state logic
Add support for voice-only SIM cards and enable phonebook atom for
non-voice modems.
2010-08-05 14:19:56 -05:00
Gustavo F. Padovan c441ca167d bluetooth: define DBUS_TIMEOUT macro 2010-08-05 10:34:38 -05:00
João Paulo Rechi Vita 4c8e084bf4 huawei: fix double include of GPRS header 2010-08-02 12:16:40 -07:00
Marcel Holtmann d2c8f957c0 Fix Huawei product ID matching in udev rules 2010-07-17 14:46:37 -07:00
Marcel Holtmann 9a72521d7b Add a little bit debug to udev modem detection 2010-07-17 14:43:29 -07:00
Pekka Pessi 99f6c920f5 mbm: poll SIM status when initializing 2010-07-15 09:18:08 -05:00
Yang Gu ce24e7b2c8 Use specific vendor for phonesim stk 2010-07-13 09:55:06 -05:00
Zhenhua Zhang bf562fd639 huawei: Add Huawei EM770 modem support
Huawei EM770W is a 3G WCDMA modem that supports HSPA/UMTS/EDGE/GPRS/GSM
data service and WCDMA/GSM short message services. It also has voice
call capability that supports both 2G and 3G network.
2010-07-02 10:40:13 -05:00
Zhenhua Zhang 7d42e4782d huawei: Remove existing Huawei EM770 plugin 2010-07-02 10:38:59 -05:00
Denis Kenzior 494ce09c49 huawei: cleanup warnings from the previous patch 2010-06-29 14:44:20 -05:00
Kalle Valo 39382730d7 huawei: reopen the GPRS context on hup
Huawei always closes the tty port after PPP disconnect. Handle this in
huawei plugin, similarly as done with novatel. Now there's no need
to unplug the modem after disconnection.

Tested with Huawei E1552.

Based on a patch by Marcel Holtmann:

commit 0329a6ceaf
Author: Marcel Holtmann <marcel@holtmann.org>
Date:   Mon Jun 7 02:36:12 2010 -0700

    Reopen the GPRS context channel when the modem closes it after PPP
2010-06-29 14:01:16 -05:00
Pekka Pessi e8965f5f8c mbm: use CPIN? to check if SIM is missing
AT+CRSM=242 is not supported by all mbm models.
2010-06-29 12:24:51 -05:00
Denis Kenzior 6f08920c1a Fix huawei udev rules 2010-06-22 09:46:25 -05:00