Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1430930ybk; Sat, 16 May 2020 11:06:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoPs9dw98V3OvirGg8V+VhAOs4deE5H2RHQ9qH3n56h+bgjMLZM08tjH0WPzwO/qWvU6z9 X-Received: by 2002:a17:906:1857:: with SMTP id w23mr8702050eje.273.1589652406389; Sat, 16 May 2020 11:06:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589652406; cv=none; d=google.com; s=arc-20160816; b=CwkLdSj2UvZ4ECbd0YV6ynA/+tY8FAYcOs2xYYeadP+wqb0DFNZ5AowT3iswhAMrzN 0u6HA9Sh33/Zm1sv8qEQiRaS4FBiMRojMwFhDSYE3gLESZM2OrYNYxqFwHR1PxnzJVOq Nr57SCGh/y+LiUqM6wwqKNukC7am6kXw8zbEBCz334ug+lshI5RXiOGfM03PHbeBXYKe w6DXafQ0e5r4lAacyjRldf7OedRgt93RJrxgbLtzDQD4n6ro+NCDxvknmRQ9JfIhZ/O9 6jABVTtVoom5x41vUbnaDNdwemZkYuOdigxGvLZ8Le2cnN/3doRl3+8A70npGOjI1Ok7 /Prg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ZRmBzgaQzO0FI7kpt2DHRV7sye7vtapRD4uHVMFzSQA=; b=Ob3RIIdJS9tpC2XWFEeSm92S0E06SH8xjgeX/5OhAkHzOBZVALtgFI42Itus2RQ/7/ ie9XHOj6poBVUI7JG9jkIhDnoOfztNDwCkXGnOzVN2AiQz3I6KAeNY/eYXhSEev+kbOa 1OCiKU/epLmZsSSxQ/r5KzbeqIygexME1MABGU0gf/PwREnAtlYvaiSvEZHNfXHG6jHH dvwvtAv/ei4FXvxAfGQxol80UMahs1Es3a/hc0srHWL7cXoGQOLaHhXybbsmbhTLY8sR EK7xSXR3AsBKaGI2a28DKXogPvTPiVkOZVWOiYt2MPOFmEKjO1hIKPmtcFB9KHv4HsDR cHcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=iyXst3Tg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x24si3788144ejc.301.2020.05.16.11.06.23; Sat, 16 May 2020 11:06:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=iyXst3Tg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726504AbgEPSED (ORCPT + 99 others); Sat, 16 May 2020 14:04:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726263AbgEPSED (ORCPT ); Sat, 16 May 2020 14:04:03 -0400 Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DAF4C061A0C for ; Sat, 16 May 2020 11:04:01 -0700 (PDT) Received: by mail-ed1-x541.google.com with SMTP id l3so4863503edq.13 for ; Sat, 16 May 2020 11:04:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZRmBzgaQzO0FI7kpt2DHRV7sye7vtapRD4uHVMFzSQA=; b=iyXst3Tg0ZkZzl5eeraYGP6hYMjMrNLReQ3q0JoxcZuVb7qq6TEZOxZaiiLfxX0WUQ Z7JC3o83hpGG24c3C8bvu3M8gIQhP0ZKIp00BQpRdjbpD5lXvr2LU9W87A07ca9lEkjL Ec/qUjpI4wifR1ofTKX8gxeUhK2LoEs3YLmR2R+pJApW3S/+Ha7NcYf/UNxyahzNOvJW aP0QArO6a2CsVHMkFu3pV7Rbe/v79jRkTS5Q8WDJI8aqDaHeApYyb7Cfhb/+wmEBvQn/ BaGHt005ooqyKNJW6OtLC6C/fWdXdDnaknqkAQC2FNUC0iT1V9WkS3ne2A+RiTdL0zGV dFiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZRmBzgaQzO0FI7kpt2DHRV7sye7vtapRD4uHVMFzSQA=; b=tko95fYY4Y4RCaPHFCnrIqKqMuPL+lf2Vb+V+CWhvmeDSVgjgaaFJjwClZCQ4/ZefO GwLbrk/xD8nC52RVwaBWG1hivM7mcnIgOm6csYXJ8BUX/wBT8FFsownpAq6aa9jsOhu/ HSXg8dkMUQ/+rz+ankjgkr9mV/OO/QkhDYiYSiddN8xcj919cjX32s1SFjs/MumVHXiQ mAoLmG1npBFvpIG5INDVBM/17H7ZfXCYTK3fDKDVXOExAe2AWXPD8dc1YFfUfemTJS04 c+SPD5OsV76OL/u9/mXF+IKglP9iNNMV6yY5dB7ZSnzYlwKz1ZThkMNHYW+rsjb855z1 dDiQ== X-Gm-Message-State: AOAM532i2dby0eH3QtCr0EyDXuSyS8We9fP1pHW0cSq0vi14Qt/Kk2XS s7VDQlX/kbSqkkz83MLKJQnLsI6hoJcmRL07C11E/34r X-Received: by 2002:aa7:d850:: with SMTP id f16mr7121658eds.365.1589652239045; Sat, 16 May 2020 11:03:59 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Martin Blumenstingl Date: Sat, 16 May 2020 20:03:48 +0200 Message-ID: Subject: Re: RTL8723BS driver doesn't work for,me but I can help testing To: Tobias Baumann <017623705678@o2online.de> Cc: hdegoede@redhat.com, Larry.Finger@lwfinger.net, gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Content-Type: multipart/mixed; boundary="00000000000006bce605a5c7c1e7" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --00000000000006bce605a5c7c1e7 Content-Type: text/plain; charset="UTF-8" Hi Tobias, On Thu, May 7, 2020 at 10:57 AM Tobias Baumann <017623705678@o2online.de> wrote: > > Hello Community > > I was referred to you by Martin. I have an older Android TV box that > runs for over 3 years with Armbian Linux (Debian Jessie Headless Kernel > 3.10.99). I'm looking forward to the new kernels and I'm glad that older > hardware is still supported. > Together with Oleg(balbes150) and Martin(xdarklight) I am testing the > new kernel 5.x for ARM ( Amlogic S812 / Meson8m2 ) . Martin has written > a patch for the SDIO controller in the last days so that also Wifi > module and MMC are recognized. I could now successfully load the driver > module RTLWIFI from the kernel. But unfortunately the card is only > listed on the desktop as "not ready" or in the terminal (iwlist) as "no > scan result". In the dmesg/lsmod RTLWIFI->RTL8723bs is loaded and the > module is loaded with version v4.3.5.5_12290.20140916_BTCOEX20140507-4E40 . > > > I would like to ask you to check the driver because even in kernel > 3.10.99 a newer version (v4.3.16_13854.20150410_BTCOEX20150119-5844) is > loaded and also at github are hard kernels ( version 2017 Kernel 4.9>) > and ap17 and thirdyouth (v5.2.17.1_26955.20180307_COEX20180201-6f52). > More recent ones can also be found - these have already been > successfully tested with Debian 10. i hope that this may solve the > problem with my Linux box. > > I would appreciate feedback on this request or information about > debugging . My Linux box is also available for testing purposes I just tried this on one of my Meson8b boards to see if it's some problem with the MMC controller driver (meson-mx-sdio). Here are my steps: - (boot the board) - ip link set up dev wlan0 - (wait until that finishes, it takes a while because it seems to load the wifi firmware) - iw dev wlan0 scan - (wait a few seconds, then it shows many 2.4GHz wifi networks) - wpa_passphrase MY_24GHz_WIFI_SSID > /tmp/wpa_supplicant_conf - (enter the passphrase and press CTRL-D) - wpa_supplicant -iwlan0 -c/tmp/wpa_supplicant.conf -Dnl80211 & - (wait a couple more seconds for it to connect) - dhcpcd wlan0 - then I ran iperf3, see the attached result - then I ran dmesg | grep -Ei "(rtl8723bs|wlan0)", see the attached result with these commands wifi is working "fine" for me. my definition of fine: it connects to my AP and traffic can flow. transfer speeds are on the low side (with 15Mbit/s and 5Mbit/s) but I have no reference (for example from a vendor kernel) so I can't say if that's to be expected. I am not sure about any "desktop" tools and their behavior because I don't use these. can you please try the steps above and attach the output of the "failing" commands (together with the dmesg output)? Best regards, Martin --00000000000006bce605a5c7c1e7 Content-Type: text/plain; charset="US-ASCII"; name="iperf3.txt" Content-Disposition: attachment; filename="iperf3.txt" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_ka9xnkgh0 IyBpcGVyZjMgLWMgMTkyLjE2OC4xLjEwMApDb25uZWN0aW5nIHRvIGhvc3QgMTkyLjE2OC4xLjEw MCwgcG9ydCA1MjAxClsgIDVdIGxvY2FsIDE5Mi4xNjguMS4xNzUgcG9ydCA1MDA4MiBjb25uZWN0 ZWQgdG8gMTkyLjE2OC4xLjEwMCBwb3J0IDUyMDEKWyBJRF0gSW50ZXJ2YWwgICAgICAgICAgIFRy YW5zZmVyICAgICBCaXRyYXRlICAgICAgICAgUmV0ciAgQ3duZApbICA1XSAgIDAuMDAtMS4wMCAg IHNlYyAgIDkyMiBLQnl0ZXMgIDcuNTUgTWJpdHMvc2VjICAgIDAgICAgMTA1IEtCeXRlcyAgICAg ICAKWyAgNV0gICAxLjAwLTIuMDEgICBzZWMgIDEuMTIgTUJ5dGVzICA5LjMyIE1iaXRzL3NlYyAg ICAwICAgID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UxIE1iaXRz L3NlYyAgICAgICAgICAgICAgICAgIApbICA1XSAgIDcuMDAtOC4wMSAgIHNlYyAgIDQ1MSBLQnl0 ZXMgIDMuNjUgTWJpdHMvc2VjICAgICAgICAgICAgICAgICAgClsgIDVdICAgOC4wMS05LjAwICAg c2VjICAgNjAxIEtCeXRlcyAgNS4wMCBNYml0cy9zZWMgICAgICAgICAgICAgICAgICAKWyAgNV0g ICA5LjAwLTEwLjAwICBzZWMgICA2MzggS0J5dGVzICA1LjIwIE1iaXRzL3NlYyAgICAgICAgICAg ICAgICAgIAotIC0gLSAtIC0gLSAtIC0gLSAtIC0gLSAtIC0gLSAtIC0gLSAtIC0gLSAtIC0gLSAt ClsgSURdIEludGVydmFsICAgICAgICAgICBUcmFuc2ZlciAgICAgQml0cmF0ZSAgICAgICAgIFJl dHIKWyAgNV0gICAwLjAwLTEwLjI3ICBzZWMgIDYuOTAgTUJ5dGVzICA1LjY0IE1iaXRzL3NlYyAg ICA4ICAgICAgICAgICAgIHNlbmRlcgpbICA1XSAgIDAuMDAtMTAuMDAgIHNlYyAgNi42MyBNQnl0 ZXMgIDUuNTYgTWJpdHMvc2VjICAgICAgICAgICAgICAgICAgcmVjZWl2ZXIKCmlwZXJmIERvbmUu CiMK --00000000000006bce605a5c7c1e7 Content-Type: text/plain; charset="US-ASCII"; name="dmesg.txt" Content-Disposition: attachment; filename="dmesg.txt" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_ka9xql2b1 WyAgICAyLjQ0MTQ4OF0gUlRMODcyM0JTOiBtb2R1bGUgaW5pdCBzdGFydApbICAgIDIuNDQyMTg1 XSBSVEw4NzIzQlM6IHJ0bDg3MjNicyB2NC4zLjUuNV8xMjI5MC4yMDE0MDkxNl9CVENPRVgyMDE0 MDUwNy00RTQwClsgICAgMi40NTExNjNdIFJUTDg3MjNCUzogcnRsODcyM2JzIEJULUNvZXggdmVy c2lvbiA9IEJUQ09FWDIwMTQwNTA3LTRFNDAKWyAgICAyLj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