Hi,
I’ve just upgraded my Kodi from 2018.5 to 2019.11. I need to use a AC51 wifi Stick, because my rpi3 does not support 5Ghz Wifi. The Problem is, that the stick is recognized but no interface is created.
I’ve found a thread (Drivers for OSMC wifi dongle - #5 by caius) where it was suggested, to copy a bin file to /lib/firmware/mediatek/. I did that (first created the folder, it was missing), but that did not work.
Here is my dmesg output:
https://paste.osmc.tv/iyemacorog
Here is an excerpt of dmesg when the stick is plugged in:
[414.795876] usb 1-1.4: USB disconnect, device number 5
[ 416.623633] usb 1-1.4: new high-speed USB device number 6 using dwc_otg
[ 416.769260] usb 1-1.4: New USB device found, idVendor=0b05, idProduct=17d1, bcdDevice= 1.00
[ 416.769281] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 416.769291] usb 1-1.4: Product: WiFi
[ 416.769301] usb 1-1.4: Manufacturer: MediaTek
[ 416.769311] usb 1-1.4: SerialNumber: 1.0
lsusb looks like this:
osmc@pi:~$ lsusb
Bus 001 Device 005: ID 0b05:17d1 ASUSTek Computer, Inc. AC51 802.11a/b/g/n/ac Wireless Adapter [Mediatek MT7610U]
Bus 001 Device 004: ID 0603:0002 Novatek Microelectronics Corp. (remote controll receiver)
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
What else can I try to get this thing running.
Edit:
I’ve tried the following:
unplug device
sudo -i
modprobe mt7610u_sta
echo 0b05 17d1 > /sys/module/mt7610u_sta/drivers/usb:rt2870/new_id
plug device
got this in dmesg:
Summary
[ 1094.915210]
=== pAd = 96bfcfb6, size = 846752 ===
[ 1094.915259] ← RTMPAllocTxRxRingMemory, Status=0
[ 1094.915348] ← RTMPAllocAdapterBlock, Status=0
[ 1094.915575] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[ 1094.916691] MCUType = 2
[ 1094.916931] NVM is EFUSE
[ 1094.916937] Endpoint(8) is for In-band Command
[ 1094.916941] Endpoint(4) is for WMM0 AC0
[ 1094.916945] Endpoint(5) is for WMM0 AC1
[ 1094.916948] Endpoint(6) is for WMM0 AC2
[ 1094.916952] Endpoint(7) is for WMM0 AC3
[ 1094.916955] Endpoint(9) is for WMM1 AC0
[ 1094.916958] Endpoint(84) is for Data-In
[ 1094.916962] Endpoint(85) is for Command Rsp
[ 1094.924025] mt76x0: disagrees about version of symbol module_layout
[ 1094.928204] -->RTUSBVenderReset
[ 1094.928279] <–RTUSBVenderReset
[ 1094.933286] fw version:0.1.00
[ 1094.933294] build:7640
[ 1094.933297] OSMC firmware date:
[ 1094.933300] 2
[ 1094.933303] 0
[ 1094.933305] 1
[ 1094.933307] 3
[ 1094.933310] 0
[ 1094.933312] 8
[ 1094.933314] 2
[ 1094.933317] 2
[ 1094.933319] 1
[ 1094.933322] 6
[ 1094.933324] 5
[ 1094.933326] 5
[ 1094.933329] _
[ 1094.933331] _
[ 1094.933334] _
[ 1094.933336] _
[ 1094.933342] ilm length = 68780(bytes)
[ 1094.933345] dlm length = 11476(bytes)
[ 1094.968597] #
[ 1094.974636] loading fw
[ 1094.976012] .
[ 1094.982615] .
[ 1094.989221] .
[ 1094.995819] .
[ 1095.002267] .
[ 1095.008644] .
[ 1095.048403] #
[ 1095.265488] RTMP_TimerListAdd: add timer obj b3e889c4!
[ 1095.265497] RTMP_TimerListAdd: add timer obj b3e889ec!
[ 1095.265502] RTMP_TimerListAdd: add timer obj b3e88a14!
[ 1095.265507] RTMP_TimerListAdd: add timer obj b3e8899c!
[ 1095.265514] RTMP_TimerListAdd: add timer obj b3e88924!
[ 1095.265518] RTMP_TimerListAdd: add timer obj b3e8894c!
[ 1095.265523] RTMP_TimerListAdd: add timer obj b3e1cb6c!
[ 1095.265527] RTMP_TimerListAdd: add timer obj b3e0c03c!
[ 1095.265532] RTMP_TimerListAdd: add timer obj b3e0c068!
[ 1095.265536] RTMP_TimerListAdd: add timer obj b3e1cbf4!
[ 1095.265541] RTMP_TimerListAdd: add timer obj b3e1cb1c!
[ 1095.265550] RTMP_TimerListAdd: add timer obj b3e1cbcc!
[ 1095.265568] Loading default parameter profile
[ 1095.265578] cfg_mode=12
[ 1095.265586] wmode_band_equal(): Band Not Equal!
[ 1095.265657] RtmpOSFileOpen(): Error 2 opening /lib/firmware/mt7610u_sta.dat
[ 1095.265663] Open file “/lib/firmware/mt7610u_sta.dat” failed (configuration file not absolutely necessary)
[ 1095.265670] 1. Phy Mode = 63
[ 1095.265673] 2. Phy Mode = 63
[ 1095.265680] NVM is Efuse and its size =1d[1e0-1fc]
[ 1095.275151] /mnt/package/kernel-osmc/src/linux-4.19.55/drivers/net/wireless/mt7610u/os/linux/…/…/chips/mt76x0.c:2114 assert (pAd->TxPower[choffset].Channel == 36)failed
[ 1095.282892] ERROR!!!
[ 1095.282898] E2PROM: WRONG VERSION 0x2, should be 1
[ 1095.285882] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xf8
[ 1095.285888] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffff8
[ 1095.285890] Temperature Tx ALC not enabled
[ 1095.298209] 3. Phy Mode = 63
[ 1095.298220] AntCfgInit: primary/secondary ant 0/1
[ 1095.304123] CountryRegionABand=158 not support
[ 1095.304130] RTMPSetPhyMode: channel is out of range, use first channel=1
[ 1095.306352] Wrong configuration. No valid channel found. Check “ContryCode” and “ChannelGeography” setting.
[ 1095.361932] Bulk In Failed. Status=-2, BIIdx=0x0, BIRIdx=0x0, actual_length= 0x0
[ 1095.372083] CMDTHREAD_RESET_BULK_IN: Cannot do bulk in because flags(0x11080042) on !
[ 1095.372150] receive cmd msg fail(-2)
[ 1095.372173] tx_kickout_fail_count = 0
[ 1095.372176] tx_timeout_fail_count = 0
[ 1095.372180] rx_receive_fail_count = 0
[ 1095.372184] alloc_cmd_msg = 105
[ 1095.372187] free_cmd_msg = 105
[ 1095.372220] !!! rt28xx init fail !!!