blackPantherOS / rtl8192fu

Asus USB N13 C1 Wifi device with RTL8192FU/RTL8725AU - kernel > 5.6 support
10 stars 8 forks source link

Kernel 5.6.19 support #1

Closed oliken closed 3 years ago

oliken commented 4 years ago

Hello, The patch does not work with a 5.6.x kernel (fedora):

# uname -r
5.6.19-300.fc32.x86_64

# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.6.19-300.fc32.x86_64/build M=/.../rtl8192fu  modules
make[1] : on entre dans le répertoire « /usr/src/kernels/5.6.19-300.fc32.x86_64 »
  CC [M]  /.../rtl8192fu/core/rtw_cmd.o
  CC [M]  /.../rtl8192fu/core/rtw_security.o
  CC [M]  /.../rtl8192fu/core/rtw_debug.o
  CC [M]  /.../rtl8192fu/core/rtw_io.o
  CC [M]  /.../rtl8192fu/core/rtw_ioctl_query.o
  CC [M]  /.../rtl8192fu/core/rtw_ioctl_set.o
  CC [M]  /.../rtl8192fu/core/rtw_ieee80211.o
  CC [M]  /.../rtl8192fu/core/rtw_mlme.o
  CC [M]  /.../rtl8192fu/core/rtw_mlme_ext.o
/.../rtl8192fu/core/rtw_mlme_ext.c: Dans la fonction « rtw_txpwr_init_regd »:
/.../rtl8192fu/core/rtw_mlme_ext.c:260:6: attention: cette instruction peut poursuivre son chemin [-Wimplicit-fallthrough=]
  260 |   if (rfctl->regd_name)
      |      ^
/.../rtl8192fu/core/rtw_mlme_ext.c:262:2: note: ici
  262 |  default:
      |  ^~~~~~~
/.../rtl8192fu/core/rtw_mlme_ext.c: Dans la fonction « mgt_dispatcher »:
/.../rtl8192fu/core/rtw_mlme_ext.c:1349:17: attention: cette instruction peut poursuivre son chemin [-Wimplicit-fallthrough=]
 1349 |    ptable->func = &OnAuthClient;
      |    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/.../rtl8192fu/core/rtw_mlme_ext.c:1351:2: note: ici
 1351 |  case WIFI_ASSOCREQ:
      |  ^~~~
  CC [M]  /.../rtl8192fu/core/rtw_mi.o
  CC [M]  /.../rtl8192fu/core/rtw_wlan_util.o
  CC [M]  /.../rtl8192fu/core/rtw_vht.o
  CC [M]  /.../rtl8192fu/core/rtw_pwrctrl.o
  CC [M]  /.../rtl8192fu/core/rtw_rf.o
  CC [M]  /.../rtl8192fu/core/rtw_chplan.o
  CC [M]  /.../rtl8192fu/core/rtw_recv.o
  CC [M]  /.../rtl8192fu/core/rtw_sta_mgt.o
  CC [M]  /.../rtl8192fu/core/rtw_ap.o
  CC [M]  /.../rtl8192fu/core/mesh/rtw_mesh.o
  CC [M]  /.../rtl8192fu/core/mesh/rtw_mesh_pathtbl.o
  CC [M]  /.../rtl8192fu/core/mesh/rtw_mesh_hwmp.o
  CC [M]  /.../rtl8192fu/core/rtw_xmit.o
  CC [M]  /.../rtl8192fu/core/rtw_p2p.o
  CC [M]  /.../rtl8192fu/core/rtw_rson.o
  CC [M]  /.../rtl8192fu/core/rtw_tdls.o
  CC [M]  /.../rtl8192fu/core/rtw_br_ext.o
  CC [M]  /.../rtl8192fu/core/rtw_iol.o
  CC [M]  /.../rtl8192fu/core/rtw_sreset.o
  CC [M]  /.../rtl8192fu/core/rtw_btcoex_wifionly.o
  CC [M]  /.../rtl8192fu/core/rtw_btcoex.o
  CC [M]  /.../rtl8192fu/core/rtw_beamforming.o
  CC [M]  /.../rtl8192fu/core/rtw_odm.o
  CC [M]  /.../rtl8192fu/core/rtw_rm.o
  CC [M]  /.../rtl8192fu/core/rtw_rm_fsm.o
  CC [M]  /.../rtl8192fu/core/rtw_rm_util.o
  CC [M]  /.../rtl8192fu/core/efuse/rtw_efuse.o
  CC [M]  /.../rtl8192fu/os_dep/osdep_service.o
  CC [M]  /.../rtl8192fu/os_dep/linux/os_intfs.o
/.../rtl8192fu/os_dep/linux/os_intfs.c:1696:22: erreur: initialisation de « u16 (*)(struct net_device *, struct sk_buff *, struct net_device *) » {alias « short unsigned int (*)(struct net_device *, struct sk_buff *, struct net_device *) »} depuis le type pointeur « u16 (*)(struct net_device *, struct sk_buff *, struct net_device *, u16 (*)(struct net_device *, struct sk_buff *, struct net_device *)) » {alias « short unsigned int (*)(struct net_device *, struct sk_buff *, struct net_device *, short unsigned int (*)(struct net_device *, struct sk_buff *, struct net_device *)) »} qui est incompatible [-Werror=incompatible-pointer-types]
 1696 |  .ndo_select_queue = rtw_select_queue,
      |                      ^~~~~~~~~~~~~~~~
