Commit Graph
857 Commits
Author SHA1 Message Date
Dan Williams 791677ca40 samsung: make a few local functions private
No need for them to be public as they aren't used anywhere else.
2011-03-27 15:41:47 -05:00
Dan Williams 9d1c02f553 samsung: clean up modem detection
Use standard vendor/device id detection mechanisms and handle the
net port like other net ports are handled, by just claiming it.  Also
reject CDMA modems for now.
2011-03-27 15:26:55 -05:00
Dan Williams 35b3e348e6 samsung: drop PORT_TYPE_ECM
Isn't really needed since it's just the same as any other net
device port type.
2011-03-27 15:23:44 -05:00
Dan Williams b76889c358 samsung: spacing, style, and build fixes
Clean up the spacing and use more consistent styling.
2011-03-27 15:18:09 -05:00
Aleksander Morgado d66bfc7b11 samsung: fix compilation 2011-03-27 15:15:58 -05:00
Dan Williams c38da2d2c1 test: add test program to send SIM PIN 2011-03-26 12:28:29 -05:00
Dan Williams 3568f534c8 api: clarify SendPin documentation 2011-03-26 12:20:46 -05:00
Elly Jones 895aa99e6d zte: fix build dependency race with Icera utils bits (chromium-os:13398) 2011-03-24 12:22:51 -05:00
Dan Williams d639155161 qcdm: add standalone autogen and configure
For building libqcdm separately from ModemManager.
2011-03-24 11:00:22 -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 0c4b94458a gsm: fix for parsing malformed Gobi CREG response
From an HP un2400;

