aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-08-06port-probe: don't warn if requesting info which wasn't probedAleksander Morgado
2012-08-06plugin: setup a `priv' opaque pointer for the internal dataAleksander Morgado
G_TYPE_INSTANCE_GET_PRIVATE() is really slow, so try to call it as less as possible.
2012-08-06plugin: no need to have our own `GUdevClient'Aleksander Morgado
2012-08-06plugin: no need to take care of probing tasks ourselvesAleksander Morgado
2012-08-06plugin: don't provide an additional method to cancel the probingAleksander Morgado
We'll do it with a GCancellable.
2012-08-06plugin: don't use internal task list to cancel AT probing in other probesAleksander Morgado
2012-08-06port-probe-cache: removed, no longer neededAleksander Morgado
The `MMDevice' acts as port probe cache for us now, directly storing all port probes of the same device.
2012-08-06device: get vendor/product IDsAleksander Morgado
And don't do it in MMPlugin.
2012-08-06plugin: simplify interface by passing around the device and/or port objectsAleksander Morgado
2012-08-06port-probe: use dispose() to cleanup internal object referencesAleksander Morgado
2012-08-06port-probe: new method to check if there is an AT port in a list of probesAleksander Morgado
2012-08-06device: keep a list of port probes instead of just portsAleksander Morgado
2012-08-06port-probe: rename _get_port() to _peek_port() as there is no ownership transferAleksander Morgado
2012-08-06core: merge `MMPluginBase' and `MMPlugin'Aleksander Morgado
There's no real point in maintaining a separate `MMPlugin' interface, as all the plugins will inherit from `MMPluginBase', so just merge them and simplify everything.
2012-08-06plugin-base: method to get device IDs doesn't need to be publicAleksander Morgado
Given the new pre-probing filters, the IDs are no longer retrieved by the plugins.
2012-08-06plugin-manager: simplify device/port probing logicAleksander Morgado
The plugin manager no longer needs to take care of keeping track of which probes are being run and to which physical device they correspond, as the upper layer's `MMDevice' already does this. This simplifies the internal logic quite a lot, as we can now easily suggest plugins to the remaining port probes of the same device directly.
2012-08-06plugin-manager: find port support is now only an internal operationAleksander Morgado
2012-08-06plugin-manager: remove unneeded methodsAleksander Morgado
We no longer need to query the plugin manager whether we're checking support for a specific port, as the ports are now grabbed only once in the MMDevice, and therefore we ensure that supports check is launched only once in the PluginManager for that specific port. Also, we no longer need to query the plugin manager whether we're checking support for a given device, as the logic to check when all ports of the device are probed is now maintained internally.
2012-08-06plugin-manager: define a minimum probing time of 2sAleksander Morgado
Effectively, we're now letting the kernel up to 2s to show all the ports of the device, starting from the time where the first port is exposed.
2012-08-06manager: use the new method to check support of a given full deviceAleksander Morgado
2012-08-06plugin-manager: new method to check support for a given device and all its portsAleksander Morgado
The new `mm_plugin_manager_find_device_support()' will be an async method which waits for ports to be added in the given `MMDevice'. As soon as all added ports are probed, the device support check is considered finished.
2012-08-06plugin-base: don't assume a plugin will give as supported all ports of the ↵Aleksander Morgado
device E.g. the Generic plugin will give as unsupported 'net' ports found in the device, as it doesn't know how to use them.
2012-08-06device: signal grabbed/released portsAleksander Morgado
2012-08-06device: load driver being used when first port grabbedAleksander Morgado
2012-08-06device: keep sysfs path around for loggingAleksander Morgado
2012-08-06device: split `MMDevice' creation and plugin settingAleksander Morgado
We want to be able to create the MMDevice way before we have decided which plugin to use.
2012-08-06core: compile all ports before creating the modem objectAleksander Morgado
Before this, we only exported the modem to DBus when all ports were organized, in order to make sure that we select as primary port the one we really want and not the first AT port grabbed. Given that to get all the ports organized we also needed to wait to get all the ports grabbed, we can now also defer the creation of the modem object until all the ports get grabbed. This allows us to create different types of objects based on the ports available (e.g. we can now create QMI-supported modem objects if we see a QMI port around).
2012-08-02build: remove duplicate `--with-docs' switchAleksander Morgado
2012-08-02iface-modem: don't process signal/act updates if interface is shut downAleksander Morgado
When the interface is shut down the skeleton object no longer exists. Given that we're allowing this actions from outside the interface, we should be safe and don't assume that the caller knows exactly the state of the interface.
2012-08-02iface-modem: fix crashes due to removed contextBen Chan
2012-07-31bearer: set state as DISCONNECTING as soon as we cancel the connection sequenceAleksander Morgado
Just when we request to cancel the connection we need to set the bearer as being disconnected, so that we do not end up overwriting connection cancellation requests. Reported by: Thieu Le <thieule@chromium.org>
2012-07-31cli,libmm-glib: provide mm_manager_(peek|get)_proxy()Aleksander Morgado
peek() doesn't increase the reference count of the proxy object, while get() does it.
2012-07-31cli,libmm-glib: set default timeout on manager DBus proxyBen Chan
This patch fixes mmcli to set the default timeout on the manager proxy interface (MmGdbusOrgFreedesktopModemManager1) instead of MMManager itself. The later is not a GDBusProxy object.
2012-07-26iface-modem: SIM-PIN2 lock takes us to disabled state, not lockedAleksander Morgado
2012-07-26sim: getting SIM-PIN2 lock doesn't mean PIN sending failedAleksander Morgado
2012-07-25iface-modem-3gpp: fix variant ref countAleksander Morgado
2012-07-25cli: get AT command timeout directly from our default operation timeoutAleksander Morgado
We remove the `--command-timeout' option, as the AT command timeout is now directly computed from our default DBus timeout (modifiable with `--timeout').
2012-07-25libmm-glib: don't change default DBus timeout when running Modem.Command()Aleksander Morgado
Just warn if the default DBus timeout is shorter than the one being requested.
2012-07-25cli: allow modifying default DBus timeout with `--timeout'Aleksander Morgado
By default 30s will be used for every operation.
2012-07-25cli: fix showing CDMA related info in sync modeAleksander Morgado
2012-07-25cli: ensure modem is enabled when performing actionsAleksander Morgado
Don't rely on the lock status, as the modem may say it requires SIM PIN 2, but we're allowed to run most operations even with that unlock required.
2012-07-22broadband-modem: fallback to unencoded command in USSD if encoded failsAleksander Morgado
2012-07-22broadband-bearer: debug logs when disconnecting 3GPP bearerAleksander Morgado
2012-07-22broadband-modem: assume CS if 2G supportedAleksander Morgado
2012-07-22iface-modem: new async method to be run just after the successful SIM unlockAleksander Morgado
2012-07-22mm-broadband-modem: fix result completion on hex encoding errorsAleksander Morgado
2012-07-22mm-broadband-modem: fix USSD command sending, don't use cached AT repliesAleksander Morgado
2012-07-22broadband-modem: cancel pending USSD request if USSD session cancelledAleksander Morgado
2012-07-22iface-modem-3gpp-ussd: set proper initial session stateAleksander Morgado
2012-07-22iface-modem-3gpp-ussd: don't allow USSD actions if the modem is not enabledAleksander Morgado