udevng/huawei: Add support for Huawei ME906s-158
PATCH 1/1 udevng/huawei: Add support for Huawei ME906s-158
From: Arthur Gautier <[email protected]>
--- plugins/udevng.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
plugins/udevng.c +4 -1
@@ -315,6 +315,7 @@ static gboolean setup_huawei(struct modem_info *modem)g_strcmp0 (info->interface,"255/1/1" ) ==0 ||g_strcmp0 (info->interface,"255/2/1" ) ==0 ||g_strcmp0 (info->interface,"255/3/1" ) ==0 || +g_strcmp0 (info->interface,"255/6/16" ) ==0 || g_strcmp0(info->interface, "255/1/49") == 0) { mdm = info->devnode; } else if (g_strcmp0(info->label, "pcui") == 0 ||
@@ -322,6 +323,7 @@ static gboolean setup_huawei(struct modem_info *modem)g_strcmp0 (info->interface,"255/2/2" ) ==0 ||g_strcmp0 (info->interface,"255/2/18" ) ==0 ||g_strcmp0 (info->interface,"255/3/18" ) ==0 || +g_strcmp0 (info->interface,"255/6/18" ) ==0 || g_strcmp0(info->interface, "255/1/50") == 0) { pcui = info->devnode; } else if (g_strcmp0(info->label, "diag") == 0 ||
@@ -330,7 +332,8 @@ static gboolean setup_huawei(struct modem_info *modem) g_strcmp0(info->interface, "255/1/51") == 0) { diag = info->devnode; } else if (g_strcmp0(info->interface, "255/1/8") == 0 || - g_strcmp0(info->interface, "255/1/56") == 0) { + g_strcmp0(info->interface, "255/1/56") == 0 || + g_strcmp0(info->interface, "255/6/22") == 0) { net = info->devnode; } else if (g_strcmp0(info->interface, "255/1/9") == 0 || g_strcmp0(info->interface, "255/1/57") == 0) {
Signature · 1 line
2.13.3