You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i plug-off the device, kernel error occurs.
and only after reboot, device is recognized.
uname -a
Linux XXXXXXX 5.4.0-124-generic #140-Ubuntu SMP Thu Aug 4 02:23:37 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 35bc:0102 Realtek 802.11ax WLAN Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
@skyer9 this is because of the hang that happens when this driver calls os functions like register_netdevice and register_netdev.
it is most visible when you do iw dev wlan0 del - you will see it hangs right away, and you'll have to reboot as well.
I've found that a valid workaround for lock issues caused by calling register_netdevice and unregister_netdevice is calling cfg80211_register_netdevice and cfg80211_unregister_netdevice instead: ntzb@891e3db
unfortunately, in this case, when register_netdev or unregister_netdev is called (notice the different functions, netdev vs netdevice), it means that the rtnl lock is needed, and you can't use the cfg80211 functions.
see for example this part of the code:
when i plug-off the device, kernel error occurs.
and only after reboot, device is recognized.
uname -a Linux XXXXXXX 5.4.0-124-generic #140-Ubuntu SMP Thu Aug 4 02:23:37 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 35bc:0102 Realtek 802.11ax WLAN Adapter Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
model : tp-link TXE70UH
i found two other link.
lwfinger/rtl8852au#55
lwfinger/rtl8852au#43
different chipset, different model, different manufacturer.
The text was updated successfully, but these errors were encountered: