[PATCH 12/14] simtech,udev: simplify single vendor check

2016-07-27 Thread Aleksander Morgado
--- plugins/simtech/77-mm-simtech-port-types.rules | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/plugins/simtech/77-mm-simtech-port-types.rules b/plugins/simtech/77-mm-simtech-port-types.rules index 9956b80..a13d2c1 100644 ---

[PATCH 10/14] telit, udev: single 'usb' subsystems check and simplified single vendor check

2016-07-27 Thread Aleksander Morgado
--- plugins/telit/77-mm-telit-port-types.rules | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/plugins/telit/77-mm-telit-port-types.rules b/plugins/telit/77-mm-telit-port-types.rules index 398047c..695246c 100644 --- a/plugins/telit/77-mm-telit-port-types.rules +++

Re: Sierra Wireless EM7455

2016-07-27 Thread Aleksander Morgado
On Wed, Jul 27, 2016 at 10:29 PM, Nicolas Christener wrote: > I saw some other mails regarding the same topic but was not able to find a > solution for my problem. I got a Thinkpad T460s and run into problems with the > built in Sierra Wireless EM7455. > > I built libmbim and

[PATCH 07/14] longcheer,udev: single 'usb' subsystems check

2016-07-27 Thread Aleksander Morgado
--- plugins/longcheer/77-mm-longcheer-port-types.rules | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/longcheer/77-mm-longcheer-port-types.rules b/plugins/longcheer/77-mm-longcheer-port-types.rules index 9ad1493..895096b 100644 ---

[PATCH 13/14] zte, udev: avoid making the rules tty-only, and simplify single vendor check

2016-07-27 Thread Aleksander Morgado
The rules were matched only against devices with an exact 'tty' subsystem, and that means that we were not properly adding additional tags on e.g. wwan or cdc-wdm devices. --- plugins/zte/77-mm-zte-port-types.rules | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git

[PATCH 05/14] haier,udev: simplify single vendor check

2016-07-27 Thread Aleksander Morgado
--- plugins/haier/77-mm-haier-port-types.rules | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/plugins/haier/77-mm-haier-port-types.rules b/plugins/haier/77-mm-haier-port-types.rules index 1a1ed80..41db317 100644 --- a/plugins/haier/77-mm-haier-port-types.rules +++

[PATCH 01/14] udev: remove ENV{DEVTYPE}!="usb_device" rules

2016-07-27 Thread Aleksander Morgado
They're actually a subcase of SUBSYSTEM!="usb", which we apply just before. --- src/77-mm-usb-device-blacklist.rules | 1 - src/77-mm-usb-serial-adapters-greylist.rules | 1 - 2 files changed, 2 deletions(-) diff --git a/src/77-mm-usb-device-blacklist.rules

[PATCH 14/14] udev: simpler check for rfcomm device names

2016-07-27 Thread Aleksander Morgado
Just the same kind of match we use for cdc-wdm devices. --- src/80-mm-candidate.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/80-mm-candidate.rules b/src/80-mm-candidate.rules index 52e6882..2f95e7d 100644 --- a/src/80-mm-candidate.rules +++

[PATCH 06/14] cinterion, udev: ensure 'usb' subsystems before idVendor/idProduct rules

2016-07-27 Thread Aleksander Morgado
--- plugins/cinterion/77-mm-cinterion-port-types.rules | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/cinterion/77-mm-cinterion-port-types.rules b/plugins/cinterion/77-mm-cinterion-port-types.rules index 9e5d5f5..7afe9c7 100644 ---

[PATCH 08/14] huawei, udev: single 'usb' systems check, and per-rule vendor-specific conditions

2016-07-27 Thread Aleksander Morgado
--- plugins/huawei/77-mm-huawei-net-port-types.rules | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/plugins/huawei/77-mm-huawei-net-port-types.rules b/plugins/huawei/77-mm-huawei-net-port-types.rules index 52bcc80..12cb9f9 100644 ---

[PATCH 11/14] nokia,udev: simplify single vendor check

2016-07-27 Thread Aleksander Morgado
--- plugins/nokia/77-mm-nokia-port-types.rules | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/plugins/nokia/77-mm-nokia-port-types.rules b/plugins/nokia/77-mm-nokia-port-types.rules index 4c5340f..e9b594f 100644 --- a/plugins/nokia/77-mm-nokia-port-types.rules +++

[PATCH 09/14] mbm, udev: additional per-vendor conditions for quicker processing

2016-07-27 Thread Aleksander Morgado
--- plugins/mbm/77-mm-ericsson-mbm.rules | 32 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/plugins/mbm/77-mm-ericsson-mbm.rules b/plugins/mbm/77-mm-ericsson-mbm.rules index 3dfed02..c195a86 100644 --- a/plugins/mbm/77-mm-ericsson-mbm.rules +++

[PATCH 02/14] udev: replace ENV{ID_VENDOR_ID} conditions with ATTRS{idVendor}

2016-07-27 Thread Aleksander Morgado
--- plugins/cinterion/77-mm-cinterion-port-types.rules | 2 +- plugins/huawei/77-mm-huawei-net-port-types.rules | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/cinterion/77-mm-cinterion-port-types.rules b/plugins/cinterion/77-mm-cinterion-port-types.rules index

Consolidate udev rules

2016-07-27 Thread Aleksander Morgado
The following set of patches try to consolidate the way the different udev rules are applied in the different plugins. Most of the cases are just simplifications or redundancy check removals. This series of patches also serves as base for a follow up series that includes a custom udev rules

Sierra Wireless EM7455

2016-07-27 Thread Nicolas Christener
Hi all :) I saw some other mails regarding the same topic but was not able to find a solution for my problem. I got a Thinkpad T460s and run into problems with the built inĀ Sierra Wireless EM7455. I built libmbim and libqmi from master and rebuild ModemManger (1.6.0) which seems to pick the two

Re: Help with *-port-type.rules

2016-07-27 Thread Aleksander Morgado
On Wed, Jul 27, 2016 at 9:41 PM, matthew stanger wrote: > I'm trying to fix the GPS for the Cinterion plugin for the PLS8-X and I'm > just a little confused about the 77-mm-cinterion-port-types.rules file. I > see it sets a uDev tag based on idVendor and idProduct, of which

Help with *-port-type.rules

2016-07-27 Thread matthew stanger
I'm trying to fix the GPS for the Cinterion plugin for the PLS8-X and I'm just a little confused about the 77-mm-cinterion-port-types.rules file. I see it sets a uDev tag based on idVendor and idProduct, of which idProduct is wrong for this new modem. I'm just not quite sure where this file is

Re: [PATCH] broadband-modem/libqcdm: use signal strength from QCDM EVDO Pilot Sets log messages

2016-07-27 Thread Dan Williams
On Tue, 2016-07-26 at 17:44 +0200, Aleksander Morgado wrote: > On Tue, Jul 26, 2016 at 5:24 PM, Dan Williams > wrote: > > > > When a CDMA-only modem is registered with the EVDO network, its not > > possible to > > read signal strength in the following cases: > > > > 1) while a