ulli-kroll / rtl8188fu

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

Unstable connection #17

Open Master811129 opened 3 years ago

Master811129 commented 3 years ago

I can install the driver I can search and connect to a wifi routor but the connection is so unstable the driver becomes unusable after a bit of time.

bwh1969 commented 3 years ago

I have the same problem with this on march 2, 2021 and I have been fighing with this for weeks. As soon as there is a demand placed on it, it disconnects then reconnects. Raspberry Pi. It shows a strong signal. Power management is disabled. it seems to get worse over time. Not really usable. Works fine plugged into a Windows 10 machine.

This is placed in /etc/modprobe.d/rtl8188fu.conf options rtl8188fu rtw_power_mgnt=0 rtw_enusbss=0

Nothing is better with or without those module options. It seriously is giving me a big "fu"

jorge-barroso commented 3 years ago

This has been forked and it's been updated on https://github.com/kelebek333/rtl8188fu

I still have the same issues you have reported though

Master811129 commented 2 years ago

@kelebek333 fork is not working anymore with the new 5.15 kernel. It seems that the both developers have abandoned the project. Unfortunately for now there is no way to make 8188fu to work on Linux.

kelebek333 commented 2 years ago

@kelebek333 fork is not working anymore with the new 5.15 kernel. It seems that the both developers have abandoned the project. Unfortunately for now there is no way to make 8188fu to work on Linux.

It can working with up to linux 5.15. https://github.com/kelebek333/rtl8188fu/commit/b9002a2effa52bda37074ef9f3387585e376efc6

Master811129 commented 2 years ago

@kelebek333 it hasn't worked for me on arch Linux kernel 5.15.11 for months!

kelebek333 commented 2 years ago

If you installed from AUR, remove it and install manually from github source.

First, install prerequirement packages ; kernel-headers, bc, dkms, git . Then, you can install with following commands.

git clone https://github.com/kelebek333/rtl8188fu
sudo dkms install ./rtl8188fu
sudo cp ./rtl8188fu/firmware/rtl8188fufw.bin /lib/firmware/rtlwifi/
Master811129 commented 2 years ago

@kelebek333 it does't work at all. I installed the driver from the source using the instructions and i can confirm by running.

     ]$ uname -r 
     5.15.11-arch2-1

     ]$dkms status
     nvidia/495.46, 5.15.11-arch2-1, x86_64: installedDeprecated feature: REMAKE_INITRD
     rtl8188fu/1.0, 5.15.11-arch2-1, x86_64: installedDeprecated feature: REMAKE_INITRD

     ]$ ls /lib/firmware/rtlwifi/ | grep 8188fufw
     rtl8188fufw.bin

I only can turn on or off and thats it. the dongle does't scan for wifi AP.

kelebek333 commented 2 years ago

Now, I removed deprecated REMAKE_INITRD feature on dkms.conf file.

You can post outputs of following commands.

dmesg | egrep -i "RTL871X|rtl8188"
journalctl -b -u NetworkManager -l --no-pager
Master811129 commented 2 years ago

@kelebek333 I removed the driver completely and installed again from the source still it is not working. REMAKE_INITRD is now gone.

]$ dkms status
nvidia/495.46, 5.15.11-arch2-1, x86_64: installed
rtl8188fu/1.0, 5.15.11-arch2-1, x86_64: installed

I burned Ubuntu budgie 21.04 on a USB stick and installed the driver on that, the driver worked normally. so I can confirm:

