Commit Graph

315 Commits

Author SHA1 Message Date
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
Denis Kenzior 2f967651fb hfp: Fix style issues 2010-06-21 22:53:05 -05:00
Gustavo F. Padovan f4e1b5ca91 hfp: use bluetooth helpers and remove similar code 2010-06-21 22:49:37 -05:00
Denis Kenzior 8319eee7c0 bluetooth: Various style issues 2010-06-21 22:48:15 -05:00
Gustavo F. Padovan 922d8aed48 bluetooth: add PropertyChanged watch
This one is a bit diferent from the hfp.c one, so a separated patch for
it.
2010-06-21 22:45:50 -05:00
Gustavo F. Padovan 447162185f bluetooth: add watches for service and adapters
Exactly the same code from hfp.c
2010-06-21 22:43:38 -05:00
Gustavo F. Padovan 88ffebf801 bluetooth: add device_properties_cb() and has_uuid() 2010-06-21 22:43:08 -05:00
Gustavo F. Padovan d6154362d3 bluetooth: Move functions from hfp.c to bluetooth.c
The part that call device_properties_cb is commented to permit this patch
compile.
device_properties_cb() will be changed, so it will have separated patch.
2010-06-21 22:40:22 -05:00
Denis Kenzior c3d61c9467 history: Make example_history use Delivery Reports 2010-06-21 15:21:39 -05:00
Arun Ravindran 7aab2d07aa Enabling PDP Context support in atmodem. 2010-06-21 09:32:06 -05:00
Andrzej Zaborowski 4f72a3a1f7 mbm: Use MBM vendor quirk of the sim driver. 2010-06-18 14:14:53 -05:00
Andrzej Zaborowski 56c8033f9f mbm: Register stk driver post sim. 2010-06-18 14:11:26 -05:00
Florian Steinel a769091803 huawei: Import Huawei rules
From 10-Huawei-Datacard.rules (Linux Driver 4.08.01.108.tar.gz)
2010-06-18 12:58:07 -05:00
Denis Kenzior 02a54376c9 hfp: Use bluetooth_parse_properties
Instead of the local version
2010-06-17 05:32:29 -05:00
Denis Kenzior 6ba350cec5 bluetooth: Rename & expose parse_properties 2010-06-17 05:32:29 -05:00
Denis Kenzior cfc9722b13 hfp: Use the bluetooth_send_with_reply
Instead of send_method_call_with_reply
2010-06-17 05:32:29 -05:00
Denis Kenzior 2b2b992c22 bluetooth: Rename send_method_call_with_reply 2010-06-17 05:32:28 -05:00
Gustavo F. Padovan b611316bbe Remove send_method_call from hfp.c 2010-06-17 05:32:12 -05:00
Gustavo F. Padovan 9d543c0719 Move create_path() to bluetooth plugin 2010-06-17 05:07:05 -05:00
Gustavo F. Padovan 4ccb481f4d Add parse properties stuff to bluetooth.c 2010-06-17 05:06:55 -05:00
Gustavo F. Padovan 5bf4bec526 Add send_method_call_with_reply to bluetooth.c 2010-06-17 05:06:51 -05:00
Gustavo F. Padovan 4004433ad4 Add bluetooth plugin skeleton.
The bluetooth plugin has bluetooth_resgister_uuid() and
bluetooth_unresgister_uuid() where bluetooth profiles plugins such as HFP
and DUN can register themselves to get know about BlueZ stuff ( new
devices, bluetoothd shutdown, etc..)
2010-06-17 05:06:39 -05:00
Marcel Holtmann 74791ca805 Remove all voice related atoms from MBM modem support 2010-06-15 14:16:43 +02:00
Marcel Holtmann 66c50b6a72 Add nasty quirk to allow HSO devices to read network code length
The AT+CRSM=192 commands are failing on HSO devices and thus it might
be needed to return its details from a predefined database. Start with
testing this for reading the network code length.
2010-06-13 08:10:13 +02:00
Marcel Holtmann 6a26431f58 Use Qualcomm quirk for CBS on HSO devices 2010-06-13 07:02:55 +02:00
Marcel Holtmann 118759d5ba Enable Qualcomm specific CBS quirk for Novatel and Huawei devices 2010-06-09 18:42:09 -07:00
Denis Kenzior cc6a43c477 huawei: Rework huawei plugin
- Use the PCUI (event) port for all commands unrelated to ppp
- Use the Modem port for ppp
2010-06-07 19:07:05 -05:00
Denis Kenzior 71ea72adf2 udev: Fixup Huawei detection 2010-06-07 19:04:36 -05:00
Florian Steinel 5c0bdac347 udev: Add support for Huawei E176 2010-06-07 16:08:29 -05:00
Marcel Holtmann 0329a6ceaf Reopen the GPRS context channel when the modem closes it after PPP 2010-06-07 02:36:12 -07:00
Marcel Holtmann edc33cfdb3 Use event channel for SMS, CBS and USSD with Huawei devices 2010-06-06 18:22:03 -07:00
Marcel Holtmann d990308c69 Enable CBS and USSD for Huawei modems 2010-06-06 15:52:02 -07:00
Marcel Holtmann 6ab0b6f29a Fix detection of Huawei E220 and E270 modems 2010-06-06 15:51:36 -07:00
Marcel Holtmann f1c209d973 Move AT_ODO quirk into HSO driver instead of network registration 2010-06-06 15:27:34 -07:00
Marcel Holtmann 360abb0f5b Use hsomodem instead of hso for Option HSO GPRS atom driver 2010-06-06 15:20:48 -07:00
Marcel Holtmann 8a96a250f0 Enable Option specific radio settings 2010-06-06 15:19:32 -07:00
Marcel Holtmann fabf28cf02 Set Novatel quirk also for the GPRS atom 2010-06-06 13:13:02 -07:00
Marcel Holtmann 197d2c08bd Check the supported technologies for Novatel devices on startup 2010-06-06 12:05:10 -07:00
Marcel Holtmann 63d1efdf7f Enable Novatel specific radio settings 2010-06-06 11:08:41 -07:00
Marcel Holtmann 4f4565b33a Add disconnect callback handling to Novatel plugin 2010-06-05 22:37:02 -07:00
Marcel Holtmann e92040671d Use secondary port for everything besides GPRS with Novatel devices
If a Novatel device allows to enable a secondary AT command based
channel, then use that for device information, SIM handling, network
registration etc. and only leave the GPRS context setup to the first
command port.
2010-06-04 21:12:09 -07:00
Marcel Holtmann f6d252cf04 Rename Novatel ports into Primary and Secondary 2010-06-04 19:38:05 -07:00
Marcel Holtmann 78cc0e8efa Enable CBS and USSD for Option HSO based devices 2010-06-04 13:01:32 -07:00
Marcel Holtmann 372a2e306e Add Option specific SMS quirk since ack pdu is broken 2010-06-03 18:16:01 -07:00
Marcel Holtmann 2eec57da65 Enable USSD and CBS support for Novatel based devices 2010-06-03 09:56:42 -07:00