mt7610u_wifi_sta_v3002_dpo_20130916 icon indicating copy to clipboard operation
mt7610u_wifi_sta_v3002_dpo_20130916 copied to clipboard

problem with driver

Open artv2007 opened this issue 8 years ago • 4 comments

I try to install this drivers for TP-LINK T2UH dongle. make, make install - no errors.

Created files /lib/modules/4.8.0-kali2-686-pae/kernel/drivers/net/wireless/mt7610u_sta.ko /etc/Wireless/RT2860STA/RT2860STA.dat

dmesg [ 62.504212] usb 2-3: new high-speed USB device number 4 using ehci-pci [ 62.668278] usb 2-3: New USB device found, idVendor=148f, idProduct=761a [ 62.668288] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 62.668295] usb 2-3: Product: WiFi [ 62.668301] usb 2-3: Manufacturer: MediaTek [ 62.668306] usb 2-3: SerialNumber: 1.0 [ 62.905739] mt7610u_sta: loading out-of-tree module taints kernel. [ 62.914688] rtusb init rt2870 ---> [ 62.915850]

           === pAd = f8e81000, size = 856332 ===

[ 62.917230] <-- RTMPAllocTxRxRingMemory, Status=0 [ 62.917691] <-- RTMPAllocAdapterBlock, Status=0 [ 62.917883] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002 [ 62.919485] MCUType = 2 [ 62.919714] NVM is EFUSE [ 62.919719] Endpoint(8) is for In-band Command [ 62.919722] Endpoint(4) is for WMM0 AC0 [ 62.919725] Endpoint(5) is for WMM0 AC1 [ 62.919728] Endpoint(6) is for WMM0 AC2 [ 62.919731] Endpoint(7) is for WMM0 AC3 [ 62.919733] Endpoint(9) is for WMM1 AC0 [ 62.919736] Endpoint(84) is for Data-In [ 62.919738] Endpoint(85) is for Command Rsp [ 62.922705] usbcore: registered new interface driver rt2870

iwconfig eth0 no wireless extensions.

wlan0 IEEE 802.11 ESSID:"w3244"
Mode:Managed Frequency:2.462 GHz Access Point: 10:7B:EF:5E:2B:B8
Bit Rate=1 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=54/70 Signal level=-56 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:5 Missed beacon:0

ra0 Ralink STA

lo no wireless extensions.

lsusb Bus 002 Device 003: ID 04f2:b071 Chicony Electronics Co., Ltd 2.0M UVC Webcam / CNF7129 Bus 002 Device 004: ID 148f:761a Ralink Technology, Corp. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 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 Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

lsmod |grep sta mt7610u_sta 790528 0 usbcore 184320 6 uvcvideo,usbhid,ehci_hcd,uhci_hcd,mt7610u_sta,ehci_pci

uname -v #1 SMP Debian 4.8.15-1kali1 (2016-12-23)

What i do wrong?

artv2007 avatar Dec 26 '16 20:12 artv2007

Today I tried to do

After plug dongle I have this in dmesg [ 1176.692225] usb 3-3: new high-speed USB device number 4 using ehci-pci [ 1176.856053] usb 3-3: New USB device found, idVendor=148f, idProduct=761a [ 1176.856063] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1176.856070] usb 3-3: Product: WiFi [ 1176.856076] usb 3-3: Manufacturer: MediaTek [ 1176.856081] usb 3-3: SerialNumber: 1.0 [ 1177.138281] mt7610u_sta: loading out-of-tree module taints kernel. [ 1177.151695] rtusb init rt2870 ---> [ 1177.153577]

           === pAd = fa77d000, size = 856332 ===

[ 1177.154950] <-- RTMPAllocTxRxRingMemory, Status=0 [ 1177.155494] <-- RTMPAllocAdapterBlock, Status=0 [ 1177.162416] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002 [ 1177.163537] MCUType = 2 [ 1177.163768] NVM is EFUSE [ 1177.163773] Endpoint(8) is for In-band Command [ 1177.163777] Endpoint(4) is for WMM0 AC0 [ 1177.163780] Endpoint(5) is for WMM0 AC1 [ 1177.163783] Endpoint(6) is for WMM0 AC2 [ 1177.163785] Endpoint(7) is for WMM0 AC3 [ 1177.163788] Endpoint(9) is for WMM1 AC0 [ 1177.163790] Endpoint(84) is for Data-In [ 1177.163793] Endpoint(85) is for Command Rsp [ 1177.173950] usbcore: registered new interface driver rt2870

Ok, I try to UP int manualy ifconfig ra0 up

Then I check dmesg again [ 1176.692225] usb 3-3: new high-speed USB device number 4 using ehci-pci [ 1176.856053] usb 3-3: New USB device found, idVendor=148f, idProduct=761a [ 1176.856063] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1176.856070] usb 3-3: Product: WiFi [ 1176.856076] usb 3-3: Manufacturer: MediaTek [ 1176.856081] usb 3-3: SerialNumber: 1.0 [ 1177.138281] mt7610u_sta: loading out-of-tree module taints kernel. [ 1177.151695] rtusb init rt2870 ---> [ 1177.153577]

           === pAd = fa77d000, size = 856332 ===

[ 1177.154950] <-- RTMPAllocTxRxRingMemory, Status=0 [ 1177.155494] <-- RTMPAllocAdapterBlock, Status=0 [ 1177.162416] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002 [ 1177.163537] MCUType = 2 [ 1177.163768] NVM is EFUSE [ 1177.163773] Endpoint(8) is for In-band Command [ 1177.163777] Endpoint(4) is for WMM0 AC0 [ 1177.163780] Endpoint(5) is for WMM0 AC1 [ 1177.163783] Endpoint(6) is for WMM0 AC2 [ 1177.163785] Endpoint(7) is for WMM0 AC3 [ 1177.163788] Endpoint(9) is for WMM1 AC0 [ 1177.163790] Endpoint(84) is for Data-In [ 1177.163793] Endpoint(85) is for Command Rsp [ 1177.173950] usbcore: registered new interface driver rt2870 [ 1228.783792] -->RTUSBVenderReset [ 1228.783907] <--RTUSBVenderReset [ 1228.788883] fw version:0.1.00 build:7640 [ 1228.788890] build time:201308221655____ [ 1228.788904] ilm length = 68780(bytes) [ 1228.788906] dlm length = 11476(bytes) [ 1228.871332] # [ 1228.878199] loading fw...... [ 1228.999462] # [ 1229.218516] RTMP_TimerListAdd: add timer obj fa7fbbcc! [ 1229.218529] RTMP_TimerListAdd: add timer obj fa7fbc10! [ 1229.218533] RTMP_TimerListAdd: add timer obj fa7fbc54! [ 1229.218555] RTMP_TimerListAdd: add timer obj fa7fbb88! [ 1229.218566] RTMP_TimerListAdd: add timer obj fa7fbabc! [ 1229.218572] RTMP_TimerListAdd: add timer obj fa7fbb00! [ 1229.218579] RTMP_TimerListAdd: add timer obj fa78fc94! [ 1229.218586] RTMP_TimerListAdd: add timer obj fa77f200! [ 1229.218592] RTMP_TimerListAdd: add timer obj fa77f248! [ 1229.218597] RTMP_TimerListAdd: add timer obj fa78fd70! [ 1229.218614] RTMP_TimerListAdd: add timer obj fa78fc0c! [ 1229.218626] RTMP_TimerListAdd: add timer obj fa78fd2c! [ 1229.227550] cfg_mode=5 [ 1229.227565] wmode_band_equal(): Band Not Equal! [ 1229.228352] Key1Str is Invalid key length(0) or Type(0) [ 1229.228428] Key2Str is Invalid key length(0) or Type(0) [ 1229.228499] Key3Str is Invalid key length(0) or Type(0) [ 1229.228576] Key4Str is Invalid key length(0) or Type(0) [ 1229.230176] 1. Phy Mode = 31 [ 1229.230181] 2. Phy Mode = 31 [ 1229.230188] NVM is Efuse and its size =1d[1e0-1fc] [ 1229.244055] /root/drv/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:2114 assert (pAd->TxPower[choffset].Channel == 36)failed [ 1229.255283] ERROR!!! E2PROM: WRONG VERSION 0x2, should be 1 [ 1229.259912] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xf8 [ 1229.259917] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffff8 [ 1229.259919] Temperature Tx ALC not enabled [ 1229.275535] 3. Phy Mode = 31 [ 1229.275543] AntCfgInit: primary/secondary ant 0/1 [ 1229.283820] RTMPSetPhyMode: channel is out of range, use first channel=1 [ 1229.286547] MCS Set = ff 00 00 00 01 [ 1229.296553] <==== rt28xx_init, Status=0 [ 1229.298024] 0x1300 = 00064300 [ 1229.298027] RTMPDrvSTAOpen(1):Check if PDMA is idle! [ 1229.298157] RTMPDrvSTAOpen(2):Check if PDMA is idle!

It became a little bit better :)

iwconfig (Now I have ra0 int) lo no wireless extensions.

wlan0 IEEE 802.11 ESSID:"SIANET"
Mode:Managed Frequency:2.422 GHz Access Point: E4:8D:8C:94:CA:66
Bit Rate=48 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=32/70 Signal level=-78 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:53 Invalid misc:598 Missed beacon:0

ra0 Ralink STA ESSID:"11n-AP" Nickname:"MT7610U_STA" Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated
Bit Rate:1 Mb/s
RTS thr:off Fragment thr:off Encryption key:off Link Quality=10/100 Signal level:0 dBm Noise level:0 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0

But I do not see ra0 in Network Connections in GUI. I try restart network.service - systemctl restart network-manager.service After that I see in Network Connections in GUI - MediaTek WiFi - status disconnected (no wifi networks available).

iwpriv ra0 driverVer ra0 driverVer:Driver version-3.0.0.2

iwpriv ra0 connStatus ra0 connStatus:Disconnected

iwpriv ra0 set SiteSurvey=1 iwpriv ra0 get_site_survey ra0 get_site_survey: Ch SSID BSSID Security Siganl(%)W-Mode ExtCH NT

Why I do not see any wifi networks? Pls help.

artv2007 avatar Dec 27 '16 09:12 artv2007

Same issue with Kali 2016.2 (but works for Ubuntu 16.10)

also sometimes:

iwpriv ra0 set SiteSurvey=1
iwpriv ra0 get_site_survey

work

PS: How to add auto-load on boot and usb plug-in? Ifconfig interface RA0 doesn't start automatically on adapter connect.

Andrey-Pavlov avatar Feb 27 '17 13:02 Andrey-Pavlov

same issue.. does anybody know the approach?

JasonOldWoo avatar Apr 18 '18 11:04 JasonOldWoo

same issue.., is someone solving it?

yqj2012 avatar Jun 29 '19 06:06 yqj2012