platform/upstream/ofono.git
13 years agoudev: Add support for default driver assignments
Marcel Holtmann [Sat, 6 Aug 2011 11:08:33 +0000 (13:08 +0200)]
udev: Add support for default driver assignments

If devices are not tagged with OFONO_DRIVER, then the driver will be
figured out based on kernel module name, vendor and/or product IDs.

Of course the manual tagging with OFONO_DRIVER as part of an udev
rule can always overwrite the default assignment.

13 years agoudev: Use ID_USB_INTERFACE_NUM property instead bInterfaceNumber
Marcel Holtmann [Sat, 6 Aug 2011 11:07:37 +0000 (13:07 +0200)]
udev: Use ID_USB_INTERFACE_NUM property instead bInterfaceNumber

13 years agoudev: Prioritize labeled interfaces over discovered ones
Marcel Holtmann [Sat, 6 Aug 2011 09:02:46 +0000 (11:02 +0200)]
udev: Prioritize labeled interfaces over discovered ones

13 years agoudev: Add warning in case channel gets disconnected
Marcel Holtmann [Sat, 6 Aug 2011 08:58:59 +0000 (10:58 +0200)]
udev: Add warning in case channel gets disconnected

13 years agoudevng: Fix minor whitespace violation
Denis Kenzior [Sat, 6 Aug 2011 01:05:33 +0000 (20:05 -0500)]
udevng: Fix minor whitespace violation

13 years agoudev: Add support for cleaner modem detection
Marcel Holtmann [Sat, 6 Aug 2011 01:01:23 +0000 (03:01 +0200)]
udev: Add support for cleaner modem detection

13 years agoudev: Remove outdated modem detection support
Marcel Holtmann [Sat, 6 Aug 2011 01:00:35 +0000 (03:00 +0200)]
udev: Remove outdated modem detection support

13 years agohfpmodem: Fix g_at_chat leak
Frédéric Dalleau [Thu, 4 Aug 2011 12:48:02 +0000 (14:48 +0200)]
hfpmodem: Fix g_at_chat leak

13 years agozte: Set vendor quirk also for GPRS context atom
Marcel Holtmann [Fri, 5 Aug 2011 20:51:02 +0000 (22:51 +0200)]
zte: Set vendor quirk also for GPRS context atom

13 years agoatmodem: Add funny ZTE quirk for GPRS context support
Marcel Holtmann [Fri, 5 Aug 2011 20:50:21 +0000 (22:50 +0200)]
atmodem: Add funny ZTE quirk for GPRS context support

13 years agoudev: Fix rules for Huawei E352 dongle
Marcel Holtmann [Fri, 5 Aug 2011 17:16:59 +0000 (19:16 +0200)]
udev: Fix rules for Huawei E352 dongle

13 years agotest: update list-modem with DataStrength property
Bertrand Aygon [Fri, 5 Aug 2011 13:21:15 +0000 (15:21 +0200)]
test: update list-modem with DataStrength property

13 years agoinclude: add data strength to cdma-netreg
Bertrand Aygon [Fri, 5 Aug 2011 13:21:13 +0000 (15:21 +0200)]
include: add data strength to cdma-netreg

13 years agocdma-netreg: Add Strength property support
Bertrand Aygon [Fri, 5 Aug 2011 13:21:11 +0000 (15:21 +0200)]
cdma-netreg: Add Strength property support

13 years agoinclude: add signal reporting to cdma-netreg
Bertrand Aygon [Fri, 5 Aug 2011 13:21:10 +0000 (15:21 +0200)]
include: add signal reporting to cdma-netreg

13 years agohuaweicdmamodem: Add stub implementation
Bertrand Aygon [Fri, 5 Aug 2011 13:21:07 +0000 (15:21 +0200)]
huaweicdmamodem: Add stub implementation

13 years agocdma-netreg: implement support for Status property
Bertrand Aygon [Fri, 5 Aug 2011 13:21:06 +0000 (15:21 +0200)]
cdma-netreg: implement support for Status property

13 years agocdma-netreg: add registration status to public api
Bertrand Aygon [Fri, 5 Aug 2011 13:21:05 +0000 (15:21 +0200)]
cdma-netreg: add registration status to public api

