From nobody Tue Feb 15 08:56:21 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 5947419C563F for ; Tue, 15 Feb 2022 08:56:39 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JyZhQ4Brpz3qkh for ; Tue, 15 Feb 2022 08:56:38 +0000 (UTC) (envelope-from hps@selasky.org) Received: from [10.36.2.165] (unknown [178.17.145.105]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 6AA0A2601F5; Tue, 15 Feb 2022 09:56:31 +0100 (CET) Message-ID: <97a0e1ee-85ec-7f78-2093-938466be0b75@selasky.org> Date: Tue, 15 Feb 2022 09:56:21 +0100 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: DLink DWM-222 revision A2 Content-Language: en-US To: Matthew Luckie , freebsd-arm@freebsd.org References: From: Hans Petter Selasky In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4JyZhQ4Brpz3qkh X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; 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:24940, ipnet:88.99.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 2/15/22 09:13, Matthew Luckie wrote: > Hi, > > I purchased a DLink DWM-222 4G LTE USB stick, which is at revision A2 > and requires new device IDs. I embed a patch below that has the new > IDs. > > Its been more than 10 years since I've done make buildworld, and I > would prefer not to buildworld -- the CPU is a low-powered Intel atom > running an i386 kernel. Can someone let me know what the minimum set > of steps I require to get a new u3g kernel module plus anything else > necessary? If I have to buildworld, let me know. > > Thanks, > > Matthew > > --- usbdevs.orig 2022-01-12 20:35:11.417935000 +1300 > +++ usbdevs 2022-02-15 20:54:11.843014000 +1300 > @@ -1749,10 +1749,12 @@ > product DLINK DWM157_2 0x7d0e DWM-157 > product DLINK DWR510 0x7e12 DWR-510 > product DLINK DWM222 0x7e35 DWM-222 > +product DLINK DWM222_2 0x7e3d DWM-222 > product DLINK DWM157_CD_2 0xa407 DWM-157 CD-ROM Mode > product DLINK DWM157_CD 0xa707 DWM-157 CD-ROM Mode > product DLINK DWR510_CD 0xa805 DWR-510 CD-ROM Mode > product DLINK DWM222_CD 0xab00 DWM-222 CD-ROM Mode > +product DLINK DWM222_CD_2 0xac01 DWM-222 CD-ROM Mode > product DLINK DSB650 0xabc1 10/100 Ethernet > product DLINK DUBH7 0xf103 DUB-H7 USB 2.0 7-Port Hub > product DLINK2 RTL8192SU_1 0x3300 RTL8192SU > --- u3g.c.orig 2022-01-12 20:35:08.878410000 +1300 > +++ u3g.c 2022-02-15 20:55:30.705116000 +1300 > @@ -242,6 +242,8 @@ > U3G_DEV(DLINK, DWM157_2, 0), > U3G_DEV(DLINK, DWM222_CD, U3GINIT_SCSIEJECT), > U3G_DEV(DLINK, DWM222, 0), > + U3G_DEV(DLINK, DWM222_CD_2, U3GINIT_SCSIEJECT), > + U3G_DEV(DLINK, DWM222_2, 0), > U3G_DEV(DLINK3, DWM652, 0), > U3G_DEV(HP, EV2200, 0), > U3G_DEV(HP, HS2300, 0), > Can you send this as an attachment to me, and I'll take it? --HPS