/.../rtl8192fu/os_dep/linux/os_intfs.c:1696:22: note: (près de l'initialisation de « rtw_netdev_ops.ndo_select_queue »)
cc1 : certains avertissements sont traités comme des erreurs
make[2]: *** [scripts/Makefile.build:268: /.../rtl8192fu/os_dep/linux/os_intfs.o] Error 1
make[1]: *** [Makefile:1695: /.../rtl8192fu] Error 2
make[1] : on quitte le répertoire « /usr/src/kernels/5.6.19-300.fc32.x86_64 »
make: *** [Makefile:2327: modules] Error 2

do you have a solution?

Best regard.

oliken commented 4 years ago

Same result with kernel 5.7.8-200.fc32.x86_64.

blackPantherOS commented 4 years ago

Try add this CFLAG: -Wno-error=incompatible-pointer-types for workaround

oliken commented 4 years ago

Hi, thanks for your reply, the compilation works fine with this flag, but the device does not work anymore.

oliken commented 4 years ago

I've tried to compile with differents kernel versions: 5.0.0.32-generic Device work fine 5.6.18.x Device does not work 5.6.19.x Device does not work 5.7.8.x Device does not work

blackPantherOS commented 4 years ago

I've tried to compile with differents kernel versions: 5.0.0.32-generic Device work fine 5.6.18.x Device does not work 5.6.19.x Device does not work 5.7.8.x Device does not work

Thank you, The blackPanther OS stable just supports upto 5.2.x kernels, and currently does not have wifidevice on my hand and higher version of kernel for tests, but I tried to add a hotfix patch into the code. Please try again a new build.

oliken commented 4 years ago

Thanks for your answers, it still doesn't work. Here is the full trace if you can use it when you mount the kernel version. `# vi Makefile (to add the CFLAG).

make clean

make -C /lib/modules/5.7.8-200.fc32.x86_64/build M=/.../rtl8192fu clean

cd hal ; rm -fr ///.mod.c ///.mod ///.o ///..cmd ///.ko cd hal ; rm -fr //.mod.c //.mod //.o //..cmd //.ko cd hal ; rm -fr /.mod.c /.mod /.o /..cmd /.ko cd hal ; rm -fr .mod.c .mod .o ..cmd .ko cd core ; rm -fr /.mod.c /.mod /.o /..cmd /.ko cd core ; rm -fr .mod.c .mod .o ..cmd .ko cd os_dep/linux ; rm -fr .mod.c .mod .o ..cmd .ko cd os_dep ; rm -fr .mod.c .mod .o ..cmd .ko cd platform ; rm -fr .mod.c .mod .o ..cmd .ko rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order rm -fr .mod.c .mod .o ..cmd .ko ~ rm -fr .tmp_versions

make

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.7.8-200.fc32.x86_64/build M=/.../rtl8192fu modules make[1] : on entre dans le répertoire « /usr/src/kernels/5.7.8-200.fc32.x86_64 » CC [M] /.../rtl8192fu/core/rtw_cmd.o CC [M] /.../rtl8192fu/core/rtw_security.o CC [M] /.../rtl8192fu/core/rtw_debug.o CC [M] /.../rtl8192fu/core/rtw_io.o CC [M] /.../rtl8192fu/core/rtw_ioctl_query.o CC [M] /.../rtl8192fu/core/rtw_ioctl_set.o CC [M] /.../rtl8192fu/core/rtw_ieee80211.o CC [M] /.../rtl8192fu/core/rtw_mlme.o CC [M] /.../rtl8192fu/core/rtw_mlme_ext.o /.../rtl8192fu/core/rtw_mlme_ext.c: Dans la fonction « rtw_txpwr_init_regd »: /.../rtl8192fu/core/rtw_mlme_ext.c:260:6: attention: cette instruction peut poursuivre son chemin [-Wimplicit-fallthrough=] 260 if (rfctl->regd_name) ^ /.../rtl8192fu/core/rtw_mlme_ext.c:262:2: note: ici 262 default: ^~~ /.../rtl8192fu/core/rtw_mlme_ext.c: Dans la fonction « mgt_dispatcher »: /.../rtl8192fu/core/rtw_mlme_ext.c:1349:17: attention: cette instruction peut poursuivre son chemin [-Wimplicit-fallthrough=] 1349 ptable->func = &OnAuthClient; ~~~^~~~~ /.../rtl8192fu/core/rtw_mlme_ext.c:1351:2: note: ici 1351 case WIFI_ASSOCREQ: ^~~~ CC [M] /.../rtl8192fu/core/rtw_mi.o CC [M] /.../rtl8192fu/core/rtw_wlan_util.o CC [M] /.../rtl8192fu/core/rtw_vht.o CC [M] /.../rtl8192fu/core/rtw_pwrctrl.o CC [M] /.../rtl8192fu/core/rtw_rf.o CC [M] /.../rtl8192fu/core/rtw_chplan.o CC [M] /.../rtl8192fu/core/rtw_recv.o CC [M] /.../rtl8192fu/core/rtw_sta_mgt.o CC [M] /.../rtl8192fu/core/rtw_ap.o CC [M] /.../rtl8192fu/core/mesh/rtw_mesh.o CC [M] /.../rtl8192fu/core/mesh/rtw_mesh_pathtbl.o CC [M] /.../rtl8192fu/core/mesh/rtw_mesh_hwmp.o CC [M] /.../rtl8192fu/core/rtw_xmit.o CC [M] /.../rtl8192fu/core/rtw_p2p.o CC [M] /.../rtl8192fu/core/rtw_rson.o CC [M] /.../rtl8192fu/core/rtw_tdls.o CC [M] /.../rtl8192fu/core/rtw_br_ext.o CC [M] /.../rtl8192fu/core/rtw_iol.o CC [M] /.../rtl8192fu/core/rtw_sreset.o CC [M] /.../rtl8192fu/core/rtw_btcoex_wifionly.o CC [M] /.../rtl8192fu/core/rtw_btcoex.o CC [M] /.../rtl8192fu/core/rtw_beamforming.o CC [M] /.../rtl8192fu/core/rtw_odm.o CC [M] /.../rtl8192fu/core/rtw_rm.o CC [M] /.../rtl8192fu/core/rtw_rm_fsm.o CC [M] /.../rtl8192fu/core/rtw_rm_util.o CC [M] /.../rtl8192fu/core/efuse/rtw_efuse.o CC [M] /.../rtl8192fu/os_dep/osdep_service.o CC [M] /.../rtl8192fu/os_dep/linux/os_intfs.o CC [M] /.../rtl8192fu/os_dep/linux/usb_intf.o CC [M] /.../rtl8192fu/os_dep/linux/usb_ops_linux.o CC [M] /.../rtl8192fu/os_dep/linux/ioctl_linux.o CC [M] /.../rtl8192fu/os_dep/linux/xmit_linux.o CC [M] /.../rtl8192fu/os_dep/linux/mlme_linux.o CC [M] /.../rtl8192fu/os_dep/linux/recv_linux.o CC [M] /.../rtl8192fu/os_dep/linux/ioctl_cfg80211.o CC [M] /.../rtl8192fu/os_dep/linux/rtw_cfgvendor.o CC [M] /.../rtl8192fu/os_dep/linux/wifi_regd.o CC [M] /.../rtl8192fu/os_dep/linux/rtw_android.o CC [M] /.../rtl8192fu/os_dep/linux/rtw_proc.o /.../rtl8192fu/os_dep/linux/rtw_proc.c: Dans la fonction « rtw_proc_create_entry »: /.../rtl8192fu/os_dep/linux/rtw_proc.c:89:71: attention: passage de l'argument 4 de « proc_create_data » depuis un type pointeur incompatible [-Wincompatible-pointer-types] 89 entry = proc_create_data(name, S_IFREG S_IRUGO S_IWUGO, parent, fops, data); ^~~~
const struct file_operations *

Dans le fichier inclus depuis /.../rtl8192fu/include/../os_dep/linux/rtw_proc.h:18, depuis /.../rtl8192fu/include/osdep_intf.h:102, depuis /.../rtl8192fu/include/drv_types.h:101, depuis /.../rtl8192fu/os_dep/linux/rtw_proc.c:17: ./include/linux/proc_fs.h:76:13: note: « const struct proc_ops  » attendu mais l'argument est de type « const struct file_operations  » 76 | const struct proc_ops *, | ^~~~~~~ CC [M] /.../rtl8192fu/os_dep/linux/rtw_rhashtable.o CC [M] /.../rtl8192fu/os_dep/linux/ioctl_mp.o /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_write_reg »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:45:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 45 | char input[wrqu->length + 1]; | ^~~~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_read_reg »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:131:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 131 | char input[wrqu->length + 1]; | ^~~~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_write_rf »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:265:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 265 | char input[wrqu->length]; | ^~~~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_read_rf »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:307:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 307 | char input[wrqu->length]; | ^~~~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_rate »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:423:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 423 | u8 input[wrqu->length + 1]; | ^~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_channel »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:473:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 473 | u8 input[wrqu->length + 1]; | ^~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_ch_offset »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:500:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 500 | u8 input[wrqu->length + 1]; | ^~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_bandwidth »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:527:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 527 | u8 input[wrqu->length]; | ^~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_txpower_index »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:562:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 562 | char input[wrqu->length + 1]; | ^~~~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_txpower »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:634:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 634 | u8 input[wrqu->length]; | ^~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_ant_tx »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:672:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 672 | u8 input[wrqu->length + 1]; | ^~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_ant_rx »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:726:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 726 | u8 input[wrqu->length + 1]; | ^~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_disable_bt_coexist »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:942:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 942 | u8 input[wrqu->data.length + 1]; | ^~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_arx »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:980:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 980 | u8 input[wrqu->length]; | ^~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_pwrtrk »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:1170:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 1170 | u8 input[wrqu->length]; | ^~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_psd »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:1208:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 1208 | u8 input[wrqu->length + 1]; | ^~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_dump »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:1363:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 1363 | u8 input[wrqu->length]; | ^~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_phypara »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:1387:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 1387 | char input[wrqu->length]; | ^~~~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_SetRFPath »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:1442:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 1442 | char input[wrqu->length]; | ^~~~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_switch_rf_path »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:1493:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 1493 | char input[wrqu->length]; | ^~~~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_QueryDrv »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:1542:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 1542 | char input[wrqu->data.length]; | ^~~~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_PwrCtlDM »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:1571:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 1571 | u8 input[wrqu->length]; | ^~ /.../rtl8192fu/os_dep/linux/ioctl_mp.c: Dans la fonction « rtw_mp_link »: /.../rtl8192fu/os_dep/linux/ioctl_mp.c:2678:2: attention: le C90 ISO interdit le tableau « input » de taille variable [-Wvla] 2678 | char input[wrqu->length]; | ^~~~ CC [M] /.../rtl8192fu/hal/hal_intf.o /.../rtl8192fu/hal/hal_intf.c: Dans la fonction « c2h_handler »: /.../rtl8192fu/hal/hal_intf.c:1278:10: attention: cette instruction peut poursuivre son chemin [-Wimplicit-fallthrough=] 1278 | sub_id = payload[0]; | ~^~~~~~ /.../rtl8192fu/hal/hal_intf.c:1281:2: note: ici 1281 | default: | ^~~ CC [M] /.../rtl8192fu/hal/hal_com.o CC [M] /.../rtl8192fu/hal/hal_com_phycfg.o CC [M] /.../rtl8192fu/hal/hal_phy.o CC [M] /.../rtl8192fu/hal/hal_dm.o CC [M] /.../rtl8192fu/hal/hal_dm_acs.o CC [M] /.../rtl8192fu/hal/hal_btcoex_wifionly.o CC [M] /.../rtl8192fu/hal/hal_btcoex.o CC [M] /.../rtl8192fu/hal/hal_mp.o CC [M] /.../rtl8192fu/hal/hal_mcc.o CC [M] /.../rtl8192fu/hal/hal_hci/hal_usb.o CC [M] /.../rtl8192fu/hal/led/hal_led.o CC [M] /.../rtl8192fu/hal/led/hal_usb_led.o CC [M] /.../rtl8192fu/hal/HalPwrSeqCmd.o CC [M] /.../rtl8192fu/hal/rtl8192f/Hal8192FPwrSeq.o CC [M] /.../rtl8192fu/hal/rtl8192f/rtl8192f_sreset.o CC [M] /.../rtl8192fu/hal/rtl8192f/rtl8192f_hal_init.o CC [M] /.../rtl8192fu/hal/rtl8192f/rtl8192f_phycfg.o CC [M] /.../rtl8192fu/hal/rtl8192f/rtl8192f_rf6052.o CC [M] /.../rtl8192fu/hal/rtl8192f/rtl8192f_dm.o CC [M] /.../rtl8192fu/hal/rtl8192f/rtl8192f_rxdesc.o CC [M] /.../rtl8192fu/hal/rtl8192f/rtl8192f_cmd.o CC [M] /.../rtl8192fu/hal/rtl8192f/hal8192f_fw.o CC [M] /.../rtl8192fu/hal/rtl8192f/rtl8192f_lps_poff.o CC [M] /.../rtl8192fu/hal/rtl8192f/usb/usb_halinit.o CC [M] /.../rtl8192fu/hal/rtl8192f/usb/rtl8192fu_led.o CC [M] /.../rtl8192fu/hal/rtl8192f/usb/rtl8192fu_xmit.o CC [M] /.../rtl8192fu/hal/rtl8192f/usb/rtl8192fu_recv.o CC [M] /.../rtl8192fu/hal/rtl8192f/usb/usb_ops.o CC [M] /.../rtl8192fu/hal/efuse/rtl8192f/HalEfuseMask8192F_USB.o CC [M] /.../rtl8192fu/hal/phydm/phydm_debug.o CC [M] /.../rtl8192fu/hal/phydm/phydm_antdiv.o CC [M] /.../rtl8192fu/hal/phydm/phydm_soml.o CC [M] /.../rtl8192fu/hal/phydm/phydm_smt_ant.o CC [M] /.../rtl8192fu/hal/phydm/phydm_antdect.o CC [M] /.../rtl8192fu/hal/phydm/phydm_interface.o CC [M] /.../rtl8192fu/hal/phydm/phydm_phystatus.o CC [M] /.../rtl8192fu/hal/phydm/phydm_hwconfig.o CC [M] /.../rtl8192fu/hal/phydm/phydm.o CC [M] /.../rtl8192fu/hal/phydm/phydm_dig.o CC [M] /.../rtl8192fu/hal/phydm/phydm_pathdiv.o CC [M] /.../rtl8192fu/hal/phydm/phydm_rainfo.o CC [M] /.../rtl8192fu/hal/phydm/phydm_dynamictxpower.o CC [M] /.../rtl8192fu/hal/phydm/phydm_adaptivity.o CC [M] /.../rtl8192fu/hal/phydm/phydm_cfotracking.o CC [M] /.../rtl8192fu/hal/phydm/phydm_noisemonitor.o CC [M] /.../rtl8192fu/hal/phydm/phydm_beamforming.o CC [M] /.../rtl8192fu/hal/phydm/phydm_direct_bf.o CC [M] /.../rtl8192fu/hal/phydm/phydm_dfs.o CC [M] /.../rtl8192fu/hal/phydm/txbf/halcomtxbf.o CC [M] /.../rtl8192fu/hal/phydm/txbf/haltxbfinterface.o CC [M] /.../rtl8192fu/hal/phydm/txbf/phydm_hal_txbf_api.o CC [M] /.../rtl8192fu/hal/phydm/phydm_adc_sampling.o CC [M] /.../rtl8192fu/hal/phydm/phydm_ccx.o CC [M] /.../rtl8192fu/hal/phydm/phydm_psd.o CC [M] /.../rtl8192fu/hal/phydm/phydm_primary_cca.o CC [M] /.../rtl8192fu/hal/phydm/phydm_cck_pd.o CC [M] /.../rtl8192fu/hal/phydm/phydm_rssi_monitor.o CC [M] /.../rtl8192fu/hal/phydm/phydm_auto_dbg.o CC [M] /.../rtl8192fu/hal/phydm/phydm_math_lib.o CC [M] /.../rtl8192fu/hal/phydm/phydm_api.o CC [M] /.../rtl8192fu/hal/phydm/phydm_pow_train.o CC [M] /.../rtl8192fu/hal/phydm/phydm_lna_sat.o CC [M] /.../rtl8192fu/hal/phydm/phydm_pmac_tx_setting.o CC [M] /.../rtl8192fu/hal/phydm/phydm_mp.o CC [M] /.../rtl8192fu/hal/phydm/phydm_cck_rx_pathdiv.o CC [M] /.../rtl8192fu/hal/phydm/halrf/halrf.o CC [M] /.../rtl8192fu/hal/phydm/halrf/halrf_debug.o CC [M] /.../rtl8192fu/hal/phydm/halrf/halphyrf_ce.o CC [M] /.../rtl8192fu/hal/phydm/halrf/halrf_powertracking_ce.o CC [M] /.../rtl8192fu/hal/phydm/halrf/halrf_powertracking.o CC [M] /.../rtl8192fu/hal/phydm/halrf/halrf_kfree.o CC [M] /.../rtl8192fu/hal/phydm/halrf/halrf_psd.o CC [M] /.../rtl8192fu/hal/phydm/rtl8192f/halhwimg8192f_bb.o CC [M] /.../rtl8192fu/hal/phydm/rtl8192f/halhwimg8192f_mac.o CC [M] /.../rtl8192fu/hal/phydm/rtl8192f/phydm_hal_api8192f.o CC [M] /.../rtl8192fu/hal/phydm/rtl8192f/phydm_regconfig8192f.o CC [M] /.../rtl8192fu/hal/phydm/rtl8192f/phydm_rtl8192f.o CC [M] /.../rtl8192fu/hal/phydm/halrf/rtl8192f/halhwimg8192f_rf.o CC [M] /.../rtl8192fu/hal/phydm/halrf/rtl8192f/halrf_8192f.o CC [M] /.../rtl8192fu/hal/btc/halbtccommon.o CC [M] /.../rtl8192fu/hal/btc/halbtc8192f.o CC [M] /.../rtl8192fu/platform/platform_ops.o CC [M] /.../rtl8192fu/core/rtw_mp.o LD [M] /.../rtl8192fu/8192fu.o MODPOST 1 modules CC [M] /.../rtl8192fu/8192fu.mod.o LD [M] /.../rtl8192fu/8192fu.ko make[1] : on quitte le répertoire « /usr/src/kernels/5.7.8-200.fc32.x86_64 »

make install

install -p -m 644 8192fu.ko /lib/modules/5.7.8-200.fc32.x86_64/kernel/drivers/net/wireless/ /sbin/depmod -a 5.7.8-200.fc32.x86_64

modprobe 8192fu

lsmod | grep 8192fu

8192fu 2076672 0 cfg80211 864256 3 mac80211,rtl8187,8192fu

lshw -C network

*-network
description: Ethernet interface product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:02:00.0 logical name: enp2s0 version: 16 serial: e0:d5:5e:64:e0:2c capacity: 1Gbit/s width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.7.8-200.fc32.x86_64 firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII resources: irq:16 ioport:d000(size=256) memory:dd104000-dd104fff memory:dd100000-dd103fff

dmesg

[ 1399.820293] usb 1-4: new high-speed USB device number 11 using xhci_hcd [ 1399.947188] usb 1-4: New USB device found, idVendor=0b05, idProduct=18f1, bcdDevice= 2.00 [ 1399.947196] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1399.947201] usb 1-4: Product: 802.11n WLAN Adapter [ 1399.947205] usb 1-4: Manufacturer: Realtek [ 1399.947208] usb 1-4: SerialNumber: 00e04c000001 [ 1399.997535] RTW: module init start [ 1399.997538] RTW: rtl8192fu v5.8.6_33905.20190604_COEX20190509-0d01 [ 1399.997539] RTW: build time: Jul 15 2020 13:49:40 [ 1399.997540] RTW: rtl8192fu BT-Coex version = COEX20190509-0d01 [ 1399.997554] RTW: rtw_inetaddr_notifier_register [ 1399.997574] RTW: usb_endpoint_descriptor(0): [ 1399.997575] RTW: bLength=7 [ 1399.997576] RTW: bDescriptorType=5 [ 1399.997576] RTW: bEndpointAddress=84 [ 1399.997577] RTW: wMaxPacketSize=512 [ 1399.997578] RTW: bInterval=0 [ 1399.997578] RTW: RT_usb_endpoint_is_bulk_in = 4 [ 1399.997579] RTW: usb_endpoint_descriptor(1): [ 1399.997580] RTW: bLength=7 [ 1399.997580] RTW: bDescriptorType=5 [ 1399.997581] RTW: bEndpointAddress=5 [ 1399.997582] RTW: wMaxPacketSize=512 [ 1399.997582] RTW: bInterval=0 [ 1399.997583] RTW: RT_usb_endpoint_is_bulk_out = 5 [ 1399.997583] RTW: usb_endpoint_descriptor(2): [ 1399.997584] RTW: bLength=7 [ 1399.997585] RTW: bDescriptorType=5 [ 1399.997585] RTW: bEndpointAddress=6 [ 1399.997586] RTW: wMaxPacketSize=512 [ 1399.997586] RTW: bInterval=0 [ 1399.997587] RTW: RT_usb_endpoint_is_bulk_out = 6 [ 1399.997588] RTW: usb_endpoint_descriptor(3): [ 1399.997588] RTW: bLength=7 [ 1399.997589] RTW: bDescriptorType=5 [ 1399.997589] RTW: bEndpointAddress=87 [ 1399.997590] RTW: wMaxPacketSize=64 [ 1399.997591] RTW: bInterval=3 [ 1399.997591] RTW: RT_usb_endpoint_is_int_in = 7, Interval = 3 [ 1399.997592] RTW: usb_endpoint_descriptor(4): [ 1399.997593] RTW: bLength=7 [ 1399.997593] RTW: bDescriptorType=5 [ 1399.997594] RTW: bEndpointAddress=8 [ 1399.997594] RTW: wMaxPacketSize=512 [ 1399.997595] RTW: bInterval=0 [ 1399.997595] RTW: RT_usb_endpoint_is_bulk_out = 8 [ 1399.997596] RTW: usb_endpoint_descriptor(5): [ 1399.997597] RTW: bLength=7 [ 1399.997597] RTW: bDescriptorType=5 [ 1399.997598] RTW: bEndpointAddress=9 [ 1399.997599] RTW: wMaxPacketSize=512 [ 1399.997599] RTW: bInterval=0 [ 1399.997600] RTW: RT_usb_endpoint_is_bulk_out = 9 [ 1399.997600] RTW: usb_endpoint_descriptor(6): [ 1399.997601] RTW: bLength=7 [ 1399.997602] RTW: bDescriptorType=5 [ 1399.997602] RTW: bEndpointAddress=c [ 1399.997603] RTW: wMaxPacketSize=512 [ 1399.997603] RTW: bInterval=0 [ 1399.997604] RTW: RT_usb_endpoint_is_bulk_out = c [ 1399.997605] RTW: usb_endpoint_descriptor(7): [ 1399.997605] RTW: bLength=7 [ 1399.997606] RTW: bDescriptorType=5 [ 1399.997606] RTW: bEndpointAddress=d [ 1399.997607] RTW: wMaxPacketSize=512 [ 1399.997608] RTW: bInterval=0 [ 1399.997608] RTW: RT_usb_endpoint_is_bulk_out = d [ 1399.997609] RTW: nr_endpoint=8, in_num=2, out_num=6