13 years agocdma-netreg: Add initial stub implementation
Bertrand Aygon [Fri, 5 Aug 2011 13:21:02 +0000 (15:21 +0200)]
cdma-netreg: Add initial stub implementation

13 years agoinclude: Add cdma-netreg atom public api
Bertrand Aygon [Fri, 5 Aug 2011 13:21:03 +0000 (15:21 +0200)]
include: Add cdma-netreg atom public api

13 years agoudev: Add rules for Alcatel X220L devices
Marcel Holtmann [Fri, 5 Aug 2011 09:43:23 +0000 (11:43 +0200)]
udev: Add rules for Alcatel X220L devices

13 years agoatmodem: Add support for handling GPRS context vendor quirks
Marcel Holtmann [Fri, 5 Aug 2011 09:17:55 +0000 (11:17 +0200)]
atmodem: Add support for handling GPRS context vendor quirks

13 years agoudev: Add rule for 4G Systems P14 dongle
Marcel Holtmann [Fri, 5 Aug 2011 08:06:07 +0000 (10:06 +0200)]
udev: Add rule for 4G Systems P14 dongle

13 years agozte: Use AT+ZOPRT for online/offline mode changes
Marcel Holtmann [Fri, 5 Aug 2011 00:15:38 +0000 (02:15 +0200)]
zte: Use AT+ZOPRT for online/offline mode changes

The ZTE modems work a lot more reliable when using AT+ZOPRT for switching
between online and offline mode.

In addition transition to offline mode also for enabling modem and switch
device into offline first before switching it off.

13 years agozte: Set options for TTY port configuration
Marcel Holtmann [Fri, 5 Aug 2011 00:14:08 +0000 (02:14 +0200)]
zte: Set options for TTY port configuration

Seems like the ZTE modems are a bit more picky than others, so set
proper default options here. At least of the ZTE modems work a lot
more reliable this way.

13 years agodoc: fix Forwarded signal name in VoiceCallManager
Alexander Kanavin [Fri, 5 Aug 2011 11:53:58 +0000 (14:53 +0300)]
doc: fix Forwarded signal name in VoiceCallManager

13 years agogatchat: Fix minor whitespace mistake
Marcel Holtmann [Thu, 4 Aug 2011 21:54:33 +0000 (23:54 +0200)]
gatchat: Fix minor whitespace mistake

13 years agoudev: add support for Olive HSDPA modem, which seems to be a SpeedUP.
Bertrand Aygon [Thu, 4 Aug 2011 13:06:04 +0000 (15:06 +0200)]
udev: add support for Olive HSDPA modem, which seems to be a SpeedUP.

13 years agospeedup: Add support for retrieving PIN retry counters
Marcel Holtmann [Thu, 4 Aug 2011 15:00:05 +0000 (17:00 +0200)]
speedup: Add support for retrieving PIN retry counters

13 years agoudev: Switch control and modem channel for 4G Systems W14 device
Marcel Holtmann [Thu, 4 Aug 2011 14:01:45 +0000 (16:01 +0200)]
udev: Switch control and modem channel for 4G Systems W14 device

This device is rather funny with some commands and insists on sending
the response to the other channel, but not the one it got executed on.

Aux: > AT+CPNNUM\r
Modem: < \r\nPIN1=3; PUK1=10; PIN2=3; PUK2=10\r\r\nOK\r\n

13 years agospeedup: Use own vendor quirk for SIM atom
Marcel Holtmann [Thu, 4 Aug 2011 13:54:57 +0000 (15:54 +0200)]
speedup: Use own vendor quirk for SIM atom

13 years agoatmodem: Add Speedup vendor quirk to SIM file reading
Marcel Holtmann [Thu, 4 Aug 2011 13:54:26 +0000 (15:54 +0200)]
atmodem: Add Speedup vendor quirk to SIM file reading

13 years agodoc: Add missing PreferredLanguages property to SimManager
Alexander Kanavin [Thu, 4 Aug 2011 13:30:09 +0000 (16:30 +0300)]
doc: Add missing PreferredLanguages property to SimManager

