Hey all, first time posting in the forum I think.
I got this Wi-Fi adapter “TP-LINK wn7220n” that I can’t seem to get working
I installed iwd, and iwctl doesn’t detect the adapter, so I went to the manufacturers website and found out they giving Linux drivers for it.
However after following their guile, the ‘make’ command gives me errors, first time using it so I really have no idea what I’m doing with it, here’s what I got
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.15.28-1-MANJARO/build M=/home/based/Desktop/rtl8188EUS_linux_v4.3.0.8_13968.20150417 modules
make[1]: Entering directory '/usr/lib/modules/5.15.28-1-MANJARO/build'
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
CC [M] /home/based/Desktop/rtl8188EUS_linux_v4.3.0.8_13968.20150417/core/rtw_cmd.o
In file included from /home/based/Desktop/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service.h:41,
from /home/based/Desktop/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/drv_types.h:32,
from /home/based/Desktop/rtl8188EUS_linux_v4.3.0.8_13968.20150417/core/rtw_cmd.c:22:
/home/based/Desktop/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/based/Desktop/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service_linux.h:261:15: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
261 | ptimer->data = (unsigned long)cntx;
| ^~
/home/based/Desktop/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service_linux.h:262:9: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
262 | init_timer(ptimer);
| ^~~~~~~~~~
| _init_timer
In file included from /home/based/Desktop/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/drv_types.h:35,
from /home/based/Desktop/rtl8188EUS_linux_v4.3.0.8_13968.20150417/core/rtw_cmd.c:22:
/home/based/Desktop/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/wifi.h: At top level:
/home/based/Desktop/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/wifi.h:988: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
988 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from ./include/net/cfg80211.h:23,
from /home/based/Desktop/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service_linux.h:83,
from /home/based/Desktop/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/osdep_service.h:41,
from /home/based/Desktop/rtl8188EUS_linux_v4.3.0.8_13968.20150417/include/drv_types.h:32,
from /home/based/Desktop/rtl8188EUS_linux_v4.3.0.8_13968.20150417/core/rtw_cmd.c:22:
./include/linux/ieee80211.h:1703: note: this is the location of the previous definition
1703 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:277: /home/based/Desktop/rtl8188EUS_linux_v4.3.0.8_13968.20150417/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1868: /home/based/Desktop/rtl8188EUS_linux_v4.3.0.8_13968.20150417] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.15.28-1-MANJARO/build'
make: *** [Makefile:1367: modules] Error 2
Thanks in advance!
PS: Also, apparently it’s using 8188eu Realtek chipset, but the 8188eu included with Manjaro 5.15, AND the AUR both DON’T work with my device.
Linux does see it as
#ip list:
wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
link/ether 14:eb:b6:45:46:af brd ff:ff:ff:ff:ff:ff
#lsusb:
Bus 001 Device 008: ID 2357:010c TP-Link TL-WN722N v2/v3 [Realtek RTL8188EUS]