Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-08-06 | port-probe: don't warn if requesting info which wasn't probed | Aleksander Morgado | |
2012-08-06 | plugin: setup a `priv' opaque pointer for the internal data | Aleksander Morgado | |
G_TYPE_INSTANCE_GET_PRIVATE() is really slow, so try to call it as less as possible. | |||
2012-08-06 | plugin: no need to have our own `GUdevClient' | Aleksander Morgado | |
2012-08-06 | plugin: no need to take care of probing tasks ourselves | Aleksander Morgado | |
2012-08-06 | plugin: don't provide an additional method to cancel the probing | Aleksander Morgado | |
We'll do it with a GCancellable. | |||
2012-08-06 | plugin: don't use internal task list to cancel AT probing in other probes | Aleksander Morgado | |
2012-08-06 | port-probe-cache: removed, no longer needed | Aleksander Morgado | |
The `MMDevice' acts as port probe cache for us now, directly storing all port probes of the same device. | |||
2012-08-06 | device: get vendor/product IDs | Aleksander Morgado | |
And don't do it in MMPlugin. | |||
2012-08-06 | plugin: simplify interface by passing around the device and/or port objects | Aleksander Morgado | |
2012-08-06 | port-probe: use dispose() to cleanup internal object references | Aleksander Morgado | |
2012-08-06 | port-probe: new method to check if there is an AT port in a list of probes | Aleksander Morgado | |
2012-08-06 | device: keep a list of port probes instead of just ports | Aleksander Morgado | |
2012-08-06 | port-probe: rename _get_port() to _peek_port() as there is no ownership transfer | Aleksander Morgado | |
2012-08-06 | core: 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-06 | plugin-base: method to get device IDs doesn't need to be public | Aleksander Morgado | |
Given the new pre-probing filters, the IDs are no longer retrieved by the plugins. | |||
2012-08-06 | plugin-manager: simplify device/port probing logic | Aleksander 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-06 | plugin-manager: find port support is now only an internal operation | Aleksander Morgado | |
2012-08-06 | plugin-manager: remove unneeded methods | Aleksander 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-06 | plugin-manager: define a minimum probing time of 2s | Aleksander 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-06 | manager: use the new method to check support of a given full device | Aleksander Morgado | |
2012-08-06 | plugin-manager: new method to check support for a given device and all its ports | Aleksander 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-06 | plugin-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-06 | device: signal grabbed/released ports | Aleksander Morgado | |
2012-08-06 | device: load driver being used when first port grabbed | Aleksander Morgado | |
2012-08-06 | device: keep sysfs path around for logging | Aleksander Morgado | |
2012-08-06 | device: split `MMDevice' creation and plugin setting | Aleksander Morgado | |
We want to be able to create the MMDevice way before we have decided which plugin to use. | |||
2012-08-06 | core: compile all ports before creating the modem object | Aleksander 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-02 | build: remove duplicate `--with-docs' switch | Aleksander Morgado | |
2012-08-02 | iface-modem: don't process signal/act updates if interface is shut down | Aleksander 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-02 | iface-modem: fix crashes due to removed context | Ben Chan | |
2012-07-31 | bearer: set state as DISCONNECTING as soon as we cancel the connection sequence | Aleksander 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-31 | cli,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-31 | cli,libmm-glib: set default timeout on manager DBus proxy | Ben 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-26 | iface-modem: SIM-PIN2 lock takes us to disabled state, not locked | Aleksander Morgado | |
2012-07-26 | sim: getting SIM-PIN2 lock doesn't mean PIN sending failed | Aleksander Morgado | |
2012-07-25 | iface-modem-3gpp: fix variant ref count | Aleksander Morgado | |
2012-07-25 | cli: get AT command timeout directly from our default operation timeout | Aleksander 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-25 | libmm-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-25 | cli: allow modifying default DBus timeout with `--timeout' | Aleksander Morgado | |
By default 30s will be used for every operation. | |||
2012-07-25 | cli: fix showing CDMA related info in sync mode | Aleksander Morgado | |
2012-07-25 | cli: ensure modem is enabled when performing actions | Aleksander 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-22 | broadband-modem: fallback to unencoded command in USSD if encoded fails | Aleksander Morgado | |
2012-07-22 | broadband-bearer: debug logs when disconnecting 3GPP bearer | Aleksander Morgado | |
2012-07-22 | broadband-modem: assume CS if 2G supported | Aleksander Morgado | |
2012-07-22 | iface-modem: new async method to be run just after the successful SIM unlock | Aleksander Morgado | |
2012-07-22 | mm-broadband-modem: fix result completion on hex encoding errors | Aleksander Morgado | |
2012-07-22 | mm-broadband-modem: fix USSD command sending, don't use cached AT replies | Aleksander Morgado | |
2012-07-22 | broadband-modem: cancel pending USSD request if USSD session cancelled | Aleksander Morgado | |
2012-07-22 | iface-modem-3gpp-ussd: set proper initial session state | Aleksander Morgado | |
2012-07-22 | iface-modem-3gpp-ussd: don't allow USSD actions if the modem is not enabled | Aleksander Morgado | |