13 years agohuawei: Check for AT^RFSWITCH support to determine offline command
Marcel Holtmann [Thu, 4 Aug 2011 12:01:03 +0000 (14:01 +0200)]
huawei: Check for AT^RFSWITCH support to determine offline command

Using AT+CFUN=7 (if supported) to switch into offline mode has a problem
with older modems. Sending AT+CFUN=7 with a data connection active has
the problem that it never terminates with OK or ERROR.

Devices that support AT^RFSWITCH are known to handle this properly. So
only when that command is supported, use AT+CFUN=7 for offline mode. If
it is not supported, then keep using AT+CFUN=5 to switch the device into
offline mode.

13 years agohuawei: Add TOO MANY PARAMETERS terminator
Marcel Holtmann [Thu, 4 Aug 2011 11:27:29 +0000 (13:27 +0200)]
huawei: Add TOO MANY PARAMETERS terminator

13 years agozte: Switch to offline mode first before disabling modem
Marcel Holtmann [Thu, 4 Aug 2011 00:43:06 +0000 (02:43 +0200)]
zte: Switch to offline mode first before disabling modem

13 years agozte: Blacklist the NO CARRIER terminator for control channel
Marcel Holtmann [Thu, 4 Aug 2011 00:15:56 +0000 (02:15 +0200)]
zte: Blacklist the NO CARRIER terminator for control channel

The ZTE cards will send NO CARRIER to all channels. This confuses
setting device into offline mode while still having a data connection.

13 years agoudev: For ZTE modems with 5 interfaces, use 4th one for PPP
Marcel Holtmann [Thu, 4 Aug 2011 00:14:46 +0000 (02:14 +0200)]
udev: For ZTE modems with 5 interfaces, use 4th one for PPP

13 years agoatmodem: Add support for ZTE technology reporting
Marcel Holtmann [Wed, 3 Aug 2011 22:39:29 +0000 (00:39 +0200)]
atmodem: Add support for ZTE technology reporting

13 years agozte: Request PCB information when modem gets enabled
Marcel Holtmann [Wed, 3 Aug 2011 22:07:03 +0000 (00:07 +0200)]
zte: Request PCB information when modem gets enabled

13 years agozte: Set ZTE vendor quirk for SIM atom
Marcel Holtmann [Wed, 3 Aug 2011 21:55:06 +0000 (23:55 +0200)]
zte: Set ZTE vendor quirk for SIM atom

13 years agoatmodem: Enable support for PIN retry counters of ZTE modems
Marcel Holtmann [Wed, 3 Aug 2011 21:54:39 +0000 (23:54 +0200)]
atmodem: Enable support for PIN retry counters of ZTE modems

13 years agoatmodem: Enable timezone reporting for ZTE modems
Marcel Holtmann [Wed, 3 Aug 2011 21:26:53 +0000 (23:26 +0200)]
atmodem: Enable timezone reporting for ZTE modems

13 years agoatmodem: The ZTE dongles send LAC and CI as unquoted strings
Marcel Holtmann [Wed, 3 Aug 2011 21:13:11 +0000 (23:13 +0200)]
atmodem: The ZTE dongles send LAC and CI as unquoted strings

13 years agozte: Use vendor quirk for GPRS atom
Marcel Holtmann [Wed, 3 Aug 2011 21:12:55 +0000 (23:12 +0200)]
zte: Use vendor quirk for GPRS atom

13 years agospeedup: Use vendor quirk for network registration and GPRS atoms
Marcel Holtmann [Wed, 3 Aug 2011 20:39:11 +0000 (22:39 +0200)]
speedup: Use vendor quirk for network registration and GPRS atoms

13 years agoatmodem: The Speedup dongles send LAC and CI as unquoted strings
Marcel Holtmann [Wed, 3 Aug 2011 20:37:16 +0000 (22:37 +0200)]
atmodem: The Speedup dongles send LAC and CI as unquoted strings

13 years agodunmodem: Add stub for gprs.
Mario Tokarz [Wed, 3 Aug 2011 13:04:20 +0000 (15:04 +0200)]
dunmodem: Add stub for gprs.

