aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Jude <allanjude@FreeBSD.org>2023-03-01 14:01:19 +0000
committerAllan Jude <allanjude@FreeBSD.org>2023-03-01 14:05:24 +0000
commit71af885af9c86a900beec09d98fb9d305c303744 (patch)
tree4b8a6f04ecc8914eab80738ab68d8a767e2851b3
parent19fe14ec4c0cb6cbcf00090e93bf70d34261b15e (diff)
downloadsrc-71af885af9c86a900beec09d98fb9d305c303744.tar.gz
src-71af885af9c86a900beec09d98fb9d305c303744.zip
u3g(4): Add device ID for the Quectel EM160R
Also add the EM160R to the man page, noting the work-around required to make it function properly in PPP mode. MFC-After: 1 week Sponsored by: Metify Inc. Sponsored by: Klara Inc.
-rw-r--r--share/man/man4/u3g.410
-rw-r--r--sys/dev/usb/serial/u3g.c1
-rw-r--r--sys/dev/usb/usbdevs1
3 files changed, 12 insertions, 0 deletions
diff --git a/share/man/man4/u3g.4 b/share/man/man4/u3g.4
index b5ad77d21c39..e8990968fd7b 100644
--- a/share/man/man4/u3g.4
+++ b/share/man/man4/u3g.4
@@ -74,6 +74,8 @@ Qualcomm Inc. GOBI 1000, 2000 and 3000 devices with MDM1000 or MDM2000 chipsets
.It
QUECTEL EC25, EM05, EM12-G, EP06-E.
.It
+Quectel EM160R (see CAVEATS)
+.It
Huawei B190, E180v, E220, E3372, E3372v153, E5573Cs322, ('<Huawei Mobile>')
.It
Novatel U740, MC950D, X950D, etc.
@@ -149,6 +151,14 @@ driver was written by
and
.An Nick Hibma Aq Mt n_hibma@FreeBSD.org .
Hardware for testing was provided by AnyWi Technologies, Leiden, NL.
+.Sh CAVEATS
+The Quectel EM160R is not officially supported in PPP mode.
+In order to use it in PPP mode, the ctsrts option needs to be turned off,
+for example, by adding:
+.Dl set ctsrts off
+to
+.Pa /etc/ppp/ppp.conf
+in the correct section.
.Sh BUGS
The automatic mode switch from disk mode to modem mode does not work unless
the driver is either built into the kernel or loaded before the device is
diff --git a/sys/dev/usb/serial/u3g.c b/sys/dev/usb/serial/u3g.c
index 8bcc99d5c61d..1cdc28d93de4 100644
--- a/sys/dev/usb/serial/u3g.c
+++ b/sys/dev/usb/serial/u3g.c
@@ -517,6 +517,7 @@ static const STRUCT_USB_HOST_ID u3g_devs[] = {
U3G_DEV(QUECTEL, EM05, 0),
U3G_DEV(QUECTEL, EM12_G, 0),
U3G_DEV(QUECTEL, EP06_E, 0),
+ U3G_DEV(QUECTEL, EM160R, 0),
U3G_DEV(SIERRA, AC402, 0),
U3G_DEV(SIERRA, AC595U, 0),
U3G_DEV(SIERRA, AC313U, 0),
diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs
index 637b49d5e399..54f0a4ace3a2 100644
--- a/sys/dev/usb/usbdevs
+++ b/sys/dev/usb/usbdevs
@@ -3988,6 +3988,7 @@ product QUECTEL EC25 0x0125 LTE modem
product QUECTEL EM05 0x0127 LTE modem
product QUECTEL EP06_E 0x0306 LTE modem
product QUECTEL EM12_G 0x0512 LTE modem
+product QUECTEL EM160R 0x0620 LTE modem
/* Quickshot products */
product QUICKSHOT STRIKEPAD 0x6238 USB StrikePad