mirror of git://git.sysmocom.de/ofono
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:
parent
80a71f32cd
commit
1978934740
|
@ -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 ||
|
||||
|
|
Loading…
Reference in New Issue