13 years agodevinfo: Use correct prefix for cdma
Guillaume Zajac [Wed, 3 Aug 2011 13:44:31 +0000 (15:44 +0200)]
devinfo: Use correct prefix for cdma

13 years agocdmamodem: remove an unneeded buffer and sprintf.
Bertrand Aygon [Wed, 3 Aug 2011 16:33:48 +0000 (18:33 +0200)]
cdmamodem: remove an unneeded buffer and sprintf.

13 years agodbus: Add CDMA netreg atom interface name
Bertrand Aygon [Tue, 2 Aug 2011 12:45:17 +0000 (14:45 +0200)]
dbus: Add CDMA netreg atom interface name

13 years agoudev: Add rule for 4G Systems W14 dongle
Marcel Holtmann [Wed, 3 Aug 2011 16:54:27 +0000 (18:54 +0200)]
udev: Add rule for 4G Systems W14 dongle

13 years agobluetooth: Add UUID for DUN.
Mario Tokarz [Wed, 3 Aug 2011 11:48:29 +0000 (13:48 +0200)]
bluetooth: Add UUID for DUN.

13 years agombm: Don't bother with NULL checking for SIM state query free
Marcel Holtmann [Wed, 3 Aug 2011 12:31:56 +0000 (14:31 +0200)]
mbm: Don't bother with NULL checking for SIM state query free

13 years agozte: Fix race condition with SIM state polling and removal
Marcel Holtmann [Wed, 3 Aug 2011 12:30:41 +0000 (14:30 +0200)]
zte: Fix race condition with SIM state polling and removal

13 years agospeedup: Fix race condition with SIM state polling and removal
Marcel Holtmann [Wed, 3 Aug 2011 12:29:32 +0000 (14:29 +0200)]
speedup: Fix race condition with SIM state polling and removal

13 years agoatutil: Handle empty SIM state polling request gracefully
Marcel Holtmann [Wed, 3 Aug 2011 12:27:17 +0000 (14:27 +0200)]
atutil: Handle empty SIM state polling request gracefully

13 years agohuawei: Fix race condition with enable polling
Marcel Holtmann [Wed, 3 Aug 2011 12:26:23 +0000 (14:26 +0200)]
huawei: Fix race condition with enable polling

13 years agohuawei: Fix race condition with online enable polling
Marcel Holtmann [Wed, 3 Aug 2011 12:23:21 +0000 (14:23 +0200)]
huawei: Fix race condition with online enable polling

13 years agoudev: switch ttys for SpeedUp 8000.
Bertrand Aygon [Mon, 1 Aug 2011 12:25:55 +0000 (14:25 +0200)]
udev: switch ttys for SpeedUp 8000.

On SpeedUp 8000, notifications are received only on ttyUSB1.
So we must use this tty for aux, and use ttyUSB3 for modem.

13 years agombmmodem: Set baud rate to 115200 for GPS interface
Marcel Holtmann [Fri, 29 Jul 2011 18:50:37 +0000 (20:50 +0200)]
mbmmodem: Set baud rate to 115200 for GPS interface

13 years agonovatel: Enable support for SIM phonebook
Marcel Holtmann [Fri, 29 Jul 2011 15:36:08 +0000 (17:36 +0200)]
novatel: Enable support for SIM phonebook

13 years agoatmodem: Handle SIM busy condition gracefully for phonebooks
Marcel Holtmann [Fri, 29 Jul 2011 15:33:22 +0000 (17:33 +0200)]
atmodem: Handle SIM busy condition gracefully for phonebooks

Before the phonebook is ready, the SIM card needs certain amount of
time. Something between 20-30 seconds in general. So if the modem
returns an error indicating the SIM is busy, then try again in
regular intervals.

13 years agoconnman: Fix crash due to uninitialized path
Guillaume Zajac [Fri, 29 Jul 2011 13:49:09 +0000 (15:49 +0200)]
connman: Fix crash due to uninitialized path

13 years agoconnman: Fix crash in request_reply
Guillaume Zajac [Fri, 29 Jul 2011 12:49:56 +0000 (14:49 +0200)]
connman: Fix crash in request_reply

