Fix boot delay with devices using the RTL8821CU adapter.

This commit is contained in:
fewtarius 2022-10-11 16:55:54 -04:00
parent 7d044a8d7d
commit 6fc3531e1b
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
3 changed files with 18 additions and 1 deletions

View file

@ -4,7 +4,7 @@
# Copyright (C) 2021-present Fewtarius
PKG_NAME="RTL8821CU"
PKG_VERSION="14798a1"
PKG_VERSION="4dfe0bc"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/morrownr/8821cu-20210118"
PKG_URL="${PKG_SITE}.git"

View file

@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
ACTION!="add|change", GOTO="end_modeswitch"
# Atheros Wireless / Netgear WNDA3200
ATTRS{idVendor}=="0cf3", ATTRS{idProduct}=="20ff", RUN+="/usr/bin/eject '/dev/%k'"
# Realtek RTL8821CU chipset 802.11ac NIC
# initial cdrom mode 0bda:1a2b, wlan mode 0bda:c811
# Odroid WiFi Module 5B
# initial cdrom mode 0bda:1a2b, wlan mode 0bda:c820
ATTR{idVendor}=="0bda", ATTR{idProduct}=="1a2b", RUN+="/usr/sbin/usb_modeswitch -K -v 0bda -p 1a2b"
ATTR{idVendor}=="0bda", ATTR{idProduct}=="c811", RUN+="/usr/sbin/usb_modeswitch -K -v 0bda -p c811"
LABEL="end_modeswitch"

View file

@ -40,6 +40,7 @@
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
# ADDITIONAL_DRIVERS=""
ADDITIONAL_DRIVERS="RTL8821CU"
# build and install driver addons (yes / no)
DRIVER_ADDONS_SUPPORT="no"