Skip to content

Commit

Permalink
Blacklist rtl8192cu, let mdev use 8192cu instead (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeerix authored and Mausy5043 committed Jul 22, 2017
1 parent a4cc5da commit 3daacb3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ INSTALL_MODULES="kernel/fs/btrfs/btrfs.ko"
INSTALL_MODULES="$INSTALL_MODULES kernel/drivers/scsi/sg.ko"
INSTALL_MODULES="$INSTALL_MODULES kernel/drivers/char/hw_random/bcm2835-rng.ko"
INSTALL_MODULES="$INSTALL_MODULES kernel/net/ipv6/ipv6.ko"
INSTALL_MODULES="$INSTALL_MODULES kernel/net/wireless/cfg80211.ko"

# checks if first parameter is contained in the array passed as the second parameter
# use: contains_element "search_for" "${some_array[@]}" || do_if_not_found
Expand Down
3 changes: 3 additions & 0 deletions scripts/etc/init.d/rcS
Original file line number Diff line number Diff line change
Expand Up @@ -1131,6 +1131,9 @@ fi
# will be overwritten by resolvconf when the system is rebooted
cp /etc/resolv.conf /rootfs/run/resolvconf

# copy blacklist for rtl8192cu into rootfs; use original Realtek drivers instead
cp /etc/modprobe.d/blacklist-native-rtl8192.conf /rootfs/etc/modprobe.d/

echo "OK"

# enable serial console on installed system
Expand Down
1 change: 1 addition & 0 deletions scripts/etc/modprobe.d/blacklist-native-rtl8192.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blacklist rtl8192cu

0 comments on commit 3daacb3

Please sign in to comment.