From 1978934740c6e17457b9bfda830b8b82cf1f168d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Dalleau?= Date: Thu, 29 Sep 2016 09:52:57 +0200 Subject: [PATCH] udevng: Detect huawei E3372 pcui The huawei E3372 exposes two USB tty at /dev/ttyUSB0 and /dev/ttyUSB1 /dev/ttyUSB1 is properly detected as modem. /dev/ttyUSB0 is the pcui. lsusb shows 12d1:1506 Huawei Technologies Co., Ltd. Modem/Networkcard --- plugins/udevng.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/udevng.c b/plugins/udevng.c index 607e3815..1a85246b 100644 --- a/plugins/udevng.c +++ b/plugins/udevng.c @@ -330,6 +330,7 @@ static gboolean setup_huawei(struct modem_info *modem) } else if (g_strcmp0(info->label, "pcui") == 0 || g_strcmp0(info->interface, "255/1/2") == 0 || g_strcmp0(info->interface, "255/2/2") == 0 || + g_strcmp0(info->interface, "255/2/18") == 0 || g_strcmp0(info->interface, "255/1/50") == 0) { pcui = info->devnode; } else if (g_strcmp0(info->label, "diag") == 0 ||