here is the output from Arch (Kernel 5.15):

]$ dmesg | egrep -i "RTL871X|rtl8188"
journalctl -b -u NetworkManager -l --no-pager
dmesg: read kernel buffer failed: Operation not permitted
-- Journal begins at Fri 2021-11-05 16:26:38 +0330, ends at Sat 2021-12-25 20:55:47 +0330. --
Dec 25 20:48:41 ArchLinuxMachine systemd[1]: Starting Network Manager...
Dec 25 20:48:41 ArchLinuxMachine NetworkManager[385]: <info>  [1640452721.9411] NetworkManager (version 1.32.12-2) is starting... (for the first time)
Dec 25 20:48:41 ArchLinuxMachine NetworkManager[385]: <info>  [1640452721.9412] Read config: /etc/NetworkManager/NetworkManager.conf (lib: 20-connectivity.conf) (etc: disable-random-mac.conf)
Dec 25 20:48:41 ArchLinuxMachine systemd[1]: Started Network Manager.
Dec 25 20:48:41 ArchLinuxMachine NetworkManager[385]: <info>  [1640452721.9512] bus-manager: acquired D-Bus service "org.freedesktop.NetworkManager"
Dec 25 20:48:41 ArchLinuxMachine NetworkManager[385]: <info>  [1640452721.9540] manager[0x55f1926a2050]: monitoring kernel firmware directory '/lib/firmware'.
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.0468] hostname: hostname: using hostnamed
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.0468] hostname: hostname changed from (none) to "ArchLinuxMachine"
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.0470] dns-mgr[0x55f192683250]: init: dns=default,systemd-resolved rc-manager=symlink
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.0776] manager[0x55f1926a2050]: rfkill: Wi-Fi hardware radio set enabled
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.0776] manager[0x55f1926a2050]: rfkill: WWAN hardware radio set enabled
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.0817] Loaded device plugin: NMAtmManager (/usr/lib/NetworkManager/1.32.12-2/libnm-device-plugin-adsl.so)
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.0828] Loaded device plugin: NMWifiFactory (/usr/lib/NetworkManager/1.32.12-2/libnm-device-plugin-wifi.so)
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.0900] Loaded device plugin: NMTeamFactory (/usr/lib/NetworkManager/1.32.12-2/libnm-device-plugin-team.so)
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.0944] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/1.32.12-2/libnm-device-plugin-bluetooth.so)
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.0951] Loaded device plugin: NMOvsFactory (/usr/lib/NetworkManager/1.32.12-2/libnm-device-plugin-ovs.so)
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.0960] Loaded device plugin: NMWwanFactory (/usr/lib/NetworkManager/1.32.12-2/libnm-device-plugin-wwan.so)
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.0963] manager: rfkill: Wi-Fi enabled by radio killswitch; enabled by state file
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.0964] manager: rfkill: WWAN enabled by radio killswitch; enabled by state file
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.0964] manager: Networking is enabled by state file
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.0970] dhcp-init: Using DHCP client 'internal'
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.0975] settings: Loaded settings plugin: keyfile (internal)
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.1046] device (lo): carrier: link connected
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.1049] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1)
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.1060] manager: (enp2s0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.1066] device (enp2s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.3349] ovsdb: Could not connect: No such file or directory
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.3349] ovsdb: disconnected from ovsdb
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.3442] manager: (usb0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/3)
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.3448] device (usb0): interface index 3 renamed iface from 'usb0' to 'enp0s20f0u2'
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.3461] device (enp0s20f0u2): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.3471] device (enp0s20f0u2): carrier: link connected
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.3478] device (enp0s20f0u2): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.3483] policy: auto-activating connection 'Wired connection 1' (0813dea5-ced5-39ed-9275-21e5cd5bf309)
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.3486] device (enp0s20f0u2): Activation: starting connection 'Wired connection 1' (0813dea5-ced5-39ed-9275-21e5cd5bf309)
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.3487] device (enp0s20f0u2): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.3489] manager: NetworkManager state is now CONNECTING
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.3490] device (enp0s20f0u2): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.4594] device (enp0s20f0u2): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.4597] dhcp4 (enp0s20f0u2): activation: beginning transaction (timeout in 45 seconds)
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.4660] dhcp4 (enp0s20f0u2): state changed unknown -> expire
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.4734] dhcp4 (enp0s20f0u2): state changed expire -> bound, address=192.168.132.144
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.4741] device (enp0s20f0u2): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.4757] device (enp0s20f0u2): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.4758] device (enp0s20f0u2): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.4761] manager: NetworkManager state is now CONNECTED_LOCAL
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.4763] manager: NetworkManager state is now CONNECTED_SITE
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.4764] policy: set 'Wired connection 1' (enp0s20f0u2) as default for IPv4 routing and DNS
Dec 25 20:48:42 ArchLinuxMachine NetworkManager[385]: <info>  [1640452722.4807] device (enp0s20f0u2): Activation: successful, device activated.
Dec 25 20:48:43 ArchLinuxMachine NetworkManager[385]: <info>  [1640452723.0836] manager: NetworkManager state is now CONNECTED_GLOBAL
Dec 25 20:48:48 ArchLinuxMachine NetworkManager[385]: <info>  [1640452728.3320] manager: startup complete
Dec 25 20:48:49 ArchLinuxMachine NetworkManager[385]: <info>  [1640452729.8050] agent-manager: agent[e166800823c8e23e,:1.22/org.kde.plasma.networkmanagement/1000]: agent registered
Dec 25 20:48:56 ArchLinuxMachine NetworkManager[385]: <info>  [1640452736.3498] wifi-wext: (wlan0): driver supports SSID scans (scan_capa 0x3F).
Dec 25 20:48:56 ArchLinuxMachine NetworkManager[385]: <info>  [1640452736.3498] wifi-wext: (wlan0): using WEXT for Wi-Fi device control
Dec 25 20:48:56 ArchLinuxMachine NetworkManager[385]: <info>  [1640452736.3503] manager: (wlan0): new 802.11 Wi-Fi device (/org/freedesktop/NetworkManager/Devices/4)
Dec 25 20:48:56 ArchLinuxMachine NetworkManager[385]: <info>  [1640452736.3896] device (wlan0): interface index 4 renamed iface from 'wlan0' to 'wlp0s20f0u1'
Dec 25 20:48:56 ArchLinuxMachine NetworkManager[385]: <info>  [1640452736.3941] device (wlp0s20f0u1): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Dec 25 20:48:56 ArchLinuxMachine NetworkManager[385]: <warn>  [1640452736.4515] platform-linux: do-change-link[4]: failure changing link: failure 1 (Operation not permitted)
Dec 25 20:48:56 ArchLinuxMachine NetworkManager[385]: <error> [1640452736.5399] device (wlp0s20f0u1): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Dec 25 20:49:07 ArchLinuxMachine NetworkManager[385]: <warn>  [1640452747.1643] device (wlp0s20f0u1): re-acquiring supplicant interface (#1).
Dec 25 20:49:07 ArchLinuxMachine NetworkManager[385]: <error> [1640452747.2183] device (wlp0s20f0u1): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Dec 25 20:49:17 ArchLinuxMachine NetworkManager[385]: <warn>  [1640452757.1629] device (wlp0s20f0u1): re-acquiring supplicant interface (#2).
Dec 25 20:49:17 ArchLinuxMachine NetworkManager[385]: <error> [1640452757.2167] device (wlp0s20f0u1): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Dec 25 20:49:27 ArchLinuxMachine NetworkManager[385]: <warn>  [1640452767.1638] device (wlp0s20f0u1): re-acquiring supplicant interface (#3).
Dec 25 20:49:27 ArchLinuxMachine NetworkManager[385]: <error> [1640452767.2183] device (wlp0s20f0u1): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Dec 25 20:49:37 ArchLinuxMachine NetworkManager[385]: <warn>  [1640452777.1711] device (wlp0s20f0u1): re-acquiring supplicant interface (#4).
Dec 25 20:49:37 ArchLinuxMachine NetworkManager[385]: <error> [1640452777.2281] device (wlp0s20f0u1): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Dec 25 20:49:47 ArchLinuxMachine NetworkManager[385]: <warn>  [1640452787.1710] device (wlp0s20f0u1): re-acquiring supplicant interface (#5).
Dec 25 20:49:47 ArchLinuxMachine NetworkManager[385]: <error> [1640452787.2252] device (wlp0s20f0u1): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Dec 25 20:49:47 ArchLinuxMachine NetworkManager[385]: <info>  [1640452787.2252] device (wlp0s20f0u1): supplicant interface keeps failing, giving up
kelebek333 commented 2 years ago
dmesg | egrep -i "RTL871X|rtl8188"
dmesg: read kernel buffer failed: Operation not permitted

Try with sudo.

sudo dmesg | egrep -i "RTL871X|rtl8188"


Dec 25 20:48:56 ArchLinuxMachine NetworkManager[385]: <info>  [1640452736.3498] wifi-wext: (wlan0): driver supports SSID scans (scan_capa 0x3F).
Dec 25 20:48:56 ArchLinuxMachine NetworkManager[385]: <info>  [1640452736.3498] wifi-wext: (wlan0): using WEXT for Wi-Fi device control
Dec 25 20:48:56 ArchLinuxMachine NetworkManager[385]: <info>  [1640452736.3503] manager: (wlan0): new 802.11 Wi-Fi device (/org/freedesktop/NetworkManager/Devices/4)
Dec 25 20:48:56 ArchLinuxMachine NetworkManager[385]: <info>  [1640452736.3896] device (wlan0): interface index 4 renamed iface from 'wlan0' to 'wlp0s20f0u1'
Dec 25 20:48:56 ArchLinuxMachine NetworkManager[385]: <info>  [1640452736.3941] device (wlp0s20f0u1): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Dec 25 20:48:56 ArchLinuxMachine NetworkManager[385]: <warn>  [1640452736.4515] platform-linux: do-change-link[4]: failure changing link: failure 1 (Operation not permitted)
Dec 25 20:48:56 ArchLinuxMachine NetworkManager[385]: <error> [1640452736.5399] device (wlp0s20f0u1): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Dec 25 20:49:07 ArchLinuxMachine NetworkManager[385]: <warn>  [1640452747.1643] device (wlp0s20f0u1): re-acquiring supplicant interface (#1).
Dec 25 20:49:07 ArchLinuxMachine NetworkManager[385]: <error> [1640452747.2183] device (wlp0s20f0u1): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Dec 25 20:49:17 ArchLinuxMachine NetworkManager[385]: <warn>  [1640452757.1629] device (wlp0s20f0u1): re-acquiring supplicant interface (#2).
Dec 25 20:49:17 ArchLinuxMachine NetworkManager[385]: <error> [1640452757.2167] device (wlp0s20f0u1): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Dec 25 20:49:27 ArchLinuxMachine NetworkManager[385]: <warn>  [1640452767.1638] device (wlp0s20f0u1): re-acquiring supplicant interface (#3).
Dec 25 20:49:27 ArchLinuxMachine NetworkManager[385]: <error> [1640452767.2183] device (wlp0s20f0u1): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Dec 25 20:49:37 ArchLinuxMachine NetworkManager[385]: <warn>  [1640452777.1711] device (wlp0s20f0u1): re-acquiring supplicant interface (#4).
Dec 25 20:49:37 ArchLinuxMachine NetworkManager[385]: <error> [1640452777.2281] device (wlp0s20f0u1): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Dec 25 20:49:47 ArchLinuxMachine NetworkManager[385]: <warn>  [1640452787.1710] device (wlp0s20f0u1): re-acquiring supplicant interface (#5).
Dec 25 20:49:47 ArchLinuxMachine NetworkManager[385]: <error> [1640452787.2252] device (wlp0s20f0u1): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Dec 25 20:49:47 ArchLinuxMachine NetworkManager[385]: <info>  [1640452787.2252] device (wlp0s20f0u1): supplicant interface keeps failing, giving up

The issue may not be related to rtl8188fu driver. Nevertheless, try the following commands.

sudo modprobe -r rtl8188fu

sudo modprobe rtw_power_mgnt=0 rtw_enusbss=0 rtw_ips_mode=0
ulli-kroll commented 2 years ago

talking with specific DISTRO versions aka Ubuntu 21.04 or debian whatever is pointless

I use buildroot https://buildroot.org/ for testing. For rtl8188fu on x86_64 and armv5 platforms.

Currently with v5.15

Both things I must debug. Currently stripping down or remove unneeded parts which is not needed for STA mode.

Master811129 commented 2 years ago

@kelebek333 here is the command with sudo

]$ sudo dmesg | egrep -i "RTL871X|rtl8188"
[   17.211828] RTL871X: module init start
[   17.211829] RTL871X: rtl8188fu v4.3.23.6_20964.20170110
[   17.211866] usbcore: registered new interface driver rtl8188fu
[   17.211867] RTL871X: module init ret=0
[11404.455384] RTL871X: module exit start
[11404.455384] usbcore: deregistering interface driver rtl8188fu
[11404.455413] RTL871X: module exit success
[11439.636561] RTL871X: module init start
[11439.636562] RTL871X: rtl8188fu v4.3.23.6_20964.20170110
[11439.636596] usbcore: registered new interface driver rtl8188fu
[11439.636597] RTL871X: module init ret=0

I ran these commands but the issue still persists

]$ sudo modprobe -r rtl8188fu
]$ sudo modprobe rtw_power_mgnt=0 rtw_enusbss=0 rtw_ips_mode=0
modprobe: FATAL: Module rtw_power_mgnt=0 not found in directory /lib/modules/5.15.11-arch2-1
ulli-kroll commented 2 years ago

last command is wrong you missed the module name, hence rtl8188fu $ sudo modprobe rtl8188fu rtw_power_mgnt=0 rtw_enusbss=0 rtw_ips_mode=0

I will permanently disable power management, after I fixed my bugs in my test setup which is currently buildroot 2021.11 and kernel v5.15

kelebek333 commented 2 years ago

@ulli-kroll is right. Last command has been faulty, I am sorry about that, try thats.

sudo modprobe -r rtl8188fu
sudo modprobe rtl8188fu rtw_power_mgnt=0 rtw_enusbss=0 rtw_ips_mode=0
Master811129 commented 2 years ago

@kelebek333 I entered the followings but issue is still here. I also restarted NetworkManager service and unplug/replug the dongle but I can't scan. Thank you @ulli-kroll

kelebek333 commented 2 years ago

Can you post outputs of following command? Maybe, there is a conflict with updated r8188eu module in kernel 5.15.x. lsmod | grep 8188

Refence => https://github.com/ammarfaizi2/linux-fork/commit/6723b283c44a3fdf9f922ae9788aab38bd909211

ulli-kroll commented 2 years ago

FWIW I think there was some (major) memory allocation failures. detected a few minutes ago, while refactoring the code.

Still not tested the driver, tough ...

@all modinfo r8188eu | grep -i usb: or modinfo r8188eu | grep -i f179

is your friend

Master811129 commented 2 years ago

@kelebek333 Here:

]$ lsmod | grep 8188

rtl8188fu            2646016  0
cfg80211             1073152  1 rtl8188fu
r8188eu               798720  0
Master811129 commented 2 years ago

@ulli-kroll I currently do not have your driver. here is the kelebek333's one

]$ modinfo r8188eu | grep -i usb:
alias:          usb:v7392pB811d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p18F0d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2C4Ep0102d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p0111d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p010Cd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v056Ep4008d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p331Bd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3311d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3310d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p330Fd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0DF6p0076d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v07B8p8179d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDApF179d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp0179d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp8179d*dc*dsc*dp*ic*isc*ip*in*
]$ modinfo r8188eu | grep -i f179
alias:          usb:v0BDApF179d*dc*dsc*dp*ic*isc*ip*in*
kelebek333 commented 2 years ago

@kelebek333 Here:

]$ lsmod | grep 8188

**rtl8188fu**            2646016  0
cfg80211             1073152  1 rtl8188fu
**r8188eu**               798720  0

Try to add r8188eu module to blacklist with following command and then reboot. I guess, the issue at Linux 5.15 is due to module conflict.

echo 'blacklist r8188eu' | sudo tee /etc/modprobe.d/r8188eu-blacklist.conf

@ulli-kroll I currently do not have your driver. here is the kelebek333's one

It doesn't matter, the two driver source are actually same.

Master811129 commented 2 years ago

Thank you @kelebek333 ITS NOW WORKING AGAIN. please add this line to README.md so people can actually use the driver again. BTW, can I open issue about your driver on this repo? if no so please add an issue section to your own repo. See you, till 5.16 😉

kelebek333 commented 2 years ago

Not at all.

My repo is just a fork, because of this I have closed issue section. I will re-open issue section on my fork.

Can you try to add alies line to the configuration file with following command, instead of blacklist line? I can update the README file accordingly.

echo 'alias usb:v0BDApF179d*dc*dsc*dp*icFFiscFFipFFin* rtl8188fu' | sudo tee /etc/modprobe.d/r8188eu-blacklist.conf

Then reboot.

Master811129 commented 2 years ago

I will re-open issue section on my fork.

That would be great if you do it.

I ran this command in rebooted the system. the WiFi is still going well.

]$ cat /etc/modprobe.d/r8188eu-blacklist.conf
alias usb:v0BDApF179d*dc*dsc*dp*icFFiscFFipFFin* rtl8188fu
kelebek333 commented 2 years ago

Thanks for feedbacking. I added info to Readme file for built-in module conflict at kernel 5.15 and newer.

https://github.com/kelebek333/rtl8188fu#blacklist-for-kernel-515-and-516-no-needed-for-kernel-517-and-up