TL-WN822N V4 on Ubuntu 16.04
This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
TL-WN822N V4 on Ubuntu 16.04
Model :
Hardware Version :
Firmware Version :
ISP :
After the adapter worked flawlessly on my Windows 10 system, I tried to configure the TL-WN822N v4 on my Ubuntu 16.04 and neither did I manage to compile the driver setup you offered here, nor did a precompiled version of a rtl8192eu work out for me. Strangely, while using Linux, the adapter does not even seem to be noticed by the system at all. The LED isn't showing any response to be plugged onto the computer, which isn't the case while using Windows.
This is the output when trying to compile the driver with sudo make:
[HTML]"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.4.0-31-generic/build M=/home/ben/Schreibtisch/Driver modules
make[1]: Verzeichnis „/usr/src/linux-headers-4.4.0-31-generic“ wird betreten
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
CC [M] /home/ben/Schreibtisch/Driver/core/rtw_cmd.o
In file included from /home/ben/Schreibtisch/Driver/include/drv_types.h:95:0,
from /home/ben/Schreibtisch/Driver/core/rtw_cmd.c:22:
/home/ben/Schreibtisch/Driver/include/hal_com.h:413:13: error: ‘file_path’ redeclared as different kind of symbol
extern char file_path[PATH_LENGTH_MAX];
^
In file included from include/linux/compat.h:15:0,
from include/linux/ethtool.h:15,
from include/linux/netdevice.h:42,
from /home/ben/Schreibtisch/Driver/include/osdep_service_linux.h:35,
from /home/ben/Schreibtisch/Driver/include/osdep_service.h:41,
from /home/ben/Schreibtisch/Driver/include/drv_types.h:32,
from /home/ben/Schreibtisch/Driver/core/rtw_cmd.c:22:
include/linux/fs.h:2572:14: note: previous declaration of ‘file_path’ was here
extern char *file_path(struct file *, char *, int);
^
In file included from /home/ben/Schreibtisch/Driver/include/drv_types.h:65:0,
from /home/ben/Schreibtisch/Driver/core/rtw_cmd.c:22:
/home/ben/Schreibtisch/Driver/core/rtw_cmd.c: In function ‘btinfo_evt_dump’:
/home/ben/Schreibtisch/Driver/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
#define _seqdump seq_printf
^
/home/ben/Schreibtisch/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
^
/home/ben/Schreibtisch/Driver/core/rtw_cmd.c:3293:2: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(sel, "cid:0x%02x, len:%u\n", info->cid, info->len);
^
/home/ben/Schreibtisch/Driver/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
#define _seqdump seq_printf
^
/home/ben/Schreibtisch/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
^
/home/ben/Schreibtisch/Driver/core/rtw_cmd.c:3296:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(sel, "byte2:%s%s%s%s%s%s%s%s\n"
^
/home/ben/Schreibtisch/Driver/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
#define _seqdump seq_printf
^
/home/ben/Schreibtisch/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
^
/home/ben/Schreibtisch/Driver/core/rtw_cmd.c:3308:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(sel, "retry_cnt:%u\n", info->retry_cnt);
^
/home/ben/Schreibtisch/Driver/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
#define _seqdump seq_printf
^
/home/ben/Schreibtisch/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
^
/home/ben/Schreibtisch/Driver/core/rtw_cmd.c:3311:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(sel, "rssi:%u\n", info->rssi);
^
/home/ben/Schreibtisch/Driver/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
#define _seqdump seq_printf
^
/home/ben/Schreibtisch/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
^
/home/ben/Schreibtisch/Driver/core/rtw_cmd.c:3314:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(sel, "byte5:%s%s\n"
^
scripts/Makefile.build:258: die Regel für Ziel „/home/ben/Schreibtisch/Driver/core/rtw_cmd.o“ scheiterte
make[2]: *** [/home/ben/Schreibtisch/Driver/core/rtw_cmd.o] Fehler 1
Makefile:1403: die Regel für Ziel „_module_/home/ben/Schreibtisch/Driver“ scheiterte
make[1]: *** [_module_/home/ben/Schreibtisch/Driver] Fehler 2
make[1]: Verzeichnis „/usr/src/linux-headers-4.4.0-31-generic“ wird verlassen
Makefile:1696: die Regel für Ziel „modules“ scheiterte
make: *** [modules] Fehler 2
[/HTML]
Hardware Version :
Firmware Version :
ISP :
After the adapter worked flawlessly on my Windows 10 system, I tried to configure the TL-WN822N v4 on my Ubuntu 16.04 and neither did I manage to compile the driver setup you offered here, nor did a precompiled version of a rtl8192eu work out for me. Strangely, while using Linux, the adapter does not even seem to be noticed by the system at all. The LED isn't showing any response to be plugged onto the computer, which isn't the case while using Windows.
This is the output when trying to compile the driver with sudo make:
[HTML]"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.4.0-31-generic/build M=/home/ben/Schreibtisch/Driver modules
make[1]: Verzeichnis „/usr/src/linux-headers-4.4.0-31-generic“ wird betreten
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
CC [M] /home/ben/Schreibtisch/Driver/core/rtw_cmd.o
In file included from /home/ben/Schreibtisch/Driver/include/drv_types.h:95:0,
from /home/ben/Schreibtisch/Driver/core/rtw_cmd.c:22:
/home/ben/Schreibtisch/Driver/include/hal_com.h:413:13: error: ‘file_path’ redeclared as different kind of symbol
extern char file_path[PATH_LENGTH_MAX];
^
In file included from include/linux/compat.h:15:0,
from include/linux/ethtool.h:15,
from include/linux/netdevice.h:42,
from /home/ben/Schreibtisch/Driver/include/osdep_service_linux.h:35,
from /home/ben/Schreibtisch/Driver/include/osdep_service.h:41,
from /home/ben/Schreibtisch/Driver/include/drv_types.h:32,
from /home/ben/Schreibtisch/Driver/core/rtw_cmd.c:22:
include/linux/fs.h:2572:14: note: previous declaration of ‘file_path’ was here
extern char *file_path(struct file *, char *, int);
^
In file included from /home/ben/Schreibtisch/Driver/include/drv_types.h:65:0,
from /home/ben/Schreibtisch/Driver/core/rtw_cmd.c:22:
/home/ben/Schreibtisch/Driver/core/rtw_cmd.c: In function ‘btinfo_evt_dump’:
/home/ben/Schreibtisch/Driver/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
#define _seqdump seq_printf
^
/home/ben/Schreibtisch/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
^
/home/ben/Schreibtisch/Driver/core/rtw_cmd.c:3293:2: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(sel, "cid:0x%02x, len:%u\n", info->cid, info->len);
^
/home/ben/Schreibtisch/Driver/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
#define _seqdump seq_printf
^
/home/ben/Schreibtisch/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
^
/home/ben/Schreibtisch/Driver/core/rtw_cmd.c:3296:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(sel, "byte2:%s%s%s%s%s%s%s%s\n"
^
/home/ben/Schreibtisch/Driver/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
#define _seqdump seq_printf
^
/home/ben/Schreibtisch/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
^
/home/ben/Schreibtisch/Driver/core/rtw_cmd.c:3308:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(sel, "retry_cnt:%u\n", info->retry_cnt);
^
/home/ben/Schreibtisch/Driver/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
#define _seqdump seq_printf
^
/home/ben/Schreibtisch/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
^
/home/ben/Schreibtisch/Driver/core/rtw_cmd.c:3311:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(sel, "rssi:%u\n", info->rssi);
^
/home/ben/Schreibtisch/Driver/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
#define _seqdump seq_printf
^
/home/ben/Schreibtisch/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
^
/home/ben/Schreibtisch/Driver/core/rtw_cmd.c:3314:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(sel, "byte5:%s%s\n"
^
scripts/Makefile.build:258: die Regel für Ziel „/home/ben/Schreibtisch/Driver/core/rtw_cmd.o“ scheiterte
make[2]: *** [/home/ben/Schreibtisch/Driver/core/rtw_cmd.o] Fehler 1
Makefile:1403: die Regel für Ziel „_module_/home/ben/Schreibtisch/Driver“ scheiterte
make[1]: *** [_module_/home/ben/Schreibtisch/Driver] Fehler 2
make[1]: Verzeichnis „/usr/src/linux-headers-4.4.0-31-generic“ wird verlassen
Makefile:1696: die Regel für Ziel „modules“ scheiterte
make: *** [modules] Fehler 2
[/HTML]