Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2023 14:07:59 GMT
From:      Allan Jude <allanjude@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 71af885af9c8 - main - u3g(4): Add device ID for the Quectel EM160R
Message-ID:  <202303011407.321E7xv1055374@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by allanjude:

URL: https://cgit.FreeBSD.org/src/commit/?id=71af885af9c86a900beec09d98fb9d305c303744

commit 71af885af9c86a900beec09d98fb9d305c303744
Author:     Allan Jude <allanjude@FreeBSD.org>
AuthorDate: 2023-03-01 14:01:19 +0000
Commit:     Allan Jude <allanjude@FreeBSD.org>
CommitDate: 2023-03-01 14:05:24 +0000

    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.
---
 share/man/man4/u3g.4     | 10 ++++++++++
 sys/dev/usb/serial/u3g.c |  1 +
 sys/dev/usb/usbdevs      |  1 +
 3 files changed, 12 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303011407.321E7xv1055374>