ulli-kroll / rtl8188fu

rtl8188fu driver for linux / rtlwifi prepare
GNU General Public License v2.0
62 stars 292 forks source link

Support Linux Kernel 5.6.x #13

Open night-wielder opened 4 years ago

akaTsunemori commented 4 years ago

Hello there, since it's being impossible to find this driver for Linux Kernel 5.6.x, I managed to get it working it by doing some workarounds, but before doing this, beware, I'm a noobie.

git clone https://github.com/kelebek333/rtl8188fu.git cd rtl8188fu

EXTRA_CFLAGS += -Wno-error=incompatible-pointer-types

sudo dkms add ./rtl8188fu sudo dkms build rtl8188fu/1.0 sudo dkms install rtl8188fu/1.0 sudo cp ./rtl8188fu/firmware/rtl8188fufw.bin /lib/firmware/rtlwifi/

sudo mkdir -p /etc/modprobe.d/ sudo touch /etc/modprobe.d/rtl8188fu.conf echo "options rtl8188fu rtw_power_mgnt=0 rtw_enusbss=0" | sudo tee /etc/modprobe.d/rtl8188fu.conf

[device] wifi.scan-rand-mac-address=no

sudo make installfw

systemctl restart NetworkManager

And the system will recognize the device and you will be able to connect. Be sure to NOT ignore any steps, as the device will be detected by the OS before you can actually connect to a network.

Note: I know I ended up cloning kelebek333's repo, and although I think it's the same one as ulli-kroll's, I'm just trying to tell you exactly what I did to get the device working.

Thanks to:

alan1984: https://github.com/ulli-kroll/rtl8188fu/issues/7#issuecomment-580399813 lwfinger: https://github.com/lwfinger/rtl8188eu

sunshinewithmoonlight commented 4 years ago

Many thanks

ulli-kroll commented 4 years ago

Sorry for delay I'm currently most time working on 802.11ac devices to get ready, for hmm something ... read rtw88-usb to get some hints ;-) fixed compile errors up to kernel version 5.8