Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtl8723bs sdio wifi/bluetooth chip support #2422

Closed
iLeeeZi opened this issue Mar 21, 2023 · 6 comments · Fixed by #2567
Closed

rtl8723bs sdio wifi/bluetooth chip support #2422

iLeeeZi opened this issue Mar 21, 2023 · 6 comments · Fixed by #2567
Labels
board/generic-x86-64 Generic x86-64 Boards (like Intel NUC) bug

Comments

@iLeeeZi
Copy link

iLeeeZi commented Mar 21, 2023

Describe the issue you are experiencing

Realtek rtl8723bs sdio wifi/bluetooth chip seems to not be enabled on Generic x86-64. Asus Tinker Board has already support for it and the chip is used in many older intel atom powered devices like intel compute stick.

What operating system image do you use?

generic-x86-64 (Generic UEFI capable x86-64 systems)

What version of Home Assistant Operating System is installed?

10.0.dev20230317

Did you upgrade the Operating System.

Yes

Steps to reproduce the issue

Anything in the Supervisor logs that might be useful for us?

No

Anything in the Host logs that might be useful for us?

No

System information

No response

Additional information

No response

@iLeeeZi iLeeeZi added the bug label Mar 21, 2023
@agners agners added the board/generic-x86-64 Generic x86-64 Boards (like Intel NUC) label Mar 23, 2023
@agners
Copy link
Member

agners commented Mar 25, 2023

What kind of board are you using that you have SDIO on x86-64?

The driver is a staging driver, probably low quality. I'd rather prefer to not enable it unless really necessary.

@iLeeeZi
Copy link
Author

iLeeeZi commented Mar 25, 2023

I am using the motherboard from chuwi hi8 air tablet which has intel atom z8350 SoC in it. Previously it had ubuntu and wifi/bluetooth were running fine.

My goal was to have low power consumption as I run it in camper van with battery power, but I can understand if you prefer to not enable it. Usb hub with wifi and bluetooth dongles is always an option.

@iLeeeZi iLeeeZi closed this as completed May 9, 2023
@craftyguy
Copy link
Contributor

Can this be re-opened? There are a number of tablets (bay trail, cherry view, and so on) that use Wifi over SDIO. In addition to setting CONFIG_RTL8723BS, firmware from the linux-firmware project is needed too.

craftyguy added a commit to craftyguy/operating-system that referenced this issue May 30, 2023
Many x86_64 tablets (e.g. Cherry View) use SDIO WiFi modules, this
enables the driver for a common one I've come across in the wild.

This module requires firmware from the following, which are already
enabled for this platform:

  - BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX
  - BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX_BT

fixes home-assistant#2422
@agners agners reopened this May 31, 2023
@agners
Copy link
Member

agners commented May 31, 2023

We have other staging drivers enabled, so if this is popular, I am ok enabling it. Just be aware that this is a staging driver... Expect issues and failures (e.g. as we are seeing with r8188eu, see #2548).

@craftyguy
Copy link
Contributor

Ah yes, staging drivers can be problematic. I've had some success running this particular driver on another distro, so I'm hopeful that it's "fine" 😅

agners pushed a commit that referenced this issue Jun 1, 2023
Many x86_64 tablets (e.g. Cherry View) use SDIO WiFi modules, this
enables the driver for a common one I've come across in the wild.

This module requires firmware from the following, which are already
enabled for this platform:

  - BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX
  - BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX_BT

fixes #2422
agners pushed a commit that referenced this issue Jun 15, 2023
Many x86_64 tablets (e.g. Cherry View) use SDIO WiFi modules, this
enables the driver for a common one I've come across in the wild.

This module requires firmware from the following, which are already
enabled for this platform:

  - BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX
  - BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX_BT

fixes #2422
@Beanow
Copy link

Beanow commented Sep 5, 2024

Hello from the future. Just want to confirm I have indeed gotten issues with the rtl8723bs driver.

In particular it fails to reconnect to the access point after the connection fails (like if the AP is reset).
In spite of all the NM settings being proper to retry this indefinitely. It will stay down for hours and need rebooting.

Sep 05 19:11:04 your-hostname wpa_supplicant[380]: wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="SOME_SSID"
Sep 05 19:11:04 your-hostname wpa_supplicant[380]: wlan0: Trying to associate with SOME_BSSID (SSID='SOME_SSID' freq=2427 MHz)
Sep 05 19:11:04 your-hostname wpa_supplicant[380]: wlan0: Association request to the driver failed
Sep 05 19:11:04 your-hostname wpa_supplicant[380]: BSSID SOME_BSSID ignore list count incremented to 2, ignoring for 10 seconds
Sep 05 19:11:04 your-hostname wpa_supplicant[380]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="SOME_SSID" auth_failures=2 duration=20 reason=CONN_FAILED

wlan0: Association request to the driver failed 👀


It's a temporary solution for me though, as this device is just waiting for it's LAN cable to be pulled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
board/generic-x86-64 Generic x86-64 Boards (like Intel NUC) bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants