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 Signed-off-by: Frédéric Dalleau <[email protected]> --- plugins/udevng.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/udevng.c b/plugins/udevng.c index 607e381..1a85246 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 || -- 2.7.4 _______________________________________________ ofono mailing list [email protected] https://lists.ofono.org/mailman/listinfo/ofono
