Hi, I´m using RPI4 with LibreElec (LibreELEC (official): 10.0.0 (RPi4.arm)) and Kodi. I would like to connect it by WiFi USB Adapter AC1300. Is it possible? If yes, can you navigate me to same manual how to do it. Thaks!
RPI4 - LibreElec - AC1300 - T3U
-
pcihlar -
October 25, 2021 at 9:11 AM -
Thread is Unresolved
-
-
A WiFi USB Adapter should be plug and play: it simply works or it doesn't work.
Team LibreELEC has no WiFi USB Adapter AC1300 to verify if it works "out of the box".
-
I would like to connect it by WiFi USB Adapter AC1300. Is it possible?
It depends on the chipset. If there are drivers for that chipset in the Linux 5.11 kernel it will be supported. If there are not, it won't be. If you run "lusb | paste" from SSH and share the URL we can see what it is. NB: if the answer is "Realtek" we probably don't have the driver and have no interest in adding the driver (until the driver is upstream and we can enable support via kernel configuration, not vendor drivers).
-
Hi, I´m using RPI4 with LibreElec (LibreELEC (official): 10.0.0 (RPi4.arm)) and Kodi. I would like to connect it by WiFi USB Adapter AC1300. Is it possible? If yes, can you navigate me to same manual how to do it. Thaks!
Pretty sure this requires RTL8822BU drivers (I think I have these same USB dongles), not currently in LE 10. You have to build your own image, below is the basic patch required to libreelec-10.0 branch:
Diff
Display MoreFrom e1104fe28c020339899f6814f1ab62b25d1778fd Mon Sep 17 00:00:00 2001 From: Chad Wagner <[email protected]> Date: Mon, 14 Jun 2021 20:42:17 +0000 Subject: [PATCH] rtl8822bu: add driver --- distributions/LibreELEC/options | 2 +- packages/linux-drivers/RTL8822BU/package.mk | 29 +++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 packages/linux-drivers/RTL8822BU/package.mk diff --git a/distributions/LibreELEC/options b/distributions/LibreELEC/options index 837e38076c..605a985019 100644 --- a/distributions/LibreELEC/options +++ b/distributions/LibreELEC/options @@ -48,7 +48,7 @@ # for a list of additional drivers see packages/linux-drivers # Space separated list is supported, # e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2" - ADDITIONAL_DRIVERS="RTL8192CU RTL8192DU RTL8192EU RTL8188EU RTL8812AU" + ADDITIONAL_DRIVERS="RTL8192CU RTL8192DU RTL8192EU RTL8188EU RTL8812AU RTL8822BU" # Default size of system partition, in MB, eg. 512 SYSTEM_SIZE=512 diff --git a/packages/linux-drivers/RTL8822BU/package.mk b/packages/linux-drivers/RTL8822BU/package.mk new file mode 100644 index 0000000000..7ce0b665e6 --- /dev/null +++ b/packages/linux-drivers/RTL8822BU/package.mk @@ -0,0 +1,29 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright (C) 2009-2016 Stephan Raue ([email protected]) +# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv) + +PKG_NAME="RTL8822BU" +PKG_VERSION="24a1067268b90e977a15dd94d4674dc7c6fafa6d" +PKG_SHA256="55273add2c5a1ab292548369df8045287a6744a89eb7a67c04a09c02780dfb4b" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/morrownr/88x2bu" +PKG_URL="https://github.com/morrownr/88x2bu/archive/${PKG_VERSION}.tar.gz" +PKG_LONGDESC="Realtek RTL8822BU Linux driver" +PKG_IS_KERNEL_PKG="yes" + +pre_make_target() { + unset LDFLAGS +} + +make_target() { + make V=1 \ + ARCH=${TARGET_KERNEL_ARCH} \ + KSRC=$(kernel_path) \ + CROSS_COMPILE=${TARGET_KERNEL_PREFIX} \ + CONFIG_POWER_SAVING=n +} + +makeinstall_target() { + mkdir -p ${INSTALL}/$(get_full_module_dir)/${PKG_NAME} + cp *.ko ${INSTALL}/$(get_full_module_dir)/${PKG_NAME} +} -- 2.33.1