Commit Graph
55 Commits
Author SHA1 Message Date
Aleksander Morgado 0384483121 nokia: start porting the Nokia plugin to the new codebase 2012-03-15 14:14:33 +01:00
Aleksander Morgado c345f5fe63 cinterion: re-enabled Cinterion plugin
Just dummy plugin for now.
2012-03-15 14:14:31 +01:00
Aleksander Morgado 7b687b4aae build: temporarily disable compilation of plugins 2012-03-15 14:14:21 +01:00
Aleksander Morgado 6b69605633 build: chain up new 0.6 API and link against libmm-common
Also removed the MMSerialError implementation from `src/mm-errors.[h|c]', as it
is now included in the new `include/ModemManager-errors.h' header file. All the
other enums and errors without clashing names will be ported afterwards to the
new base code.
2012-03-15 14:14:19 +01:00
Aleksander Morgado da99e8ddad build: use common CPPFLAGS and LDFLAGS for all plugins
Also include $(top_srcdir)/generated and $(top_builddir)/generated in the
common preprocessor flags.
2012-03-15 14:14:18 +01:00
Aleksander Morgado 670f560b3d iridium: add initial dummy plugin 2012-02-17 13:25:02 +01:00
Dan Williams 267b83ae27 sierra: add support for Icera based devices (USB305, AT&T Lightning) 2011-12-31 11:43:42 -06:00
Dan Williams 44194ac04d nokia: add port tags for CS-xx Internet Sticks
They appear to always want PPP to happen on interface 0, according
to the Windows .INF files.
2011-11-17 12:48:36 -06:00
Aleksander Morgado ea23851326 api: use common ModemManager.h for API, core and plugins 2011-08-19 22:54:48 +02:00
Aleksander Morgado 884ba2bb09 build: place together samsung plugin compilation options 2011-06-14 12:58:36 +02:00
Eric Shienbrood 57a14da144 build: ensure Samsung plugin includes common Icera code
Otherwise make can't find build-time dependencies.
2011-06-09 16:41:09 -05:00
Aleksander Morgado c6060e8c0f cinterion: add initial dummy plugin 2011-06-06 17:20:16 +02:00
Aleksander Morgado f91ee7af7d wavecom: add initial dummy plugin 2011-04-11 10:04:27 +02:00
Elly Jones 895aa99e6d zte: fix build dependency race with Icera utils bits (chromium-os:13398) 2011-03-24 12:22:51 -05:00
Jun Woo Lee 4ad0c01be0 modemmanager: Add support for Samsung Y3300 modem
BUG=chrome-os-partner:2394
TEST=gmerge modemmanager, watch logs, see detected as Samsung modem, connect to AT&T network

Review URL: http://codereview.chromium.org/6614026
Patch from Jun Woo Lee <jw86.lee@samsung.com>.

Change-Id: I913628ff4a1cd16c8180e3c808644b0134e69e31
2011-03-11 21:50:05 -06:00
Dan Williams f85b014d84 build: fix distcheck 2011-01-23 20:42:32 -06:00
Dan Williams af9adab9cd icera: convert to GInterface
We'll need to store some private data later for authentication, and
this makes it easier and clearer to access that private data.
2011-01-01 14:12:07 -06:00
Dan Williams f84958933b icera: move Icera utils into standalone utility library 2011-01-01 12:08:46 -06:00
Dan Williams 657e5ac7f6 zte: partially support Icera-based devices like T-Mobile Rocket 2 2010-12-31 00:30:47 -06:00
Elly Jones 245818de33 Install xml files so they can be used by cromo (chromeos modem manager)
Amended: Install the files under their proper DBus names.

Review URL: http://codereview.chromium.org/1618004
(cherry picked from commit 89f7f05f1294485fa8b44cfdd3c9b0d924d45ac1)

Conflicts:

	Makefile.am

