AC 450 Wireless Nano USB Adapter Archer T1U: Linux drivers

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

AC 450 Wireless Nano USB Adapter Archer T1U: Linux drivers

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
AC 450 Wireless Nano USB Adapter Archer T1U: Linux drivers
AC 450 Wireless Nano USB Adapter Archer T1U: Linux drivers
2015-11-21 20:06:42
Model :

Hardware Version : Not Clear

Firmware Version :

ISP :

Hello everyone!

I've just bought this wireless USB adapter, and I'm having some trouble to install it correctly on my Linux computer (Ubuntu 15.10).

I've found the driver here: http://www.tp-link.com/en/download/Archer-T1U.html#Driver and then unpacked the Archer_T1U_V1_150909.zip file.

First of all, there isn't any README file, there is no ./configure... I tried make, make install but nothing worked...

Can someone give me a hint on this?

thanks

[CODE]
$ make
make[1]: Entering directory '/home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL'
cp -f os/linux/Makefile.6.util /home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/Makefile
make -C /lib/modules/4.2.0-18-generic/build SUBDIRS=/home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux modules
make[2]: Entering directory '/usr/src/linux-headers-4.2.0-18-generic'
CC [M] /home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/../../common/rt_os_util.o
CC [M] /home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/../../os/linux/rt_linux_symb.o
CC [M] /home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/../../os/linux/rt_rbus_pci_util.o
CC [M] /home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/../../os/linux/rt_usb_util.o
/home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/../../os/linux/rt_usb_util.c: In function ‘rausb_fill_bulk_urb’:
/home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/../../os/linux/rt_usb_util.c:425:68: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type [-Wincompatible-pointer-types]
usb_fill_bulk_urb(urb, dev, pipe, transfer_buffer, buffer_length, complete_fn,
^
In file included from /home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/include/os/rt_linux.h:40:0,
from /home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/include/rtmp_os.h:48,
from /home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/include/rtmp_comm.h:62,
from /home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/../../os/linux/rt_usb_util.c:18:
include/linux/usb.h:1532:20: note: expected ‘usb_complete_t {aka void (*)(struct urb *)}’ but argument is of type ‘USB_COMPLETE_HANDLER {aka void (*)(void *)}’
static inline void usb_fill_bulk_urb(struct urb *urb,
^
CC [M] /home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/../../os/linux/rt_linux.o
/home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsUsDelay’:
/home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/../../os/linux/rt_linux.c:179:8: warning: unused variable ‘i’ [-Wunused-variable]
ULONG i;
^
/home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpDrvAllRFPrint’:
/home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/../../os/linux/rt_linux.c:2051:32: warning: passing argument 2 of ‘file_w->f_op->write’ from incompatible pointer type [-Wincompatible-pointer-types]
file_w->f_op->write(file_w, pBuf, BufLen, &file_w->f_pos);
^
/home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/../../os/linux/rt_linux.c:2051:32: note: expected ‘const char *’ but argument is of type ‘UINT32 * {aka unsigned int *}’
/home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/../../os/linux/rt_linux.c:2036:22: warning: unused variable ‘macValue’ [-Wunused-variable]
UINT32 macAddr = 0, macValue = 0;
^
/home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/../../os/linux/rt_linux.c:2036:9: warning: unused variable ‘macAddr’ [-Wunused-variable]
UINT32 macAddr = 0, macValue = 0;
^
/home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSIRQRelease’:
/home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/../../os/linux/rt_linux.c:2172:21: warning: unused variable ‘net_dev’ [-Wunused-variable]
struct net_device *net_dev = (struct net_device *)pNetDev;
^
/home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsFreeSpinLock’:
/home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/../../os/linux/rt_linux.c:4266:8: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
pLock = (OS_NDIS_MINIPORT_TIMER *) (pLockOrg->pContent);
^
LD [M] /home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/mt7650u_sta_util.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/mt7650u_sta_util.mod.o
LD [M] /home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL/os/linux/mt7650u_sta_util.ko
make[2]: Leaving directory '/usr/src/linux-headers-4.2.0-18-generic'
make[1]: Leaving directory '/home/sebastien/Téléchargements/Archer_T1U_V1_150909/UTIL'
/bin/sh cp_util.sh

make -C MODULE/ build_tools
make[1]: Entering directory '/home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE'
make -C tools
make[2]: Entering directory '/home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/tools'
gcc -g bin2h.c -o bin2h
make[2]: Leaving directory '/home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/tools'
/home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/tools/bin2h
chipset = mt7650u
chipset = mt7630u
chipset = mt7610u
make[1]: Leaving directory '/home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE'
make -C MODULE/ osdrv
make[1]: Entering directory '/home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE'
cp -f os/linux/Makefile.6 /home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux/Makefile
make -C /lib/modules/4.2.0-18-generic/build SUBDIRS=/home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux modules
make[2]: Entering directory '/usr/src/linux-headers-4.2.0-18-generic'
CC [M] /home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux/../../os/linux/rt_profile.o
/home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
/home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux/../../os/linux/rt_profile.c:397:16: warning: unused variable ‘pAd’ [-Wunused-variable]
RTMP_ADAPTER *pAd = (RTMP_ADAPTER *)pAdSrc;
^
CC [M] /home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux/../../sta/assoc.o
CC [M] /home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux/../../sta/auth.o
CC [M] /home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux/../../sta/auth_rsp.o
CC [M] /home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux/../../sta/sync.o
CC [M] /home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux/../../sta/sanity.o
CC [M] /home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux/../../sta/rtmp_data.o
CC [M] /home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux/../../sta/connect.o
CC [M] /home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux/../../sta/wpa.o
CC [M] /home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux/../../sta/sta_cfg.o
/home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux/../../sta/sta_cfg.c: In function ‘RTMPIoctlShow’:
/home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux/../../sta/sta_cfg.c:7053:85: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
intf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, _
^
/home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux/../../sta/sta_cfg.c:7053:95: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
^
/home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_private_get_statistics’:
/home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux/../../sta/sta_cfg.c:9737:17: warning: unused variable ‘fec_coding’ [-Wunused-variable]
static char *fec_coding[2] = {"bcc", "ldpc"};
^
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target '/home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux/../../sta/sta_cfg.o' failed
make[3]: *** [/home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux/../../sta/sta_cfg.o] Error 1
Makefile:1398: recipe for target '_module_/home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux' failed
make[2]: *** [_module_/home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE/os/linux] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.2.0-18-generic'
Makefile:548: recipe for target 'osdrv' failed
make[1]: *** [osdrv] Error 2
make[1]: Leaving directory '/home/sebastien/Téléchargements/Archer_T1U_V1_150909/MODULE'
Makefile:3: recipe for target 'all' failed
make: *** [all] Error 2

[/CODE]
  0      
  0      
#1
Options
2 Reply
Re:AC 450 Wireless Nano USB Adapter Archer T1U: Linux drivers
2016-02-15 05:19:55
you can fix by adding some stuff to the config.mk in the os/linux/

however the driver is just crashing my kernel so something is wrong.
  0  
  0  
#2
Options
Re:AC 450 Wireless Nano USB Adapter Archer T1U: Linux drivers
2016-03-21 01:23:19
Hello
I had the same problem, and in depsiar, did something ugly :
i edited to *.c files :
diff sta_cfg.c.org MODULE/sta/sta_cfg.c
7053c7053
< snprintf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
---
> snprintf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION );


diff cmm_info.c.org MODULE/common/cmm_info.c
45c45
< DBGPRINT(RT_DEBUG_TRACE, ("Driver version-%s %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__));
---
> DBGPRINT(RT_DEBUG_TRACE, ("Driver version-%s %s %s\n", STA_DRIVER_VERSION));



then it complies and loads mt7650 - but the adapter is still unknown when executing lsusb
  0  
  0  
#3
Options

Information

Helpful: 0

Views: 1324

Replies: 2

Related Articles