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
This commit is contained in:
Frédéric Dalleau 2016-09-29 09:52:57 +02:00 committed by Denis Kenzior
parent 80a71f32cd
commit 1978934740
1 changed files with 1 additions and 0 deletions

View File

@ -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 ||