From nobody Mon Oct 09 17:31:18 2023 X-Original-To: freebsd-hackers@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 4S45g43GjFz4x7HR for ; Mon, 9 Oct 2023 17:31:28 +0000 (UTC) (envelope-from SRS0=gi2G=FX=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 4S45g34yvKz4GFB for ; Mon, 9 Oct 2023 17:31:27 +0000 (UTC) (envelope-from SRS0=gi2G=FX=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of "SRS0=gi2G=FX=quip.cz=000.fbsd@elsa.codelab.cz" has no SPF policy when checking 94.124.105.4) smtp.mailfrom="SRS0=gi2G=FX=quip.cz=000.fbsd@elsa.codelab.cz"; dmarc=none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 25947D7894 for ; Mon, 9 Oct 2023 19:31:19 +0200 (CEST) Received: from [192.168.145.49] (ip-89-177-27-225.bb.vodafone.cz [89.177.27.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 6AB21D788A for ; Mon, 9 Oct 2023 19:31:18 +0200 (CEST) Message-ID: Date: Mon, 9 Oct 2023 19:31:18 +0200 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 To: "freebsd-hackers@freebsd.org" Content-Language: cs-Cestina From: Miroslav Lachman <000.fbsd@quip.cz> Subject: driver support for USB WiFi RTL8188GU Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: - X-Spamd-Result: default: False [-1.78 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.990]; NEURAL_HAM_LONG(-0.99)[-0.990]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=gi2G=FX=quip.cz=000.fbsd@elsa.codelab.cz]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz,SRS0=gi2G=FX=quip.cz=000.fbsd@elsa.codelab.cz]; R_SPF_NA(0.00)[no SPF record]; TO_DN_EQ_ADDR_ALL(0.00)[]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[quip.cz]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4S45g34yvKz4GFB Hi, I accidentally bought the wrong USB WiFi Realtek RTL8188GU. I thought it would have support in rtwn or rsu, since both drivers mention the number 8188, but I didn't notice that my purchased WiFi dongle has different letters at the end. Is it possible that the RTL8188GU would work with one of those drivers after some addition of identification, or is it a completely different chip and not possible to get it to work in FreeBSD? Identification of the USB WiFI dongle: # usbconfig -d ugen1.4 dump_device_desc ugen1.4: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0bda idProduct = 0x1a2b bcdDevice = 0x0200 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 I tried it with loaded modules on FreeBSD 13.2: 40 1 0xffffffff8506f000 a7c0 if_rsu.ko 41 1 0xffffffff8507a000 1feb0 rsu-rtl8712fw.ko 42 2 0xffffffff8509a000 19130 rtwn.ko 43 1 0xffffffff850b4000 e000 if_rtwn_usb.ko 44 1 0xffffffff850c2000 4ca8 rtwn-rtl8188eefw.ko 45 1 0xffffffff850c7000 5728 rtwn-rtl8188eufw.ko 46 1 0xffffffff850cd000 60a8 rtwn-rtl8192cfwE_B.ko 47 1 0xffffffff850d4000 5ac0 rtwn-rtl8192cfwE.ko 48 1 0xffffffff850da000 5fd8 rtwn-rtl8192cfwT.ko 49 1 0xffffffff850e0000 5fd8 rtwn-rtl8192cfwU.ko 50 1 0xffffffff850e6000 9d28 rtwn-rtl8192eufw.ko 51 1 0xffffffff850f0000 9e18 rtwn-rtl8812aufw.ko 52 1 0xffffffff850fa000 8d78 rtwn-rtl8821aufw.ko But it was not recognized. Kind regards Miroslav Lachman