Commit Graph

5790 Commits

Author SHA1 Message Date
Aleksander Morgado
ef77e35a7f port: use a 'priv' pointer to handle the private info 2014-02-13 13:40:39 +01:00
Aleksander Morgado
3f8f88499e port-serial: use a 'priv' pointer to handle the private info 2014-02-13 13:40:36 +01:00
Aleksander Morgado
dbe13520ee port-serial-at: use a 'priv' pointer to handle the private info 2014-02-13 13:40:33 +01:00
Aleksander Morgado
e909edcf1f port-serial: use GIO Async API like method for command() 2014-02-13 13:40:30 +01:00
Aleksander Morgado
8122153a88 port-serial: use GIO Async API like method for flash() 2014-02-13 13:40:27 +01:00
Aleksander Morgado
6e35f0a888 port-serial: use GIO Async API like method for reopen() 2014-02-13 13:40:24 +01:00
Aleksander Morgado
d4dfd661b9 port-serial-at: use GIO Async API like methods 2014-02-13 13:40:21 +01:00
Aleksander Morgado
81ee07832d port-serial-qcdm: use GIO Async API like methods 2014-02-13 13:40:17 +01:00
Aleksander Morgado
1d57a008df port-serial-qcdm: remove unneeded private info 2014-02-13 13:40:14 +01:00
Aleksander Morgado
0c86840dde ports: rename 'libserial' to 'libport' 2014-02-13 13:40:11 +01:00
Aleksander Morgado
c236e18692 ports: rename 'MMMbimPort' to 'MMPortMbim' 2014-02-13 13:40:07 +01:00
Aleksander Morgado
403e013f15 ports: rename 'MMQmiPort' to 'MMPortQmi' 2014-02-13 13:40:04 +01:00
Aleksander Morgado
6f235b9948 ports: rename 'MMAtSerialPort' to 'MMPortSerialAt' 2014-02-13 13:40:01 +01:00
Aleksander Morgado
0d1602bf0f ports: rename 'MMQcdmSerialPort' to 'MMPortSerialQcdm' 2014-02-13 13:39:57 +01:00
Aleksander Morgado
e505ea0a58 ports: rename 'MMGpsSerialPort' to 'MMPortSerialGps' 2014-02-13 13:39:54 +01:00
Aleksander Morgado
9cde02111b ports: rename 'MMSerialPort' to 'MMPortSerial' 2014-02-13 13:39:51 +01:00
Aleksander Morgado
c9e2b46b21 cinterion: try to gather port type for devices with multiple tty ports
The new PHS8 or PXS8 devices may expose multiple tty ports, but only one is
supposed to be used for PPP. So, query which port that is and flag it before
grabbing it in the modem.
2014-02-13 11:56:09 +01:00
Aleksander Morgado
e60485a4aa wavecom: implement after-sim-unlock step
Just give some time to the SIM to get properly initialized, so that we avoid
errors when reloading e.g. facility lock status.
2014-02-12 17:18:24 +01:00
Ben Chan
5d2f15041b zte: allow MBIM devices 2014-02-12 09:41:19 +01:00
Arnd Hannemann
bd5cecb577 mbm: add lenovo branded ericsson ID (Lenovo N5321gw)
This device ID is used in a Lenovo Thinkpad T440s.

Link: http://forums.debian.net/viewtopic.php?f=7&t=107986&sid=4f81b9c1a8f4563f26fec24f7b65aaea&start=15

Signed-off-by: Arnd Hannemann <arnd@arndnet.de>
2014-02-11 10:10:35 +01:00
Aleksander Morgado
121fbd91e7 docs,api: fix section reference to the Messaging interface 2014-02-06 11:05:13 +01:00
Yunlian Jiang
c48b97b118 libqcdm: use NULL instead of 0 for empty pointer
When I use clang 3.5 to build it, I got

commands.c:1444:16: error: expression which evaluates to zero treated as a
null
      pointer constant of type 'QcdmResult *' (aka 'struct QcdmResult *')
      [-Werror,-Wnon-literal-null-conversion]
        return FALSE;
               ^~~~~