Change-Id: I65b2b0c1b5e579bb5b1d5d5b390c3be2ae49543c
2010-12-20 12:23:41 -05:00
Amit Mendapara 067490960a linktop: add plugin for Linktop/Teracom LW273 (bgo #636438) 2010-12-08 11:05:28 -06:00
Dan Williams 79f05cbcec x22x: add simple plugin for Alcatel X220D
And possibly the X225 as well.  Can't tell much about the modem and
what commands it supports other than AT+SYSSEL for mode selection.
The driver software and connection manager for Windows/Mac OS X are
written by JRD Communication in China, which is a subsidiary of
TCT, which makes Alcatel-branded phones and data sticks.  But it
doesn't appear to be the same firmware as other Alcatel/T&A modems
like X060S and such which are supported by the Longcheer plugin.
2010-09-22 16:04:25 -05:00
Dan Williams b4d3ab014d build: use automake silent rules 2010-08-05 22:51:28 -05:00
Dan Williams 15a4592ef9 novatel: fix distcheck 2010-07-20 12:53:05 -07:00
Dan Williams 40a4a1d774 simtech: fix plugin build 2010-05-18 10:13:04 -07:00
Dan Williams 4fd85c14a1 simtech: add plugin for Simtech-based modems (like A-Link 3GU) 2010-05-17 23:18:09 -07:00
Dan Williams f0e0861aa4 longcheer: add support for access technology and allowed modes 2010-05-01 22:44:00 -07:00
Dan Williams ad9fe9da28 option: generalize common Option/HSO mode and unsolicited response handling 2010-03-16 15:50:58 -07:00
Dan Williams 7aa6d03d95 novatel: add CDMA plugin for signal quality parsing
Some Novatel devices reply with the normal units to +CSQ and it
doesn't look quite like the +CSQ reply is in dBm either; so
use the custom Novatel command for RSSI.
2010-03-12 12:13:21 -08:00
Dan Williams 19c988d92b anydata: add plugin for AnyData CDMA devices (rh #547294) 2010-01-19 13:19:55 -08:00
Dan Williams 23727a5b10 longcheer: install udev rules 2010-01-15 11:48:35 -08:00
Dan Williams 471d8a70a9 longcheer: new plugin for Longcheer (Alcatel etc) devices (bgo #606550)
Anything with vendor ID 0x1c9e really; like Alcatel X020, X030,
X060s, etc.  Longcheer appears to make the actual hardware that all
the devices with vendor ID 0x1c9e use.  You'll see it in .INF files
with "CMLONG" as part of the USB interface definition.

If the ports are not correctly detected, we need to get the driver's
.INF files to determine what the ports should be, and add them to
the udev rules file.
2010-01-15 01:37:26 -08:00
Dan Williams 942b5ff826 sierra: add CDMA device subclass and implement registration state handling 2009-10-12 10:56:53 -07:00
Dan Williams f0dc449c50 sierra: rename MMModemSierra -> MMModemSierraGsm 2009-10-11 11:39:18 -07:00
Dan Williams 81163b3032 huawei: add CDMA device subclass and implement registration state handling 2009-10-11 11:27:29 -07:00
Dan Williams 21391286fc huawei: rename MMModemHuawei -> MMModemHuaweiGsm 2009-10-11 11:19:00 -07:00
Dan Williams 52da9990ee plugins: allow plugins to more easily suggest port types
ZTE modems need to use udev rules to assign port type hints,
so generalize that and port all the plugins over to suggested
port types in the MMModem interface's grab_port() function.
2009-07-02 13:48:30 -04:00
Dan Williams ff58936f1f mbm: port to udev and new plugin API 2009-06-29 10:15:52 -04:00
Dan Williams 6077763d90 asynchronous and deferred port detection
Allow plugins to perform asynchronous port detection, and to defer port detection
until later.  This moves the prober bits into MMPluginBase so that all plugins
can take adavantage of it only when needed; the probing is not done at udev time.
Furthermore, plugins like Novatel can flip the secondary ports over the AT mode
through	deferred detection, by deferring the secondary ports until the main port
has been detected and AT$NWDMAT	has been sent.

This commit also finishes the port of the rest of the plugins (except mbm) over
to the new port detection methods and plugin API.
2009-06-28 14:05:05 -04:00
Dan Williams d5a43aa862 udev: modem port refactor; convert 'hso' to udev
Create a base MMPort class to handle both tty and net ports generically,
and move plugins over to that.  Also port the 'hso' plugin to udev.
2009-06-20 10:49:09 -04:00
Dan Williams 73e536c3c3 huawei: convert to udev and new API 2009-06-19 22:59:43 -04:00
Dan Williams 10b8674e5c gobi: add plugin for Qualcomm Gobi devices 2009-06-18 23:32:08 -04:00
Dan Williams aa8d3241e5 moto-c: add plugin for Motorola C-series phones and BUSlink SCWi275u 2009-06-18 22:48:51 -04:00
Dan Williams 924814c101 udev: move device probing and detection to udev
Get rid of dependency on HAL, using libgudev instead.  Fix up the plugin API
to no longer use either HAL or udev defines, but let plugins use whatever
mechanism they want for getting more information out of the device given the
subsystem and device node name.

Modems are now defined as "master" devices which "own" a one or more ports.
A port could be a serial tty device or a network device or whatever.  The
plugin figures out whether it supports a given port or not and then assigns
it to a new or existing modem.  Modems now have a 'valid' property that
should be set to TRUE when the modem has enough ports to operate correctly.
For devices (ex. 'hso') that use a network device for data transfer, the
modem would need to grab at least one TTY and the network device associated
with that physical device to be 'valid'.

Also move the generic modem support code to a plugin like other modem plugins,
and change the I-support-this-device mechanism to return a number indicating
the level of support.  For example, the generic plugin would return a quite
low number if the device indicates via probing that it can do GSM or CDMA, but
a more specific plugin can indicate better support for the device, and thus
the more specific plugin would win control.
2009-06-18 14:25:30 -04:00
Tambet Ingo 636fe2921c Implement a plugin for ZTE modems.
Contributed by Jesse Sung (jsung@novell.com).
2009-04-02 14:48:12 +03:00
Tambet Ingo 1ca34cfc0c Implement Nokia plugin. 2009-04-02 12:41:59 +03:00
Tambet Ingo 8750037faf Implement MMModemNovatelCdma class for Novatel CDMA devices.
Rename MMModemNovatel to MMModemNovatelGsm.
2009-03-02 10:13:54 +02:00
Tambet Ingo fd5f4222d7 Extend org.freedesktop.ModemManager.Modem interface.
* Add IpMethod property with known values ppp (default), static, DHCP.
* Rename DataDevice property to Device.
* Add GetIP4Config method. It should be implemented only when IpMethod==static.
* Update org.freedesktop.ModemManager.Modem.Gsm.Sms interface based on
  Pablo Martí Gamboa's suggestions.
* Adjust MBM and HSO interfaces to take advantage of the generic Modem
  interface.
2009-02-06 13:34:02 +02:00
Tambet Ingo 2226bb8752 Implement Novatel plugin. 2009-01-26 11:54:10 +02:00
Tambet Ingo 157da2be75 Implement plugin for Sierra Wireless modems.
For now, it only waits a bit after CFUN=1 call.
2008-11-18 13:04:21 +02:00