13 years agoconnman: Fix crash in parse_reply
Guillaume Zajac [Fri, 29 Jul 2011 12:49:56 +0000 (14:49 +0200)]
connman: Fix crash in parse_reply

13 years agozte: delay the sending of &C0 after SIM is ready.
Bertrand Aygon [Fri, 29 Jul 2011 13:58:11 +0000 (15:58 +0200)]
zte: delay the sending of &C0 after SIM is ready.

13 years agoudev: add support for Olive V-ME101 HSIA modem
Bertrand Aygon [Fri, 29 Jul 2011 13:14:46 +0000 (15:14 +0200)]
udev: add support for Olive V-ME101 HSIA modem

13 years agoudev: add support for Vodafone K3570-Z modem
Bertrand Aygon [Fri, 29 Jul 2011 12:59:31 +0000 (14:59 +0200)]
udev: add support for Vodafone K3570-Z modem

13 years agohuaweicdma: Fix stale PCUI channel after hot-unplug
Marcel Holtmann [Fri, 29 Jul 2011 13:26:13 +0000 (15:26 +0200)]
huaweicdma: Fix stale PCUI channel after hot-unplug

13 years agospeedupcdma: Fix stale control channel after hot-unplug
Marcel Holtmann [Fri, 29 Jul 2011 13:25:24 +0000 (15:25 +0200)]
speedupcdma: Fix stale control channel after hot-unplug

13 years agogobi: Fix stale control channel after hot-unplug
Marcel Holtmann [Fri, 29 Jul 2011 13:24:33 +0000 (15:24 +0200)]
gobi: Fix stale control channel after hot-unplug

13 years agonokia: Fix stale control channel after hot-unplug
Marcel Holtmann [Fri, 29 Jul 2011 13:22:51 +0000 (15:22 +0200)]
nokia: Fix stale control channel after hot-unplug

13 years agonovatel: Fix stale control channel after hot-unplug
Marcel Holtmann [Fri, 29 Jul 2011 13:19:53 +0000 (15:19 +0200)]
novatel: Fix stale control channel after hot-unplug

13 years agospeedup: Fix stale control channel after hot-unplug
Marcel Holtmann [Fri, 29 Jul 2011 13:17:06 +0000 (15:17 +0200)]
speedup: Fix stale control channel after hot-unplug

13 years agozte: Fix stale control channel after hot-unplug
Marcel Holtmann [Fri, 29 Jul 2011 13:16:00 +0000 (15:16 +0200)]
zte: Fix stale control channel after hot-unplug

13 years agohuawei: Fix stale PCUI channel after hot-unplug
Marcel Holtmann [Fri, 29 Jul 2011 13:12:59 +0000 (15:12 +0200)]
huawei: Fix stale PCUI channel after hot-unplug

13 years agohuawei: Style cleanup for comments
Marcel Holtmann [Fri, 29 Jul 2011 13:14:30 +0000 (15:14 +0200)]
huawei: Style cleanup for comments

13 years agohuawei: Shutdown the modem within disable callback
Marcel Holtmann [Fri, 29 Jul 2011 12:56:41 +0000 (14:56 +0200)]
huawei: Shutdown the modem within disable callback

13 years agoudev: Add extra debug statements for device actions
Marcel Holtmann [Fri, 29 Jul 2011 12:55:56 +0000 (14:55 +0200)]
udev: Add extra debug statements for device actions

13 years agomodem: Add some more debug outputs
Marcel Holtmann [Fri, 29 Jul 2011 12:30:58 +0000 (14:30 +0200)]
modem: Add some more debug outputs

13 years agomain: Print message when starting to shutdown
Marcel Holtmann [Fri, 29 Jul 2011 12:12:18 +0000 (14:12 +0200)]
main: Print message when starting to shutdown

13 years agoudev: Report problems with the udev monitor channel
Marcel Holtmann [Fri, 29 Jul 2011 12:08:28 +0000 (14:08 +0200)]
udev: Report problems with the udev monitor channel

13 years agoatmodem: Add Huawei specific technology reporting
Marcel Holtmann [Fri, 29 Jul 2011 11:11:44 +0000 (13:11 +0200)]
atmodem: Add Huawei specific technology reporting

