Aleksander Morgado
95b0863f87
build: use brackets in autoconf initialization macros
2011-04-04 21:38:22 -05:00
Aleksander Morgado
641ec51c8b
build: use LT_INIT to initialize libtool, and require at least 2.2
2011-04-04 21:38:22 -05:00
Aleksander Morgado
e68bf52bc3
build: require autoconf 2.60 and fix warnings
...
AC_GNU_SOURCE is deprecated, AC_USE_SYSTEM_EXTENSIONS (introduced in
autoconf 2.60) should be used instead.
2011-04-04 21:38:22 -05:00
Aleksander Morgado
10c981213c
build: fix automake portability warnings
2011-04-04 21:36:34 -05:00
Jason Glasgow
2dbca0baf8
core: make modem StateChanged signal consistent with API documentation
...
The new and old state arguments were flipped.
2011-03-31 15:29:12 -05:00
Dan Williams
68038cb926
samsung: fix style of samsung_call_control() name
2011-03-27 16:03:22 -05:00
Dan Williams
29b7ac3ddb
samsung: fix up disconnect
...
Two issues here, first we dont' need to chain up to the parent
because it's not doing anything we need (it's mainly for PPP-based
devices) and second we need to wait a bit for the disconnect command
to complete by specifying a callback, otherwise the command may get
discarded when the port is shut down afterward.
2011-03-27 16:01:10 -05:00
Dan Williams
4b15737f8d
samsung: streamline enable/init process
...
Don't need init retries since the modem seems pretty sane, and we
also don't need to call AT+CFUN=1 twice. Just once should be
fine. We also don't need any "flashing" since the modem doesn't
really do PPP and thus shouldn't need any of the serial port
carrier stuff to get its attention, since we'll never be using
PPP on any of its ports.
2011-03-27 15:59:27 -05:00
Dan Williams
3593094eb7
samsung: remove debug code
2011-03-27 15:47:08 -05:00
Dan Williams
7daad80242
samsung: fix access technology detection
...
Need to send the MM allowed mode back to the caller, not the
Icera mode. Simple typo in original plugin patch I think.
2011-03-27 15:45:29 -05:00
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