GMR: D1020-SUUAASFA-4352  1  [Apr 14 2008 18:00:00]
GMM: 88
2011-03-11 21:36:55 -06:00
Thomas Bechtold b3b1d5309a core: allow plugins to handle custom init responses 2011-03-11 20:25:22 -06:00
Dan Williams 971600b909 policy: loosen permissions somewhat for reading device info (kde #266807) (novell #674022) 2011-03-05 00:04:58 -06:00
Michael Biebl 871097327b logging: use glong for secs and usecs 2011-02-25 18:21:52 -06:00
Dan Williams f340ce86cd cdma: ensure the ActivationStateChanged signal exists
It's part of the D-Bus API, so it needs to be implemented somewhere
even if it's not used yet.
2011-02-25 12:26:30 -06:00
Dan Williams 7707117862 log: fix spacing so messages line up 2011-02-25 11:18:55 -06:00
Dan Williams b0b9ea95cf simtech: add port tags for SCT U300 (Element Mobile) 2011-02-17 15:44:23 -06:00
Tom Bechtold 92e4127c7d core: allow platform devices without a VID/PID
Since platform devices don't usually have them.
2011-02-10 12:07:54 -06:00
Dan Williams 8f223f45f9 zte: fix handling of Icera simple connect process
Yay for GInterface.
2011-02-01 22:52:34 -06:00
Dan Williams d1f4b07e0e icera: fix username and password ordering for authentication 2011-02-01 22:48:55 -06:00
Dan Williams e208c52846 api: don't install all.xml
It's not really part of the API.
2011-02-01 21:06:23 -06:00
Dan Williams 00b6cce4df api: fix up StateChanged duplicate reason code
And add new reason codes to the C headers.
2011-01-24 14:36:24 -06:00
Dan Williams 245b893e98 logging: make gcc 4.4.3 happy about ignored unused results 2011-01-24 14:13:28 -06:00
Dan Williams 98ec26283a logging: shut up compiler warnings about unused result from write(2)
We actually don't care about the result here.  But we do in other
places, so we want to keep the warning in general.
2011-01-24 14:05:07 -06:00
Dan Williams e3de8c4a11 api: fix up modem state changed reason enum description 2011-01-24 13:57:22 -06:00
Dan Williams 2b2ca316a1 Merge remote branch 'chromium/to-upstream' 2011-01-24 13:56:40 -06:00
Dan Williams 12f1b351e8 rules: blacklist some unlikely USB serial dongles (rh #544121) 2011-01-24 12:39:13 -06:00
Dan Williams d909c4876b core: minor code cleanups 2011-01-24 00:09:55 -06:00
Dan Williams 3ee40ddbce core: add logging when ports get removed 2011-01-24 00:05:20 -06:00
Dan Williams 44c11adadc core: add mm_port_subsys_to_name() 2011-01-24 00:05:08 -06:00
Dan Williams 476cc44bc1 gsm: enable unsolicited codes on secondary ports too (bgo #637140)
We want to enable unsolicited responses on secondary ports too,
so that if the modem only sends unsolicited responses on the ports
on which they were enabled, that we can get resposnes off the
secondary port when the primary port is connected.  But we can't
always trust devices to actually send them on the secondary port,
so we enable the unsolicited responses on both the primary and
secondary ports just in case.
2011-01-23 23:36:52 -06:00
Dan Williams 6f08206ac8 core: enable timestamps with legacy --debug option 2011-01-23 23:21:58 -06:00
Dan Williams 16039244bb core: rework logging
Make it more flexible, add logging to a file, and absolute and
relative timestamps.
2011-01-23 20:51:48 -06:00
Dan Williams f85b014d84 build: fix distcheck 2011-01-23 20:42:32 -06:00
Dan Williams ef8d226301 qcdm: add some missing system modes 2011-01-23 18:14:55 -06:00
Dan Williams f69d888bae qcdm: add call manager subsystem mode define for LTE
Seen on the Pantech UML290 and another Qualcomm-based LTE device.
2011-01-21 00:31:11 -06:00
Guido Günther 7613b46b50 test: handle cancel and distinguish between initiate and respond (bgo #638038) 2011-01-14 12:56:52 -06:00
Guido Günther d44ae44558 gsm: wire up USSD Respond function (bgo #638038) 2011-01-14 12:25:05 -06:00
Guido Günther 807120996f api: add reply parameter to USSD Respond method (bgo #638038)
The network will usually send back the new sub menu to pick from.
2011-01-14 12:23:21 -06:00
Dan Williams d908389aff core: add modem reset/power-cycle command
Based on a patch by Elly Jones from Google.
2011-01-14 12:17:02 -06:00
Dan Williams 12b144e120 zte: add more ZTE port tags (LW272, others) 2011-01-12 15:30:23 -06:00
Michał Sroczyński f4d4569cdd gsm: correctly parse Samsung S8500 Wave CREG response
(testcases by dcbw)
2011-01-11 13:42:54 -06:00
Dan Williams 7a2031613a qcdm: add HDR revision preference
Not sure if that's exactly what the NV item is, but the UML290 uses
it for Rev0, RevA, and eHRPD preference.
2011-01-06 22:01:45 -06:00
Dan Williams d19e55bb8f qcdm: add NV mode pref values for 1X/HDR Only, LTE Only, and 1X/HDR/LTE Only
Based on responses from Pantech UML290.
2011-01-06 00:50:08 -06:00
Dan Williams 794353ebcc cdma: update reg state to HOME based on SPERI response
If the SPERI response indicates the home network, then set
CDMA registration to HOME if it was REGISTERED (which is
less specific).
2011-01-05 11:15:11 -06:00
Dan Williams 6c56db07fc cdma: fix segfault by handling MEID property
Also, MEID->Meid to follow standard D-Bus property semantics.
2011-01-04 17:21:41 -06:00
Dan Williams b0cd9288c2 cdma: fix CDMA registration state retrieval on single AT port devices
If the device only has one AT port that's being used for data and
thus we can't do more specific registration checking in MMGenericCdma
using AT commands, but generic registration checking was successful,
just use the less specific state.

Previously, an error would be returned when no AT port was available
even though less specific QCDM registration checking worked.  That
was just stupid.
2011-01-04 14:06:03 -06:00
Dan Williams 63cb7f29a9 huawei: quiet annoying log message 2011-01-03 14:42:44 -06:00
Dan Williams 9733746dc1 icera: add complete support for generic Icera devices
Implement connect, disconnect, and IP4 config stuff.

Also fix handling of Icera private data.  After creation we
need to use MM_MODEM_ICERA_GET_INTERFACE(m)->priv to get the
private data instead of just dereferencing the MMModemIcera,
for reasons that I don't know.  If this isn't done, data
gets silently corrupted because writes to the private data
are going into a random location in the object.  This a
side-effect of the slightly hack-ish way that MMModemIcera
is a GInterface with private data.
2011-01-01 18:11:14 -06:00
Dan Williams ceb5cc29d6 core: signal property changes for IpMethod
If the modem's IP Method changes after construction because the
modem's full capabilities were only discovered after it was created,
make sure the change notification gets emitted.
2011-01-01 17:47:40 -06:00