Existe um driver funcional para o adaptador USB sem fio baseado no Mediatek MT7610?

0

Acabei de comprar um adaptador USB WiFi AC600 Mediatek MT7610 de banda dupla. O fabricante compromete-se a ser suportado ou compatível com o Ubuntu. No entanto, os arquivos de driver que vêm no pacote não compilam ou 'fazem' seguindo as instruções incluídas.

Além disso, ao tentar instalá-lo, meu antigo adaptador WiFi foi desativado. Graças a um bom samaritano no AskUbuntu, recuperei o antigo driver e aprendi o caminho para recuperá-lo. No entanto, gostaria de ter o meu novo adaptador instalado.

Alguém tem um driver operacional para este dispositivo no Ubuntu ou foi capaz de compilar as fontes que vêm com o item?

Quando eu conecto o dongle em uma porta USB, recebo a seguinte saída dos comandos lsusb e dmesg:

Ubu1:~$ lsusb
Bus 002 Device 002: ID 15a4:1336 Afatech Technologies, Inc. SDHC/MicroSD/MMC/MS/M2/CF/XD Flash Card Reader
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 0e8d:7610 MediaTek Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 046d:c52e Logitech, Inc. MK260 Wireless Combo Receiver
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

E:

Ubu1:~$ dmesg
(...)
[    1.272869] rtc_cmos 00:01: setting system clock to 2017-02-11 19:49:42 UTC (1486842582)
[    1.273359] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    1.273360] EDD information not available.
[    1.273390] PM: Hibernation image not present or could not be loaded.
[    1.384667] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    1.404722] ata4.00: ATAPI: HL-DT-ST DVDRAM GH22NS40, NL02, max UDMA/100
[    1.410723] usb 1-4: New USB device found, idVendor=148f, idProduct=3070
[    1.410725] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.410728] usb 1-4: Product: 802.11 n WLAN
[    1.410729] usb 1-4: Manufacturer: Ralink
[    1.410731] usb 1-4: SerialNumber: 1.0
[    1.428750] ata4.00: configured for UDMA/100
(...)

Eu posso fornecer os drivers que acompanham o dispositivo, se necessário. Mas certamente alguém tropeçou nisso antes e já resolveu o problema.

Qualquer pista que eu possa receber será muito apreciada. Agradecemos antecipadamente pela sua atenção.

Esta é a saída do comando make indicado em 'Como instalar o TP-LINK T2UH (...)'

Ubu1:~/mt7610u_wifi_sta_v3002_dpo_20130916$ make
make -C tools
make[1]: Entering directory '/home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/tools'
/home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/tools/bin2h
chipset = mt7610u
cp -f os/linux/Makefile.6 /home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/Makefile
make -C /lib/modules/4.8.0-37-generic/build SUBDIRS=/home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.8.0-37-generic'
  CC [M]  /home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.o
In file included from /home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:28:
/home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
 #define EXT_BUILD_CHANNEL_LIST  /* must define with CRDA */

<command-line>:0:0: note: this is the location of the previous definition
In file included from /home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:98:0,
                 from /home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44,
                 from /home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:28:
/home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/include/cfg80211.h:35:49: error: ‘IEEE80211_NUM_BANDS’ undeclared here (not in a function)
  struct ieee80211_supported_band Cfg80211_bands[IEEE80211_NUM_BANDS];
                                                 ^~~~~~~~~~~~~~~~~~~
/home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
/home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:341:16: warning: unused variable ‘pAd’ [-Wunused-variable]
  RTMP_ADAPTER *pAd = (RTMP_ADAPTER *)pAdSrc;
                ^~~
In file included from /home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:28:
/home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:450:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
         DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
                                   ^
/home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^~~
/home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:450:9: note: in expansion of macro ‘DBGPRINT’
         DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
         ^~~~~~~~
scripts/Makefile.build:289: recipe for target '/home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.o' failed
make[2]: *** [/home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.o] Error 1
Makefile:1491: recipe for target '_module_/home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux' failed
make[1]: *** [_module_/home/jorge/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.8.0-37-generic'
Makefile:403: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2

Espero que isso traga luz para o problema. Obrigado pela sua ajuda.

    
por Jorge Millan 11.02.2017 / 21:42

0 respostas