13 years agoatmodem: Add Huawei specific GPRS bearer notifications
Marcel Holtmann [Fri, 29 Jul 2011 11:11:17 +0000 (13:11 +0200)]
atmodem: Add Huawei specific GPRS bearer notifications

13 years agoRelease 0.53 0.53
Marcel Holtmann [Thu, 28 Jul 2011 22:32:15 +0000 (00:32 +0200)]
Release 0.53

13 years agoudev: Assign 12d1:140b to Huawei CDMA modem driver
Denis Kenzior [Thu, 28 Jul 2011 20:56:55 +0000 (22:56 +0200)]
udev: Assign 12d1:140b to Huawei CDMA modem driver

A simple Google search revealed that 12d1:140b is only used by CDMA
devices from Huawei. Mainly the EC1260 and EC126 and so just assign
the CDMA driver to it.

13 years agospeedup: delay &C0.
Bertrand Aygon [Thu, 28 Jul 2011 14:16:10 +0000 (16:16 +0200)]
speedup: delay &C0.

13 years agospeedup: remove online/offline mechanism.
Bertrand Aygon [Thu, 28 Jul 2011 14:16:09 +0000 (16:16 +0200)]
speedup: remove online/offline mechanism.

13 years agohuawei: Complete rewrite to better support state transitions
Marcel Holtmann [Thu, 28 Jul 2011 20:06:29 +0000 (22:06 +0200)]
huawei: Complete rewrite to better support state transitions

When switching from offline into online mode, the SIM card access
gets temporarily disabled by the modem firmware. To work around
this limitation poll the SIM card state.

13 years agoudev: Add support for SpeedUp 7300 EVDO modem.
Bertrand Aygon [Thu, 28 Jul 2011 12:43:34 +0000 (14:43 +0200)]
udev: Add support for SpeedUp 7300 EVDO modem.

13 years agogobi: Add support for simplified dialup mode
Marcel Holtmann [Wed, 27 Jul 2011 22:03:46 +0000 (00:03 +0200)]
gobi: Add support for simplified dialup mode

13 years agodunmodem: Add support for dialup network registration
Marcel Holtmann [Wed, 27 Jul 2011 22:02:11 +0000 (00:02 +0200)]
dunmodem: Add support for dialup network registration

13 years agonetwork: Force auto-only mode if manual registration is not supported
Marcel Holtmann [Wed, 27 Jul 2011 21:54:37 +0000 (23:54 +0200)]
network: Force auto-only mode if manual registration is not supported

If the network registration driver decides to not provide a manual
registration method, then force the mode to auto-only.

13 years agodunmodem: Add skeleton for dialup modem driver
Marcel Holtmann [Wed, 27 Jul 2011 20:13:27 +0000 (22:13 +0200)]
dunmodem: Add skeleton for dialup modem driver

13 years agospeedup: Send CFUN=4 when enabling the modem
Marcel Holtmann [Wed, 27 Jul 2011 18:45:03 +0000 (20:45 +0200)]
speedup: Send CFUN=4 when enabling the modem

13 years agozte: Use at_util's cpin polling implementation.
Bertrand Aygon [Wed, 27 Jul 2011 18:07:30 +0000 (20:07 +0200)]
zte: Use at_util's cpin polling implementation.

13 years agospeedup: Use at_util's cpin polling implementation.
Bertrand Aygon [Wed, 27 Jul 2011 16:54:09 +0000 (18:54 +0200)]
speedup: Use at_util's cpin polling implementation.

13 years agozte: Delay sending of AT&C0 to disable data carrier detect
Marcel Holtmann [Wed, 27 Jul 2011 16:02:04 +0000 (18:02 +0200)]
zte: Delay sending of AT&C0 to disable data carrier detect

The &C0 can not be send as part of the initial modem init string
since then it return with an error. Also sending it right after seems
to end up in a race condition with the modem init.

So send AT&C0 on both channel after AT+CFUN completed.

13 years agotest: add script to set credentials for cdma connection
Guillaume Zajac [Wed, 27 Jul 2011 14:19:29 +0000 (16:19 +0200)]
test: add script to set credentials for cdma connection