McMCCRU / rtl8188gu

Driver for Linux RTL8188GU (RTL8710B) (VID:PID = 0x0BDA:0xB711)
318 stars 109 forks source link

linux 22.04 + 6.5.0-41-generic kernel installed successfully!!!! #71

Open YiChenCityU opened 3 months ago

YiChenCityU commented 3 months ago
error: too few arguments to function ‘cfg80211_ch_switch_notify’
  398 |         cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0);
      |         ^~~~~

I checked the kernel function in 6.5.0-41, shows this : Screenshot from 2024-08-08 11-12-02 So you just need change the function to cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0,0)at line 398

a5a5aa555oo commented 3 months ago

Linux kernel supports RTL8188GU since v6.4, so all you need to do is just installing the firmware for RTL8188GU

sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtlwifi/rtl8710bufw_UMC.bin -O /lib/firmware/rtlwifi/rtl8710bufw_UMC.bin

sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtlwifi/rtl8710bufw_SMIC.bin -O /lib/firmware/rtlwifi/rtl8710bufw_SMIC.bin

Then your 8188GU adapter will work after reloading the rtl8xxxu driver sudo modprobe -r rtl8xxxu && sudo modprobe rtl8xxxu

max0n4ik commented 2 months ago

Linux kernel supports RTL8188GU since v6.4, so all you need to do is just installing the firmware for RTL8188GU

sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtlwifi/rtl8710bufw_UMC.bin -O /lib/firmware/rtlwifi/rtl8710bufw_UMC.bin

sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtlwifi/rtl8710bufw_SMIC.bin -O /lib/firmware/rtlwifi/rtl8710bufw_SMIC.bin

Then your 8188GU adapter will work after reloading the rtl8xxxu driver sudo modprobe -r rtl8xxxu && sudo modprobe rtl8xxxu

thx dude its amazing fix, i will brake brain 2 years.