./utils.h:29:15: note: expanded from macro 'FALSE'
#define FALSE ((u_int8_t) 0)
              ^~~~~~~~~~~~~~
commands.c:1464:20: error: expression which evaluates to zero treated as a
null
      pointer constant of type 'QcdmResult *' (aka 'struct QcdmResult *')
      [-Werror,-Wnon-literal-null-conversion]
            return FALSE;
                   ^~~~~
./utils.h:29:15: note: expanded from macro 'FALSE'
#define FALSE ((u_int8_t) 0)
              ^~~~~~~~~~~~~~
2 errors generated.
make[3]: *** [libqcdm_la-commands.lo] Error 1
make[3]: *** Waiting for unfinished jobs....

Below is the patch that fixes it
2014-02-06 03:18:15 -06:00
Julian Oes
9447527c35 blacklist: ignore all devices from VID 0x26a, no modems from 3D Robotics 2014-02-04 12:11:59 +01:00
Aleksander Morgado
94bf076f28 docs: update email address 2014-01-30 18:03:10 +01:00
Aleksander Morgado
d81dd74452 build: post release version bump to 1.3.0 (development) 2014-01-30 17:57:11 +01:00
Aleksander Morgado
2c53c664d8 release: bump version to 1.2.0 2014-01-30 17:17:45 +01:00
Aleksander Morgado
38501a06bf mmcli: allow passing SMS index in --messaging-delete-sms 2014-01-30 13:10:54 +01:00
Aleksander Morgado
513248a2b7 mmcli: allow passing bearer index in --delete-bearer 2014-01-30 12:51:20 +01:00
Ben Chan
06d2e51bbc zte: add port type hints for the ZTE MF190 (19d2:1254) 2014-01-30 12:27:48 +01:00
Ben Chan
c28ff0d547 modem-helpers: recognize "3G" as UMTS access technology
Some modems (e.g. ZTE MF190) report UMTS access technology as "3G":

  --> 'AT+ZPAS?<CR>'
  <-- '<CR><LF>+ZPAS: "3G","CS_PS"<CR><LF><CR><LF>OK<CR><LF>'
2014-01-29 10:15:17 -06:00
Guido Günther
c5cfa2cad1 broadband-modem-qmi: Fix compilation error due to removed variable
otherwise we fail with:

CC       ModemManager-mm-broadband-modem-qmi.o
mm-broadband-modem-qmi.c: In function ‘process_gsm_info’:
mm-broadband-modem-qmi.c:4182:18: error: ‘egprs_support_valid’ undeclared (first use in this function)
                 &egprs_support_valid,  &egprs_support,
                  ^
mm-broadband-modem-qmi.c:4182:18: note: each undeclared identifier is reported only once for each function it appears in
mm-broadband-modem-qmi.c:4182:40: error: ‘egprs_support’ undeclared (first use in this function)
                 &egprs_support_valid,  &egprs_support,
2014-01-26 20:05:50 +01:00
Guido Günther
3c2800f02e broadband-modem-qmi: Fix compilation error due to variable type change
otherwise we fail with:

CC       ModemManager-mm-broadband-modem-qmi.o
mm-broadband-modem-qmi.c: In function ‘get_signal_info_ready’:
mm-broadband-modem-qmi.c:2309:5: error: passing argument 3 of ‘signal_info_get_quality’ from incompatible pointer type [-Werror]
     if (!signal_info_get_quality (ctx->self, output, &quality)) {
     ^
mm-broadband-modem-qmi.c:2236:1: note: expected ‘gint8 *’ but argument is of type ‘guint *’
 signal_info_get_quality (MMBroadbandModemQmi *self,
 ^
cc1: all warnings being treated as errors
2014-01-26 20:05:31 +01:00
Guido Günther
983c197c6b broadband-modem-qmi: Fix compilation error due to variable name change
otherwise we fail with:

CC       ModemManager-mm-broadband-modem-qmi.o
mm-broadband-modem-qmi.c: In function ‘modem_load_current_bands’:
mm-broadband-modem-qmi.c:1881:35: error: ‘ctx’ undeclared (first use in this function)
     if (qmi_client_check_version (ctx->client, 1, 19)) {
                                   ^
mm-broadband-modem-qmi.c:1881:35: note: each undeclared identifier is reported only once for each function it appears in
2014-01-26 20:05:01 +01:00
Aleksander Morgado
fdba981f8e huawei: fix leaked string 2014-01-26 19:56:58 +01:00
Aleksander Morgado
48585c250b udev: apply udev rules upon 'move' events as well
Otherwise, we may end up losing the tags we expect if the device gets a 'move'
event just after the initial 'add'.
2014-01-26 19:33:45 +01:00
Aleksander Morgado
b7adbf97a5 port-probe: the 'buffer-full' signal is only used during AT probing
Make sure we cleanup the 'buffer-full' signal handler when moving from AT
probing to QCDM probing, so that we don't try to remove a signal handler from
a QCDM port in which we haven't set it.

E.g. avoids:

ModemManager[1493]: <debug> [1390731359.108502] [mm-port-probe.c:239] mm_port_probe_set_result_qcdm(): (tty/ttyHS2) port is QCDM-capable

(ModemManager:1493): GLib-GObject-WARNING **: gsignal.c:2585: instance '0x7431b0' has no handler with id '16'
2014-01-26 11:25:06 +01:00
Aleksander Morgado
72d83898da huawei: fix some leaked 'GStrv' arrays 2014-01-26 11:01:42 +01:00
Aleksander Morgado
0cfc825e11 huawei: fix leaked 'GUdevDevice' 2014-01-26 10:55:43 +01:00
Aleksander Morgado
a282237ae5 port-probe: buffer_full_id is a signal handler, not a GSource 2014-01-25 20:56:01 +01:00
Aleksander Morgado
93108fdb60 novatel: fix leaked 'GSimpleAsyncResult' 2014-01-25 20:45:34 +01:00
Aleksander Morgado
95249239a2 sierra: fix leaked 'GStrv' with CDMA modems 2014-01-25 20:01:32 +01:00
Aleksander Morgado
529e94b039 broadband-modem: fix leaked 'QcdmResult' 2014-01-25 19:34:57 +01:00
Aleksander Morgado
561c8b715e bearer-mbim: fix leaked 'MMBearerIpConfig' objects 2014-01-24 21:26:46 +01:00
Aleksander Morgado
ae86ce1cbb bearer-mbim: fix leaked 'MMBearerProperties' 2014-01-24 21:10:28 +01:00
Aleksander Morgado
1547be5181 bearer-mbim: fix several leaked 'MbimMessage' objects
mbim_device_command_finish() returns always a new reference to the response.
2014-01-24 21:09:10 +01:00
Aleksander Morgado
26793e10d6 release: update NEWS 2014-01-24 19:15:46 +01:00
Aleksander Morgado
3914808120 zte: support for QMI-based modems
E.g. the ZTE MF190

[/dev/cdc-wdm1] QMI Device supports 4 services:
[/dev/cdc-wdm1]    ctl (1.2)
[/dev/cdc-wdm1]    wds (1.3)
[/dev/cdc-wdm1]    dms (1.2)
[/dev/cdc-wdm1]    nas (1.0)
2014-01-24 18:35:40 +01:00
Aleksander Morgado
19b0a7e28f altair-lte: add 'mm' prefix in the exported helper methods 2014-01-18 14:16:59 +01:00
Thieu Le
87f0f808bf altair-lte: set subscription state using PCO
This patch sets the subscription state using Verizon's PCO values.
2014-01-18 14:08:31 +01:00
Aleksander Morgado
afabde0f2c build: fix linker flags when building plugins
MM_LIBS was missing in PLUGIN_COMMON_LINKER_FLAGS, and replace GUDEV_LDFLAGS
with GUDEV_LIBS.
2014-01-17 11:58:18 +01:00