[ 1399.997610] RTW: USB_SPEED_HIGH [ 1399.997610] RTW: CHIP TYPE: RTL8192FU [ 1399.997904] RTW: Chip Version Info: CHIP_8192F_U2_2T2R_RomVer(0) [ 1399.997905] RTW: USB NumInPipe(2), NumOutPipe(6/6) [ 1399.997989] RTW: EEPROM type is E-FUSE [ 1399.998185] RTW: Boot from EFUSE, Autoload OK ! [ 1399.998409] RTW: hal_EfuseSwitchToBank: Efuse switch bank to 0 [ 1400.051661] RTW: hal_ReadEFuse_WiFi: data end at address=0x93 [ 1400.051716] RTW: HW EFUSE [ 1400.051718] RTW: 0x000: 29 81 00 7C 09 16 01 00 A6 3F A5 70 10 A0 12 0B
[ 1400.051721] RTW: 0x010: 1C 1C 1E 1F 20 20 1F 1F 1F 20 20 13 EF EF FF FF
[ 1400.051724] RTW: 0x020: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051727] RTW: 0x030: FF FF FF FF FF FF FF FF FF FF 1C 1C 1E 1F 20 20
[ 1400.051730] RTW: 0x040: 20 20 20 21 21 13 EF EF FF FF FF FF FF FF FF FF
[ 1400.051733] RTW: 0x050: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051736] RTW: 0x060: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051739] RTW: 0x070: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051742] RTW: 0x080: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051745] RTW: 0x090: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051748] RTW: 0x0A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051751] RTW: 0x0B0: FF FF FF FF FF FF FF FF 21 2A 1E 00 00 00 FF FF
[ 1400.051754] RTW: 0x0C0: FF 01 00 10 00 00 00 FF 00 00 01 FF FF FF FF FF
[ 1400.051757] RTW: 0x0D0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051760] RTW: 0x0E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051762] RTW: 0x0F0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051765] RTW: 0x100: 05 0B F1 18 43 66 03 A8 5E 45 67 AF E1 09 03 52
[ 1400.051768] RTW: 0x110: 65 61 6C 74 65 6B 09 03 38 30 32 2E 31 31 6E 00
[ 1400.051771] RTW: 0x120: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051774] RTW: 0x130: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051777] RTW: 0x140: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051780] RTW: 0x150: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051783] RTW: 0x160: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051786] RTW: 0x170: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051789] RTW: 0x180: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051792] RTW: 0x190: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051795] RTW: 0x1A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051798] RTW: 0x1B0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051801] RTW: 0x1C0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051804] RTW: 0x1D0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051807] RTW: 0x1E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051809] RTW: 0x1F0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 1400.051813] RTW: VID = 0x0B05, PID = 0x18F1 [ 1400.051814] RTW: Customer ID: 0x00, SubCustomer ID: 0xCD [ 1400.051816] RTW: hal_EfuseParsePowerSavingSetting...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(1) [ 1400.051816] RTW: ### PS params=> power_mgnt(2),usbss_enable(0) ### [ 1400.051817] RTW: pHalData->rfe_type is 0x1 [ 1400.051818] RTW: hal_com_config_channel_plan chplan:0x21 [ 1400.051819] RTW: Hal_EfuseParseBTCoexistInfo_8192F: Disable BT-coex, ant_num=2 [ 1400.056809] RTW: SetHwReg: bMacPwrCtrlOn=1 [ 1400.057014] RTW: rtl8192f_FirmwareDownload((null)) tmp_ps=0 [ 1400.057016] RTW: rtl8192f_FirmwareDownload fw: FW_NIC, size: 31934 [ 1400.057017] RTW: rtl8192f_FirmwareDownload: fw_ver=5 fw_subver=0000 sig=0x92f1, Month=06, Date=28, Hour=18, Minute=45 [ 1400.057018] RTW: rtl8192f_FirmwareDownload(): Shift for fw header! [ 1400.057067] RTW: rtl8192f_FirmwareDownload by IO write! [ 1400.091182] RTW: polling_fwdl_chksum: Checksum report OK! (1, 1ms), REG_MCUFWDL:0x00671305 [ 1400.091184] RTW: rtl8192f_FirmwareDownload: download FW count:1 [ 1400.092056] RTW: _8051Reset8192F: Finish [ 1400.110111] RTW: _FWFreeToGo: Polling FW ready OK! (350, 18ms), REG_MCUFWDL:0x006713c6 [ 1400.110112] RTW: rtl8192f_FirmwareDownload success. write_fw:1, 53ms [ 1400.110165] RTW: <=== rtl8192f_FirmwareDownload() [ 1400.122702] RTW: CardDisableRTL8192fu((null)): bMacPwrCtrlOn=1 [ 1400.122704] RTW: SetHwReg: bMacPwrCtrlOn=0 [ 1400.124904] RTW: hal_read_mac_hidden_rpt OK! (2, 15ms), fwdl:1, id:0x19 [ 1400.124905] RTW: EEPROM Disable BT-coex by hal_spec [ 1400.127444] RTW: rtw_hal_read_chip_info in 130 ms [ 1400.127449] RTW: init_channel_set((null)) ChannelPlan ID:0x21, ch num:13 [ 1400.127451] RTW: [RF_PATH] IC's RF PATH:RF_2T2R, max_tx_cnt:2 [ 1400.127452] RTW: [RF_PATH] PG's trx_path_bmp:0x00, max_tx_cnt:0 [ 1400.127452] RTW: [RF_PATH] Registry's RF PATH:UNKNOWN [ 1400.127453] RTW: [RF_PATH] HALDATA's trx_path_bmp:0x33, max_tx_cnt:2 [ 1400.127453] RTW: [RF_PATH] HALDATA's RF PATH:RF_2T2R [ 1400.127454] RTW: [RF_PATH] NumTotalRFPath:2 [ 1400.127455] RTW: rtw_hal_rfpath_init trx_path_bmp:0x33(RF_2T2R), NumTotalRFPath:2, max_tx_cnt:2 [ 1400.127455] RTW: [TRX_Nss] HALSPEC - tx_nss :2, rx_nss:2 [ 1400.127456] RTW: [TRX_Nss] Registry - tx_nss :0, rx_nss:0 [ 1400.127456] RTW: [TRX_Nss] HALDATA - tx_nss :2, rx_nss:2 [ 1400.127457] RTW: rtw_hal_trxnss_init tx_nss:2, rx_nss:2 [ 1400.127471] RTW: init_mlme_default_rate_set: support CCK [ 1400.127472] RTW: init_mlme_default_rate_set: support OFDM [ 1400.127524] RTW: NR_RECVBUFF: 8 [ 1400.127524] RTW: MAX_RECVBUF_SZ: 32768 [ 1400.127525] RTW: NR_PREALLOC_RECV_SKB: 8 [ 1400.127545] RTW: rtw_alloc_macid((null)) if1, mac_addr:ff:ff:ff:ff:ff:ff macid:1 [ 1400.127546] RTW: rtw_init_pwrctrl_priv: IPS_mode=1, LPS_mode=2, LPS_level=0 [ 1400.127598] RTW: IQK FW offload:disable [ 1400.127600] RTW: Init_ODM_ComInfo_8192f(): Fv=0 Cv=1 [ 1400.127605] RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1 [ 1400.127612] RTW: phy_ConfigBBWithPgParaFile(): No File PHY_REG_PG.txt, Load from HWImg Array! [ 1400.127616] RTW: default power by rate loaded [ 1400.127670] RTW: pwrctrlpriv.bSupportRemoteWakeup~~ [ 1400.127689] RTW: pwrctrlpriv.bSupportRemoteWakeup~[1]~ [ 1400.127689] RTW: can't get autopm: [ 1400.127691] RTW: rtw_macaddr_cfg mac addr:a8:5e:45:67:af:e1 [ 1400.127692] RTW: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0 [ 1400.127700] RTW: rtw_wiphy_alloc(phy7) [ 1400.127702] RTW: rtw_wdev_alloc(padapter=0000000069d6fc53) [ 1400.127703] RTW: rtw_wiphy_register(phy7) [ 1400.127704] RTW: Register RTW cfg80211 vendor cmd(0x67) interface [ 1400.127736] ------------[ cut here ]------------ [ 1400.127754] WARNING: CPU: 7 PID: 14313 at net/wireless/core.c:873 wiphy_register+0x67e/0x8d0 [cfg80211] [ 1400.127755] Modules linked in: 8192fu(OE+) thunderbolt rfcomm xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_nat_tftp nf_conntrack_tftp tun bridge stp llc ccm nft_objref nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_tables ebtable_nat ebtable_broute ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c iptable_mangle iptable_raw iptable_security ip_set nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables vboxnetadp(OE) iptable_filter vboxnetflt(OE) vboxdrv(OE) cmac bnep sunrpc nvidia_drm(POE) nvidia_modeset(POE) nvidia_uvm(OE) nvidia(POE) snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio i915 intel_rapl_msr intel_rapl_common rtl8187 x86_pkg_temp_thermal snd_hda_codec_hdmi intel_powerclamp cec coretemp i2c_algo_bit uvcvideo snd_hda_intel mac80211 videobuf2_vmalloc [ 1400.127770] videobuf2_memops snd_intel_dspcfg btusb kvm_intel videobuf2_v4l2 snd_hda_codec btrtl snd_hda_core videobuf2_common btbcm snd_hwdep btintel iTCO_wdt cfg80211 snd_seq iTCO_vendor_support bluetooth kvm videodev snd_seq_device irqbypass intel_cstate snd_pcm eeprom_93cx6 mc libarc4 intel_uncore ecdh_generic asus_wmi snd_timer intel_rapl_perf drm_kms_helper ecc sparse_keymap snd ipmi_devintf mei_me ipmi_msghandler rfkill intel_wmi_thunderbolt soundcore i2c_i801 pcspkr joydev mei intel_pch_thermal acpi_als kfifo_buf industrialio acpi_pad drm ip_tables mxm_wmi uas crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw r8169 usb_storage wmi video fuse [last unloaded: 8192fu] [ 1400.127798] CPU: 7 PID: 14313 Comm: systemd-udevd Tainted: P W OE 5.7.8-200.fc32.x86_64 #1 [ 1400.127799] Hardware name: GIGABYTE P65/P65, BIOS FB0B 01/26/2018 [ 1400.127806] RIP: 0010:wiphy_register+0x67e/0x8d0 [cfg80211] [ 1400.127808] Code: ff e9 f8 fb ff ff 0f 0b b8 ea ff ff ff e9 ec fb ff ff 0f 0b b8 ea ff ff ff e9 e0 fb ff ff 0f 0b b8 ea ff ff ff e9 d4 fb ff ff <0f> 0b b8 ea ff ff ff e9 c8 fb ff ff 0f 0b b8 ea ff ff ff e9 bc fb [ 1400.127809] RSP: 0018:ffffb3cfc9bafb08 EFLAGS: 00010246 [ 1400.127810] RAX: ffffffffc29e6a90 RBX: ffff9a62a0091300 RCX: ffffffffc29e6a80 [ 1400.127810] RDX: ffffffffc29e6af0 RSI: 0000000000000001 RDI: 000000000000001e [ 1400.127811] RBP: ffff9a62a0091300 R08: 0000000000000004 R09: 0000000000000003 [ 1400.127812] R10: 0000000000000005 R11: 0000000000000000 R12: ffffb3cfc0620470 [ 1400.127812] R13: 0000000000000000 R14: ffffb3cfc06203e6 R15: ffffffffc2a05183 [ 1400.127813] FS: 00007fd655338b80(0000) GS:ffff9a633edc0000(0000) knlGS:0000000000000000 [ 1400.127814] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1400.127815] CR2: 00007fbb32b92000 CR3: 00000003dbb66005 CR4: 00000000003606e0 [ 1400.127816] Call Trace: [ 1400.127825] ? wiphy_apply_custom_regulatory+0x68/0xc0 [cfg80211] [ 1400.127863] ? rtw_regd_apply_flags+0xb3/0xbf [8192fu] [ 1400.127893] rtw_wiphy_register+0x2a/0x54 [8192fu] [ 1400.127922] rtw_cfg80211_ndev_res_register+0x15/0x56 [8192fu] [ 1400.127950] rtw_os_ndev_register+0x110/0x172 [8192fu] [ 1400.127978] rtw_os_ndevs_register+0xa7/0xf6 [8192fu] [ 1400.128005] rtw_os_ndevs_init+0x24/0x38 [8192fu] [ 1400.128032] rtw_drv_init+0x490/0x5a0 [8192fu] [ 1400.128035] usb_probe_interface+0xe2/0x2a0 [ 1400.128037] really_probe+0x2d4/0x410 [ 1400.128038] driver_probe_device+0xb6/0x100 [ 1400.128040] device_driver_attach+0xa1/0xb0 [ 1400.128041] driver_attach+0x8a/0x150 [ 1400.128042] ? device_driver_attach+0xb0/0xb0 [ 1400.128043] ? device_driver_attach+0xb0/0xb0 [ 1400.128044] bus_for_each_dev+0x64/0x90 [ 1400.128046] bus_add_driver+0x12b/0x1e0 [ 1400.128047] driver_register+0x8b/0xe0 [ 1400.128049] usb_register_driver+0x84/0x120 [ 1400.128050] ? 0xffffffffc2732000 [ 1400.128063] rtw_drv_entry+0xc0/0x1000 [8192fu] [ 1400.128066] do_one_initcall+0x46/0x200 [ 1400.128068] ? _cond_resched+0x16/0x40 [ 1400.128070] ? kmem_cache_alloc_trace+0x167/0x220 [ 1400.128071] ? do_init_module+0x23/0x260 [ 1400.128072] do_init_module+0x5c/0x260 [ 1400.128074] do_sys_finit_module+0x93/0xe0 [ 1400.128076] do_syscall_64+0x5b/0xf0 [ 1400.128078] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 1400.128079] RIP: 0033:0x7fd65648443d [ 1400.128080] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 2b 6a 0c 00 f7 d8 64 89 01 48 [ 1400.128081] RSP: 002b:00007ffe3da41188 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 1400.128082] RAX: ffffffffffffffda RBX: 00005573a265db70 RCX: 00007fd65648443d [ 1400.128083] RDX: 0000000000000000 RSI: 00007fd6560e495d RDI: 0000000000000006 [ 1400.128083] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000007 [ 1400.128084] R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000000 [ 1400.128085] R13: 00007fd6560e495d R14: 00005573a265d140 R15: 00005573a268f5e0 [ 1400.128086] ---[ end trace e99b281855656c62 ]--- [ 1400.128087] RTW: rtw_cfg80211_ndev_res_register rtw_wiphy_register fail for if1 [ 1400.128097] ------------[ cut here ]------------ [ 1400.128124] WARNING: CPU: 7 PID: 14313 at /.../rtl8192fu/os_dep/linux/os_intfs.c:1887 rtw_os_ndev_register+0x64/0x172 [8192fu] [ 1400.128125] Modules linked in: 8192fu(OE+) thunderbolt rfcomm xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_nat_tftp nf_conntrack_tftp tun bridge stp llc ccm nft_objref nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_tables ebtable_nat ebtable_broute ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c iptable_mangle iptable_raw iptable_security ip_set nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables vboxnetadp(OE) iptable_filter vboxnetflt(OE) vboxdrv(OE) cmac bnep sunrpc nvidia_drm(POE) nvidia_modeset(POE) nvidia_uvm(OE) nvidia(POE) snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio i915 intel_rapl_msr intel_rapl_common rtl8187 x86_pkg_temp_thermal snd_hda_codec_hdmi intel_powerclamp cec coretemp i2c_algo_bit uvcvideo snd_hda_intel mac80211 videobuf2_vmalloc [ 1400.128134] videobuf2_memops snd_intel_dspcfg btusb kvm_intel videobuf2_v4l2 snd_hda_codec btrtl snd_hda_core videobuf2_common btbcm snd_hwdep btintel iTCO_wdt cfg80211 snd_seq iTCO_vendor_support bluetooth kvm videodev snd_seq_device irqbypass intel_cstate snd_pcm eeprom_93cx6 mc libarc4 intel_uncore ecdh_generic asus_wmi snd_timer intel_rapl_perf drm_kms_helper ecc sparse_keymap snd ipmi_devintf mei_me ipmi_msghandler rfkill intel_wmi_thunderbolt soundcore i2c_i801 pcspkr joydev mei intel_pch_thermal acpi_als kfifo_buf industrialio acpi_pad drm ip_tables mxm_wmi uas crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw r8169 usb_storage wmi video fuse [last unloaded: 8192fu] [ 1400.128143] CPU: 7 PID: 14313 Comm: systemd-udevd Tainted: P W OE 5.7.8-200.fc32.x86_64 #1 [ 1400.128144] Hardware name: GIGABYTE P65/P65, BIOS FB0B 01/26/2018 [ 1400.128170] RIP: 0010:rtw_os_ndev_register+0x64/0x172 [8192fu] [ 1400.128171] Code: 8d a7 70 34 00 00 b9 20 00 00 00 48 c7 c2 03 76 94 c2 4c 89 e6 48 89 ef e8 4c 44 fa e9 48 89 df e8 3e ee 01 00 83 f8 01 74 1a <0f> 0b 4c 89 e7 e8 15 14 fa e9 b8 00 00 00 00 5b 5d 41 5c 41 5d 41 [ 1400.128172] RSP: 0018:ffffb3cfc9bafb90 EFLAGS: 00010297 [ 1400.128173] RAX: 0000000000000000 RBX: ffffb3cfc061d000 RCX: 0000000000000007 [ 1400.128174] RDX: 00000000fffffff8 RSI: 0000000000000092 RDI: ffff9a633edd9cc0 [ 1400.128174] RBP: ffff9a62a0092000 R08: 0000000000000d5c R09: ffffb3cfc9bafa18 [ 1400.128175] R10: 0000000000000005 R11: 0000000000000000 R12: ffffb3cfc0620470 [ 1400.128176] R13: 0000000000000000 R14: ffffb3cfc06203e6 R15: ffffffffc2a05183 [ 1400.128177] FS: 00007fd655338b80(0000) GS:ffff9a633edc0000(0000) knlGS:0000000000000000 [ 1400.128177] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1400.128178] CR2: 00007fbb32b92000 CR3: 00000003dbb66005 CR4: 00000000003606e0 [ 1400.128179] Call Trace: [ 1400.128241] rtw_os_ndevs_register+0xa7/0xf6 [8192fu] [ 1400.128268] rtw_os_ndevs_init+0x24/0x38 [8192fu] [ 1400.128294] rtw_drv_init+0x490/0x5a0 [8192fu] [ 1400.128296] usb_probe_interface+0xe2/0x2a0 [ 1400.128297] really_probe+0x2d4/0x410 [ 1400.128299] driver_probe_device+0xb6/0x100 [ 1400.128300] device_driver_attach+0xa1/0xb0 [ 1400.128301] driver_attach+0x8a/0x150 [ 1400.128302] ? device_driver_attach+0xb0/0xb0 [ 1400.128303] ? device_driver_attach+0xb0/0xb0 [ 1400.128304] bus_for_each_dev+0x64/0x90 [ 1400.128305] bus_add_driver+0x12b/0x1e0 [ 1400.128306] driver_register+0x8b/0xe0 [ 1400.128308] usb_register_driver+0x84/0x120 [ 1400.128309] ? 0xffffffffc2732000 [ 1400.128322] rtw_drv_entry+0xc0/0x1000 [8192fu] [ 1400.128324] do_one_initcall+0x46/0x200 [ 1400.128325] ? _cond_resched+0x16/0x40 [ 1400.128326] ? kmem_cache_alloc_trace+0x167/0x220 [ 1400.128327] ? do_init_module+0x23/0x260 [ 1400.128328] do_init_module+0x5c/0x260 [ 1400.128330] do_sys_finit_module+0x93/0xe0 [ 1400.128332] do_syscall_64+0x5b/0xf0 [ 1400.128333] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 1400.128334] RIP: 0033:0x7fd65648443d [ 1400.128335] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 2b 6a 0c 00 f7 d8 64 89 01 48 [ 1400.128336] RSP: 002b:00007ffe3da41188 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 1400.128337] RAX: ffffffffffffffda RBX: 00005573a265db70 RCX: 00007fd65648443d [ 1400.128337] RDX: 0000000000000000 RSI: 00007fd6560e495d RDI: 0000000000000006 [ 1400.128338] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000007 [ 1400.128339] R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000000 [ 1400.128339] R13: 00007fd6560e495d R14: 00005573a265d140 R15: 00005573a268f5e0 [ 1400.128341] ---[ end trace e99b281855656c63 ]--- [ 1400.140258] ------------[ cut here ]------------ [ 1400.140320] WARNING: CPU: 7 PID: 14313 at /.../rtl8192fu/os_dep/linux/os_intfs.c:3407 rtw_os_ndevs_register+0xaf/0xf6 [8192fu] [ 1400.140321] Modules linked in: 8192fu(OE+) thunderbolt rfcomm xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_nat_tftp nf_conntrack_tftp tun bridge stp llc ccm nft_objref nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_tables ebtable_nat ebtable_broute ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c iptable_mangle iptable_raw iptable_security ip_set nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables vboxnetadp(OE) iptable_filter vboxnetflt(OE) vboxdrv(OE) cmac bnep sunrpc nvidia_drm(POE) nvidia_modeset(POE) nvidia_uvm(OE) nvidia(POE) snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio i915 intel_rapl_msr intel_rapl_common rtl8187 x86_pkg_temp_thermal snd_hda_codec_hdmi intel_powerclamp cec coretemp i2c_algo_bit uvcvideo snd_hda_intel mac80211 videobuf2_vmalloc [ 1400.140349] videobuf2_memops snd_intel_dspcfg btusb kvm_intel videobuf2_v4l2 snd_hda_codec btrtl snd_hda_core videobuf2_common btbcm snd_hwdep btintel iTCO_wdt cfg80211 snd_seq iTCO_vendor_support bluetooth kvm videodev snd_seq_device irqbypass intel_cstate snd_pcm eeprom_93cx6 mc libarc4 intel_uncore ecdh_generic asus_wmi snd_timer intel_rapl_perf drm_kms_helper ecc sparse_keymap snd ipmi_devintf mei_me ipmi_msghandler rfkill intel_wmi_thunderbolt soundcore i2c_i801 pcspkr joydev mei intel_pch_thermal acpi_als kfifo_buf industrialio acpi_pad drm ip_tables mxm_wmi uas crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw r8169 usb_storage wmi video fuse [last unloaded: 8192fu] [ 1400.140361] CPU: 7 PID: 14313 Comm: systemd-udevd Tainted: P W OE 5.7.8-200.fc32.x86_64 #1 [ 1400.140362] Hardware name: GIGABYTE P65/P65, BIOS FB0B 01/26/2018 [ 1400.140396] RIP: 0010:rtw_os_ndevs_register+0xaf/0xf6 [8192fu] [ 1400.140397] Code: 87 9c 4f 00 00 49 8d b6 e6 33 00 00 84 c0 74 0d 49 8d b6 f6 33 00 00 3c 01 49 0f 45 f7 e8 ca f0 ff ff 41 89 c4 83 f8 01 74 b2 <0f> 0b 85 db 75 15 48 63 db 48 8b bc dd 70 01 00 00 48 85 ff 74 05 [ 1400.140398] RSP: 0018:ffffb3cfc9bafbc8 EFLAGS: 00010297 [ 1400.140399] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 1400.140400] RDX: ffff9a62a0092058 RSI: ffffb3cfc06205d0 RDI: ffffb3cfc0620558 [ 1400.140401] RBP: ffff9a62a0093000 R08: ffff9a62a0092058 R09: 0000000000000000 [ 1400.140401] R10: 000000000000038c R11: 0000000000000000 R12: 0000000000000000 [ 1400.140402] R13: 0000000000000001 R14: ffffb3cfc061d000 R15: ffffffffc2a05183 [ 1400.140403] FS: 00007fd655338b80(0000) GS:ffff9a633edc0000(0000) knlGS:0000000000000000 [ 1400.140404] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1400.140405] CR2: 00007fbb32b92000 CR3: 00000003dbb66005 CR4: 00000000003606e0 [ 1400.140406] Call Trace: [ 1400.140440] rtw_os_ndevs_init+0x24/0x38 [8192fu] [ 1400.140472] rtw_drv_init+0x490/0x5a0 [8192fu] [ 1400.140475] usb_probe_interface+0xe2/0x2a0 [ 1400.140476] really_probe+0x2d4/0x410 [ 1400.140478] driver_probe_device+0xb6/0x100 [ 1400.140479] device_driver_attach+0xa1/0xb0 [ 1400.140481] driver_attach+0x8a/0x150 [ 1400.140482] ? device_driver_attach+0xb0/0xb0 [ 1400.140483] ? device_driver_attach+0xb0/0xb0 [ 1400.140484] bus_for_each_dev+0x64/0x90 [ 1400.140485] bus_add_driver+0x12b/0x1e0 [ 1400.140487] driver_register+0x8b/0xe0 [ 1400.140488] usb_register_driver+0x84/0x120 [ 1400.140490] ? 0xffffffffc2732000 [ 1400.140506] rtw_drv_entry+0xc0/0x1000 [8192fu] [ 1400.140508] do_one_initcall+0x46/0x200 [ 1400.140510] ? _cond_resched+0x16/0x40 [ 1400.140511] ? kmem_cache_alloc_trace+0x167/0x220 [ 1400.140512] ? do_init_module+0x23/0x260 [ 1400.140514] do_init_module+0x5c/0x260 [ 1400.140515] do_sys_finit_module+0x93/0xe0 [ 1400.140517] do_syscall_64+0x5b/0xf0 [ 1400.140519] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 1400.140520] RIP: 0033:0x7fd65648443d [ 1400.140522] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 2b 6a 0c 00 f7 d8 64 89 01 48 [ 1400.140522] RSP: 002b:00007ffe3da41188 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 1400.140524] RAX: ffffffffffffffda RBX: 00005573a265db70 RCX: 00007fd65648443d [ 1400.140524] RDX: 0000000000000000 RSI: 00007fd6560e495d RDI: 0000000000000006 [ 1400.140525] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000007 [ 1400.140526] R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000000 [ 1400.140527] R13: 00007fd6560e495d R14: 00005573a265d140 R15: 00005573a268f5e0 [ 1400.140528] ---[ end trace e99b281855656c64 ]--- [ 1400.140529] RTW: rtw_wdev_free(wdev=000000005fd38aa5) [ 1400.140531] RTW: rtw_wiphy_free(phy7) [ 1400.140535] RTW: rtw_usb_primary_adapter_deinit((null)) [ 1400.140536] RTW: rtw_dev_unload: bup==_FALSE [ 1400.140539] RTW: +r871xu_dev_remove, hw_init_completed=0 [ 1400.140584] RTW: WARN free_recv_skb_queue not empty, 8 [ 1400.140617] usbcore: registered new interface driver rtl8192fu [ 1400.140618] RTW: module init ret=0`

blackPantherOS commented 3 years ago

Fixed (but not tested) with b8dcf2b217fa8615557e1b1553124710d5452748