From nobody Wed Feb 16 08:30:14 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7BF7519D0B7B for ; Wed, 16 Feb 2022 08:35:53 +0000 (UTC) (envelope-from diizzy@FreeBSD.org) Received: from mslow1.mail.gandi.net (mslow1.mail.gandi.net [217.70.178.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JzBB046bjz4cd4 for ; Wed, 16 Feb 2022 08:35:52 +0000 (UTC) (envelope-from diizzy@FreeBSD.org) Received: from relay6-d.mail.gandi.net (unknown [217.70.183.198]) by mslow1.mail.gandi.net (Postfix) with ESMTP id 310AECF5CC for ; Wed, 16 Feb 2022 08:30:28 +0000 (UTC) Received: (Authenticated sender: daniel.engberg@pyret.net) by mail.gandi.net (Postfix) with ESMTPA id B5327C0004; Wed, 16 Feb 2022 08:30:14 +0000 (UTC) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Date: Wed, 16 Feb 2022 09:30:14 +0100 From: Daniel Engberg To: Freebsd Arm Cc: mjl@luckie.org.nz Subject: Re: DLink DWM-222 revision A2 Message-ID: <853205bfd60fc3ed6ad6e8a6ee2ab271@FreeBSD.org> X-Sender: diizzy@FreeBSD.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4JzBB046bjz4cd4 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=softfail (mx1.freebsd.org: 217.70.178.240 is neither permitted nor denied by domain of diizzy@FreeBSD.org) smtp.mailfrom=diizzy@FreeBSD.org X-Spamd-Result: default: False [-2.19 / 15.00]; ARC_NA(0.00)[]; FAKE_REPLY(1.00)[]; FREEFALL_USER(0.00)[diizzy]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[FreeBSD.org]; R_SPF_SOFTFAIL(0.00)[~all:c]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.992]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-arm]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[217.70.183.198:received] X-ThisMailContainsUnwantedMimeParts: N Status: O Content-Length: 796 Lines: 28 Hi, It's been a while since I played around with LTE USB sticks but I have a vauge memory of some kind of race condidion between (default) kernel modules and modem interfaces which by the way may no longer be valid. Anyhow, looking at my notes... (KERNCONF) device ucom device u3g device uether device cdce Since these are notes from an ARM SBC these lines are also present in /boot/loader.conf not sure if they (umodem) are related or not # Configure USB OTG; see usb_template(4). hw.usb.template=3 umodem_load="YES" ...and https://forums.freebsd.org/threads/4g-usb-modem.67263/page-2#post-431369 This will only work if your modem offers a CDC ECM/NCM interface and not PPP which makes your experience a lot less painful ;-) Best regards, Daniel