according to this post https://xiaopan.co/forums/threads/rtl8192cu-not-detecting.5087/#post-17346 XIAOPAN 0.5B2 version seems fixed the problem
having same issue here Xiaopan: 0.4.7.2 USB Wireless: TL-WN821N v4.2 (rtl8192cu) please help