My OSMC 5GHz WiFi card has stopped working on my Vero2. I can see 5GHz networks in the network list in OSMC, but when I click to connect on one nothing happens.
I have searched the forum and all the solutions seem to reference a kernel rebuild for Pi, which obviously isn’t relevant to me.
lsusb shows:
osmc@VERO2OSMC:~$ lsusb
Bus 001 Device 003: ID 04d9:2519 Holtek Semiconductor, Inc. Shenzhen LogoTech 2.4GHz receiver
Bus 001 Device 005: ID 0e8d:7610 MediaTek Inc.
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
osmc@VERO2OSMC:~$
If I look at dmesg after plugging the dongle in it says the below, which seems to indicate a number of driver failures:
[1117243.970579] usb 1-1.1: new high-speed USB device number 5 using dwc_otg
[1117244.086918] usb 1-1.1: New USB device found, idVendor=0e8d, idProduct=7610
[1117244.086934] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3[1117244.086943] usb 1-1.1: Product: WiFi
[1117244.086951] usb 1-1.1: Manufacturer: MediaTek
[1117244.086958] usb 1-1.1: SerialNumber: 1.0
[1117244.088141]
=== pAd = f0ce0000, size = 857568 ===
[1117244.088188] <-- RTMPAllocTxRxRingMemory, Status=0
[1117244.088661] <-- RTMPAllocAdapterBlock, Status=0
[1117244.089064] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[1117244.095780] MCUType = 2
[1117244.096269] NVM is EFUSE
[1117244.096278] Endpoint(8) is for In-band Command
[1117244.096284] Endpoint(4) is for WMM0 AC0
[1117244.096289] Endpoint(5) is for WMM0 AC1
[1117244.096295] Endpoint(6) is for WMM0 AC2
[1117244.096300] Endpoint(7) is for WMM0 AC3
[1117244.096305] Endpoint(9) is for WMM1 AC0
[1117244.096310] Endpoint(84) is for Data-In
[1117244.096315] Endpoint(85) is for Command Rsp
[1117244.104931] -->RTUSBVenderReset
[1117244.105060] <--RTUSBVenderReset
[1117244.110070] fw version:0.1.00 build:7640
[1117244.110083] OSMC firmware date:201308221655____
[1117244.110103] ilm length = 68780(bytes)
[1117244.110110] dlm length = 11476(bytes)
[1117244.130379] #
[1117244.137291] loading fw......
[1117244.210367] #
[1117244.441051] RTMP_TimerListAdd: add timer obj f0d5eb84!
[1117244.441068] RTMP_TimerListAdd: add timer obj f0d5ebcc!
[1117244.441075] RTMP_TimerListAdd: add timer obj f0d5ec14!
[1117244.441082] RTMP_TimerListAdd: add timer obj f0d5eb3c!
[1117244.441091] RTMP_TimerListAdd: add timer obj f0d5ea64!
[1117244.441106] RTMP_TimerListAdd: add timer obj f0d5eaac!
[1117244.441113] RTMP_TimerListAdd: add timer obj f0cf2c2c!
[1117244.441120] RTMP_TimerListAdd: add timer obj f0ce203c!
[1117244.441126] RTMP_TimerListAdd: add timer obj f0ce2088!
[1117244.441133] RTMP_TimerListAdd: add timer obj f0cf2d14!
[1117244.441141] RTMP_TimerListAdd: add timer obj f0cf2b9c!
[1117244.441150] RTMP_TimerListAdd: add timer obj f0cf2ccc!
[1117244.441166] Loading default parameter profile
[1117244.441177] cfg_mode=12
[1117244.441186] wmode_band_equal(): Band Not Equal!
[1117244.441421] cfg_mode=8
[1117244.441430] wmode_band_equal(): Band Not Equal!
[1117244.441895] Key1Str is Invalid key length(0) or Type(0)
[1117244.441943] Key2Str is Invalid key length(0) or Type(0)
[1117244.441996] Key3Str is Invalid key length(0) or Type(0)
[1117244.442044] Key4Str is Invalid key length(0) or Type(0)
[1117244.442955] 1. Phy Mode = 17
[1117244.442962] 2. Phy Mode = 17
[1117244.442975] NVM is Efuse and its size =1d[1e0-1fc]
[1117244.476391] /mnt/package/kernel-osmc/src/vero2-linux-master/drivers/net/wireless/mt7610u/os/linux/../../chips/mt76x0.c:2114 assert (pAd->TxPower[choffset].Channel == 36)failed
[1117244.505644] ERROR!!! E2PROM: WRONG VERSION 0x2, should be 1
[1117244.517152] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xfb
[1117244.517166] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffffb[1117244.517172] Temperature Tx ALC not enabled
[1117244.557660] 3. Phy Mode = 17
[1117244.557676] AntCfgInit: primary/secondary ant 0/1
[1117244.563685] RTMPSetPhyMode: channel is out of range, use first channel=36
[1117244.566676] MCS Set = ff 00 00 00 01
[1117244.576535] <==== rt28xx_init, Status=0
[1117244.578674] 0x1300 = 00064300
[1117244.578685] RTMPDrvSTAOpen(1):Check if PDMA is idle!
[1117244.579057] RTMPDrvSTAOpen(2):Check if PDMA is idle!
[1117244.656702] /mnt/package/kernel-osmc/src/vero2-linux-master/drivers/net/wireless/mt7610u/os/linux/../../common/cmm_asic.c:2112 assert KeyIdx < 4failed
[1117244.657572] /mnt/package/kernel-osmc/src/vero2-linux-master/drivers/net/wireless/mt7610u/os/linux/../../common/cmm_asic.c:2112 assert KeyIdx < 4failed
[1117248.935322] ===>rt_ioctl_giwscan. 1(1) BSS returned, data->length = 202
[1117261.206692] ===>rt_ioctl_giwscan. 1(1) BSS returned, data->length = 202
Full logs would be best. I see you’ve run lsusb and dmesg, so grab-logs -A is probably easiest for you.
The OSMC WiFi dongle should have a configuration file in /lib/firmware that might have been overwritten or become corrupted. What’s the output from running
Note that behaviour remains the same (ie in the OSMC GUI the 5MHz connections show as available, but when I ‘click’ on them nothing happens - whereas if I ‘click’ 2.4MHz connections I am prompted to connect).
I have rebooted the Vero2, but the same behaviour persists (ie in the OSMC GUI the 5MHz connections show as available, but when I ‘click’ on them nothing happens - whereas if I ‘click’ 2.4MHz connections I am prompted to connect)
/var/lib/connman contains the below, reflecting the 2.4GHz connection that I have made that you mention above:
osmc@VERO2OSMC:/var/lib/connman$ ls
ethernet_086160112334_cable
settings
wifi_34c3d23282d8_546f6e79574c414e5f322e34_managed_psk
34:c3:d2:32:82:d8 is not the MAC address of the dongle, which is 7C:DD:90:B7:69:F2, so that connection is being made using the internal WiFi.
You probably need to disable the internal WiFi. According to this post, you should add the line blacklist r8189es to file /etc/modules, though I can see no mention of r8189* in the log. Perhaps @sam_nazarko can advise.
Edit: I read to the end of the thread and r8189es was a typo by Sam. The line should be blacklist 8189es.
I’m afraid that this has had no effect. I have rebooted the Vero twice and both times the internal WiFi connects, and when I click in the UI on the 5GHz item nothing happens. File contents below:
osmc@VERO2OSMC:/etc$ cat modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
#added to disable internal WiF, so external dongle will be used
blacklist 8189es
If one doesn’t already exist, create a file /etc/modprobe.d/blacklist.conf and insert the line blacklist 8189es into it. Remove the line from /etc/modules. Then reboot. Check if it’s working correctly with lsmod.
@dillthedog, this seems to have (at least partially) nailed it. After rebooting only 5GHz networks showed in the UI, and when a 5GHz network was clicked I was correctly prompted to enter a password, and am now connected to my 5GHz network.
This is reflected in the connman directory - but interesting that the MAC shows as 00:00:00:00:00:00 :
osmc@VERO2OSMC:~$ ls /var/lib/connman
ethernet_086160112334_cable
settings
wifi_000000000000_546f6e79574c414e5f35_managed_psk
wifi_34c3d23282d8_546f6e79574c414e5f322e34_managed_psk
It’s a bit of a pain that I’ll have to (remember to!) mess with /etc/modprobe.d/blacklist.conf if I want to go back to 2.4GHz, but at least now I have the option of both network frequencies to play with!!.