OSMC wireless dongle faulty?

The Dongle my friend tried to get working in Ubuntu was lended to me along with his RPI2 running osmc (fully updated)

Syslog before connecting stick:

http://paste.osmc.io/yuyuxerohe

After connecting stick you can see the wireless adapter and try to enable it, but grab-logs-A hangs.

dmesg output before trying to do grab-logs -A:

Faulty stick?

[    2.297265] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.297445] Indeed it is in host mode hprt0 = 00001101
[    2.497460] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    2.497485] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.498372] hub 1-1:1.0: USB hub found
[    2.498501] hub 1-1:1.0: 5 ports detected
[    2.777161] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    2.877381] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    2.877396] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.880155] smsc95xx v1.0.4
[    2.940150] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:6b:67:ca
[    3.572578] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.583100] fsck: E2fsck run: /bin/e2fsck -p -C 0 /dev/mmcblk0p2
[    3.583336] fsck: Filesystem UUID: 56a3846e-e6b0-4b71-935b-4d5b8e9793dd
[    3.583548] fsck: Filesystem UUID: 56a3846e-e6b0-4b71-935b-4d5b8e9793dd
[    3.583747] fsck: Setting free inodes count to 1909639 (was 1909640)
[    3.583946] fsck: Setting free blocks count to 5330723 (was 5330719)
[    3.584190] fsck: /dev/mmcblk0p2: clean, 31865/1941504 files, 2421725/7752448 blocks
[    5.065767] random: systemd urandom read with 71 bits of entropy available
[    5.132374] NET: Registered protocol family 10
[    5.469367] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[    5.469597] systemd[1]: Found ordering cycle on basic.target/start
[    5.469620] systemd[1]: Found dependency on sysinit.target/start
[    5.469640] systemd[1]: Found dependency on kbd.service/start
[    5.469660] systemd[1]: Found dependency on remote-fs.target/start
[    5.469677] systemd[1]: Found dependency on remote-fs-pre.target/start
[    5.469694] systemd[1]: Found dependency on connman.service/start
[    5.469711] systemd[1]: Found dependency on dbus.service/start
[    5.469727] systemd[1]: Found dependency on basic.target/start
[    5.469745] systemd[1]: Breaking ordering cycle by deleting job kbd.service/start
[    5.469767] systemd[1]: Job kbd.service/start deleted to break ordering cycle starting with basic.target/start
[    5.470059] systemd[1]: Found ordering cycle on basic.target/start
[    5.470080] systemd[1]: Found dependency on sysinit.target/start
[    5.470099] systemd[1]: Found dependency on rpcbind.service/start
[    5.470118] systemd[1]: Found dependency on network-online.target/start
[    5.470135] systemd[1]: Found dependency on network.target/start
[    5.470151] systemd[1]: Found dependency on connman.service/start
[    5.470168] systemd[1]: Found dependency on dbus.service/start
[    5.470185] systemd[1]: Found dependency on basic.target/start
[    5.470202] systemd[1]: Breaking ordering cycle by deleting job rpcbind.service/start
[    5.470224] systemd[1]: Job rpcbind.service/start deleted to break ordering cycle starting with basic.target/start
[    5.596505] fuse init (API version 7.23)
[    5.708122] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    6.032894] systemd-udevd[188]: starting version 215
[    6.211176] lirc_dev: IR Remote Control driver registered, major 244
[    6.215841] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[    6.260998] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[    6.262194] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    6.620836] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    7.177289] lirc_rpi: auto-detected active high receiver on GPIO pin 18
[    7.177724] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
[    7.177738] lirc_rpi: driver registered!
[    8.206792] systemd-journald[163]: Received request to flush runtime journal from PID 1
[    8.406448] input: lircd as /devices/virtual/input/input0
[    8.822852] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[    8.823340] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   10.426217] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   10.433520] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
[   10.486644] 8021q: 802.1Q VLAN Support v1.8
[   12.535772] random: nonblocking pool is initialized
[   12.622123] Console: switching to colour dummy device 80x30
[  396.198377] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[  396.313954] usb 1-1.2: New USB device found, idVendor=0e8d, idProduct=7610
[  396.313990] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  396.314010] usb 1-1.2: Product: WiFi
[  396.314027] usb 1-1.2: Manufacturer: MediaTek
[  396.314045] usb 1-1.2: SerialNumber: 1.0
[  397.219398] rtusb init rt2870 --->
[  397.220857]

=== pAd = b1c53000, size = 857568 ===

[  397.220943] <-- RTMPAllocTxRxRingMemory, Status=0
[  397.221159] <-- RTMPAllocAdapterBlock, Status=0
[  397.221477] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[  397.222618] MCUType = 2
[  397.222881] NVM is EFUSE
[  397.222893] Endpoint(8) is for In-band Command
[  397.222903] Endpoint(4) is for WMM0 AC0
[  397.222911] Endpoint(5) is for WMM0 AC1
[  397.222919] Endpoint(6) is for WMM0 AC2
[  397.222927] Endpoint(7) is for WMM0 AC3
[  397.222935] Endpoint(9) is for WMM1 AC0
[  397.222944] Endpoint(84) is for Data-In
[  397.222952] Endpoint(85) is for Command Rsp
[  397.231933] usbcore: registered new interface driver rt2870
[  462.875518] -->RTUSBVenderReset
[  462.875678] <--RTUSBVenderReset
[  462.881104] fw version:0.0.00 build:0
[  462.881129] OSMC firmware date:
[  462.881196] ilm length = 0(bytes)
[  462.881209] dlm length = 0(bytes)
[  462.908422] #
[  462.914940] loading fw.........
[  462.977594] Unable to handle kernel paging request at virtual address 7f25b000
[  462.977638] pgd = acd20000
[  462.977651] [7f25b000] *pgd=10291811, *pte=00000000, *ppte=00000000
[  462.977693] Internal error: Oops: 7 [#1] PREEMPT SMP ARM
[  462.977712] Modules linked in: mt7610u_sta(O) 8021q garp stp llc evdev uinput snd_bcm2835 snd_pcm snd_timer snd bcm2835_thermal bcm2835_gpiomem bcm2835_wdt lirc_rpi(C) lirc_dev rc_core uio_pdrv_genirq uio fuse ipv6
[  462.977844] CPU: 3 PID: 248 Comm: connmand Tainted: G         C O    4.4.8-3-osmc #1
[  462.977865] Hardware name: BCM2709
[  462.977883] task: ad0a4a40 ti: acfd2000 task.ti: acfd2000
[  462.977912] PC is at memcpy+0x48/0x330
[  462.977928] LR is at 0x6eabff9f
[  462.977945] pc : [<80411aa8>]    lr : [<6eabff9f>]    psr: 200f0013
sp : acfd3c74  ip : 9c8ff1e6  fp : acfd3d04
[  462.977975] r10: ae4e8000  r9 : 000038f8  r8 : de3c2f8e
[  462.977994] r7 : 8d23d0ff  r6 : 7672dadc  r5 : de5ff8cd  r4 : 60def1a8
[  462.978014] r3 : b26e47fc  r2 : 00001cf8  r1 : 7f25aff4  r0 : ae4e9b84
[  462.978037] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[  462.978058] Control: 10c5387d  Table: 2cd2006a  DAC: 00000055
[  462.978077] Process connmand (pid: 248, stack limit = 0xacfd2210)
[  462.978097] Stack: (0xacfd3c74 to 0xacfd4000)
[  462.978118] 3c60:                                              000200f8 aa8b2d00 00000230
[  462.978146] 3c80: aaa48700 ae4e8004 b1c53000 7f20967c 000038f8 00000236 00000000 00000000
[  462.978174] 3ca0: 7f208f88 ae4e8004 acfd3cbc 00000000 00000000 000038f8 ee4e8000 00000009
[  462.978201] 3cc0: 00c00020 00c00020 00000000 001b001b acfd3cd0 acfd3cd0 acfd3d04 b1c53000
[  462.978249] 3ce0: 7f237d7c b1d23000 00000001 b1c54000 7f22851c 00000000 acfd3d24 acfd3d08
[  462.978288] 3d00: 7f1b0218 7f2091e0 00003f9c 00007d7c b1d23000 b1c53000 acfd3d6c acfd3d28
[  462.978327] 3d20: 7f1b1f64 7f1b01e8 acfd3d54 7f1ece8c 000000ac acdff180 acfd3e0c 00000000
[  462.978367] 3d40: 00000754 00000000 b1c53000 b1c53000 aa988030 00001002 b1d26000 00000000
[  462.978406] 3d60: acfd3d9c acfd3d70 7f1ecea0 7f1b1e60 00000000 00000000 00000000 00000002
[  462.978445] 3d80: 806dc27c b1c53000 7f212bd4 acfd3de8 acfd3ddc acfd3da0 7f1c2864 7f1ecdb8
[  462.978485] 3da0: 60000013 ffffffff acfd3df4 00001002 acfd3e34 acfd3dc0 b1c53000 7f212bd4
[  462.978525] 3dc0: aa988000 aa988030 00001002 b1d26000 acfd3e0c acfd3de0 7f1ecb80 7f1c200c
[  462.978564] 3de0: acfd3de8 00000000 7f1ecdac 7f1ecc04 00000000 aa988000 00000001 b1d26000
[  462.978603] 3e00: acfd3e34 acfd3e10 8064d57c 7f1ecb30 ffff8001 aa988000 aa988000 00000001
[  462.978642] 3e20: ffff9003 aa98817c acfd3e64 acfd3e38 80652f14 8064d4b0 00000000 aa988000
[  462.978681] 3e40: 00001002 7e84c9a8 aa988140 00000000 aaaaf600 00000000 acfd3e94 acfd3e68
[  462.978720] 3e60: 806531f0 80652e1c 00000000 80644560 acfd3e94 acfd3eb0 aaaaf60c 7e84c9a8
[  462.978759] 3e80: 00000000 00000000 acfd3efc acfd3e98 806dd114 806531d0 00000020 00000000
[  462.978798] 3ea0: aaaaf60c aa988000 00000014 00008914 6e616c77 00000030 00000000 00000000
[  462.978838] 3ec0: 00009003 00000000 00000000 00000000 00001002 00008914 ffffff24 7e84c9a8
[  462.978877] 3ee0: 80bc6300 00008914 0000000d 00000000 acfd3f0c acfd3f00 806deb1c 806dcad0
[  462.978917] 3f00: acfd3f2c acfd3f10 80628f04 806de984 aa8b8780 aa8b8780 7e84c9a8 ad79e020
[  462.978956] 3f20: acfd3fa4 acfd3f30 801f736c 80628d30 80b6fd10 00000002 0000000d ad79e000
[  462.978997] 3f40: 800170c4 acfd2000 acfd3fa4 acfd3f58 8062b394 80205328 acfd3f6c 00000000
[  462.979037] 3f60: 800170c4 7e84cb9c 00000000 ad79e000 ad963490 00000000 0000000d 00000000
[  462.979077] 3f80: 0000000d 01560da0 00000036 800170c4 acfd2000 00000000 00000000 acfd3fa8
[  462.979116] 3fa0: 80016f40 801f6fd4 00000000 0000000d 0000000d 00008914 7e84c9a8 00009003
[  462.979155] 3fc0: 00000000 0000000d 01560da0 00000036 0008f32c 01560da0 00000001 01555478
[  462.979196] 3fe0: 000a567c 7e84c9a4 00055de5 76c83206 60000030 0000000d 2effa861 2effac61
[  462.979686] [<80411aa8>] (memcpy) from [<7f20967c>] (andes_usb_loadfw+0x4a8/0xbd4 [mt7610u_sta])
[  462.980263] [<7f20967c>] (andes_usb_loadfw [mt7610u_sta]) from [<7f1b0218>] (NICLoadFirmware+0x3c/0xb0 [mt7610u_sta])
[  462.980813] [<7f1b0218>] (NICLoadFirmware [mt7610u_sta]) from [<7f1b1f64>] (rt28xx_init+0x110/0x57c [mt7610u_sta])
[  462.981309] [<7f1b1f64>] (rt28xx_init [mt7610u_sta]) from [<7f1ecea0>] (rt28xx_open+0xf4/0x164 [mt7610u_sta])
[  462.981796] [<7f1ecea0>] (rt28xx_open [mt7610u_sta]) from [<7f1c2864>] (RTMP_COM_IoctlHandle+0x864/0x8a8 [mt7610u_sta])
[  462.982248] [<7f1c2864>] (RTMP_COM_IoctlHandle [mt7610u_sta]) from [<7f1ecb80>] (MainVirtualIF_open+0x5c/0xe0 [mt7610u_sta])
[  462.982497] [<7f1ecb80>] (MainVirtualIF_open [mt7610u_sta]) from [<8064d57c>] (__dev_open+0xd8/0x20c)
[  462.982549] [<8064d57c>] (__dev_open) from [<80652f14>] (__dev_change_flags+0x104/0x3b4)
[  462.982592] [<80652f14>] (__dev_change_flags) from [<806531f0>] (dev_change_flags+0x2c/0x190)
[  462.982641] [<806531f0>] (dev_change_flags) from [<806dd114>] (devinet_ioctl+0x650/0x76c)
[  462.982687] [<806dd114>] (devinet_ioctl) from [<806deb1c>] (inet_ioctl+0x1a4/0x1d0)
[  462.982736] [<806deb1c>] (inet_ioctl) from [<80628f04>] (sock_ioctl+0x1e0/0x2b0)
[  462.982781] [<80628f04>] (sock_ioctl) from [<801f736c>] (SyS_ioctl+0x3a4/0x640)
[  462.982830] [<801f736c>] (SyS_ioctl) from [<80016f40>] (ret_fast_syscall+0x0/0x1c)
[  462.982876] Code: ba000002 f5d1f03c f5d1f05c f5d1f07c (e8b151f8)
[  462.988319] ---[ end trace f6e7b6fe2821b4b7 ]---

Hi

I don’t think the dongle is faulty. You seem to be on a Raspberry Pi 2. Please remove the dongle, attach a network cable and run the following commands:

wget http://ftp.fau.de/osmc/osmc/apt/pool/main/r/rbp-userland-osmc/rbp-userland-osmc_1.2.0-3_armhf.deb
sudo dpkg -i rbp-userland-osmc*
sudo apt-get install rbp2-image-4.4.8-7-osmc

The OSMC WiFi AC dongle is a very new product, and I unfortunately noticed a scenario where a kernel panic can occur that evaded my testing. I have fixed this, but I’m anxious to push this kernel publicly yet as the way we build overlays for Raspberry Pi has also changed, and that needs further testing. The fix is scheduled for the next update, but you can try it now by following the commands above.

I’d love it if you can test this out and let me know if the above changes work for you

Best

Sam

dmesg looks better:

[   45.717270] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[   45.833017] usb 1-1.2: New USB device found, idVendor=0e8d, idProduct=7610
[   45.833052] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   45.833070] usb 1-1.2: Product: WiFi
[   45.833088] usb 1-1.2: Manufacturer: MediaTek
[   45.833106] usb 1-1.2: SerialNumber: 1.0
[   46.843181] rtusb init rt2870 --->
[   46.844411]

=== pAd = b1f1d000, size = 859128 ===

[   46.844486] <-- RTMPAllocTxRxRingMemory, Status=0
[   46.844678] <-- RTMPAllocAdapterBlock, Status=0
[   46.844987] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[   46.846093] MCUType = 2
[   46.846382] NVM is EFUSE
[   46.846394] Endpoint(8) is for In-band Command
[   46.846403] Endpoint(4) is for WMM0 AC0
[   46.846413] Endpoint(5) is for WMM0 AC1
[   46.846420] Endpoint(6) is for WMM0 AC2
[   46.846428] Endpoint(7) is for WMM0 AC3
[   46.846435] Endpoint(9) is for WMM1 AC0
[   46.846442] Endpoint(84) is for Data-In
[   46.846449] Endpoint(85) is for Command Rsp
[   46.846709] 80211> RFICType = 3
[   46.846725] 80211> Number of channel = 44
[   46.846733] 80211> Number of rate = 12
[   46.846741] 80211> CurTxPower = 0 dBm
[   46.846753] 80211> TxStream = 0
[   46.847067] crda> requlation requestion by core: 00
[   46.847803] 80211> CFG80211_Register
[   46.849556] usbcore: registered new interface driver rt2870

Now the light lights up, and I get the possibility to connect to my 5GHz network, but the connection fails after entering the password.

http://paste.osmc.io/avoveyuleb

Also the GUI hangs after this. had to do a sudo reboot from ssh.

Excerpt from dmesg:

[  338.903868] VendrCmdMultiWrite_nBytes failed!
[  338.903909] WIFI device has been disconnected
[  338.903924] WIFI device has been disconnected
[  338.903930] VendrCmdMultiWrite_nBytes failed!
[  339.347167] command (31) timeout(500ms)
[  339.347192] txq qlen = 0
[  339.347199] rxq qlen = 0
[  339.347206] kickq qlen = 0
[  339.347214] ackq qlen = 1
[  339.347221] tx_doneq.qlen = 0
[  339.347228] rx_done qlen = 1
[  339.347237] msg->retransmit_times = 2
[  339.347302] WIFI device has been disconnected
[  339.347316] WIFI device has been disconnected
[  339.347324] VendrCmdMultiWrite_nBytes failed!
[  339.347326] WIFI device has been disconnected
[  339.347331] VendrCmdMultiWrite_nBytes failed!
[  339.347335] WIFI device has been disconnected
[  339.347339] VendrCmdMultiWrite_nBytes failed!
[  339.347348] WIFI device has been disconnected
[  339.347354] WIFI device has been disconnected
[  339.347360] VendrCmdMultiWrite_nBytes failed!
[  339.347368] WIFI device has been disconnected
[  339.347376] WIFI device has been disconnected
[  339.347382] VendrCmdMultiWrite_nBytes failed!
[  339.347390] WIFI device has been disconnected
[  339.347396] WIFI device has been disconnected
[  339.347402] VendrCmdMultiWrite_nBytes failed!
[  339.347409] WIFI device has been disconnected
[  339.347416] WIFI device has been disconnected
[  339.347422] VendrCmdMultiWrite_nBytes failed!
[  339.347428] WIFI device has been disconnected
[  339.347434] WIFI device has been disconnected
[  339.347440] VendrCmdMultiWrite_nBytes failed!
[  339.347448] WIFI device has been disconnected
[  339.347454] VendrCmdMultiWrite_nBytes failed!
[  339.347460] WIFI device has been disconnected
[  339.347466] VendrCmdMultiWrite_nBytes failed!
[  339.347473] WIFI device has been disconnected
[  339.347479] VendrCmdMultiWrite_nBytes failed!
[  339.347485] WIFI device has been disconnected
[  339.347491] VendrCmdMultiWrite_nBytes failed!
[  339.347497] WIFI device has been disconnected
[  339.347504] VendrCmdMultiWrite_nBytes failed!
[  339.347511] WIFI device has been disconnected
[  339.347517] VendrCmdMultiWrite_nBytes failed!
[  339.347524] WIFI device has been disconnected
[  339.347530] WIFI device has been disconnected
[  339.347536] VendrCmdMultiWrite_nBytes failed!
[  339.347543] WIFI device has been disconnected
[  339.347550] WIFI device has been disconnected
[  339.347556] VendrCmdMultiWrite_nBytes failed!
[  339.347563] WIFI device has been disconnected
[  339.347569] WIFI device has been disconnected
[  339.347575] VendrCmdMultiWrite_nBytes failed!
[  339.347584] WIFI device has been disconnected
[  339.347590] VendrCmdMultiWrite_nBytes failed!
[  339.347618] LOST_AP_INFORM
[  339.347644] rtusb_disconnect: unregister usbnet usb-3f980000.usb-1.2
[  339.347672] ===> rt28xx_close
[  339.347712] 80211> CFG80211_OpsKeyDel ==>
[  339.347724] 80211> CFG80211_OpsKeyDel ==>
[  339.347732] 80211> CFG80211_OpsKeyDel ==>
[  339.347739] 80211> CFG80211_OpsKeyDel ==>
[  339.347746] 80211> CFG80211_OpsKeyDel ==>
[  339.347753] 80211> CFG80211_OpsKeyDel ==>
[  339.363377] WIFI device has been disconnected
[  339.363457] WIFI device has been disconnected
[  339.363464] WIFI device has been disconnected
[  339.363471] WIFI device has been disconnected
[  339.367507] tx_kickout_fail_count = 0
[  339.367532] tx_timeout_fail_count = 1
[  339.367540] rx_receive_fail_count = 385
[  339.367547] alloc_cmd_msg = 23978
[  339.367554] free_cmd_msg = 23978
[  339.459448] <=== rt28xx_close
[  339.459485] RtmpOSNetDevDetach: enter
[  339.459495] RtmpOSNetDevDetach: unregister_netdev
[  339.597350] 80211> unregister/free wireless device
[  339.637589] WIFI device has been disconnected
[  339.637636] ==>RT65xx_WLAN_ChipOnOff(): OnOff:0, Reset= 0, pAd->WlanFunCtrl:0xff000003, Reg-WlanFunCtrl=0xffffffff
[  339.637648] WIFI device has been disconnected
[  339.637658] VendrCmdMultiWrite_nBytes failed!
[  339.637692] WIFI device has been disconnected
[  339.637827] ---> RTMPFreeTxRxRingMemory
[  339.637946] <--- RTMPFreeTxRxRingMemory
[  339.638271]  RTUSB disconnect successfully
[  339.877160] usb 1-1.2: new high-speed USB device number 6 using dwc_otg
[  339.992724] usb 1-1.2: New USB device found, idVendor=0e8d, idProduct=7610
[  339.992752] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  339.992766] usb 1-1.2: Product: WiFi
[  339.992778] usb 1-1.2: Manufacturer: MediaTek
[  339.992790] usb 1-1.2: SerialNumber: 1.0
[  339.994886]

=== pAd = b20c7000, size = 859128 ===

[  339.994954] <-- RTMPAllocTxRxRingMemory, Status=0
[  339.995139] <-- RTMPAllocAdapterBlock, Status=0
[  339.995377] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
[  339.996583] MCUType = 2
[  339.996901] NVM is EFUSE
[  339.996917] Endpoint(8) is for In-band Command
[  339.996928] Endpoint(4) is for WMM0 AC0
[  339.996936] Endpoint(5) is for WMM0 AC1
[  339.996945] Endpoint(6) is for WMM0 AC2
[  339.996952] Endpoint(7) is for WMM0 AC3
[  339.996960] Endpoint(9) is for WMM1 AC0
[  339.996967] Endpoint(84) is for Data-In
[  339.996974] Endpoint(85) is for Command Rsp
[  339.997263] 80211> RFICType = 3
[  339.997290] 80211> Number of channel = 44
[  339.997300] 80211> Number of rate = 12
[  339.997307] 80211> CurTxPower = 0 dBm
[  339.997319] 80211> TxStream = 0
[  339.997616] crda> requlation requestion by core: 00
[  339.997923] 80211> CFG80211_Register
[  340.007660] -->RTUSBVenderReset
[  340.007806] <--RTUSBVenderReset
[  340.013815] fw version:0.1.00 build:7640
[  340.013840] build time:201308221655____
[  340.013889] ilm length = 68780(bytes)
[  340.013901] dlm length = 11476(bytes)
[  340.037254] #
[  340.043629] loading fw......
[  340.107373] #
[  340.329288] RTMP_TimerListAdd: add timer obj b2145f8c!
[  340.329321] RTMP_TimerListAdd: add timer obj b2145fd4!
[  340.329331] RTMP_TimerListAdd: add timer obj b214601c!
[  340.329343] RTMP_TimerListAdd: add timer obj b2145f44!
[  340.329356] RTMP_TimerListAdd: add timer obj b2145e6c!
[  340.329365] RTMP_TimerListAdd: add timer obj b2145eb4!
[  340.329376] RTMP_TimerListAdd: add timer obj b20d9c34!
[  340.329385] RTMP_TimerListAdd: add timer obj b20c903c!
[  340.329393] RTMP_TimerListAdd: add timer obj b20c9088!
[  340.329402] RTMP_TimerListAdd: add timer obj b20d9d1c!
[  340.329416] RTMP_TimerListAdd: add timer obj b20d9ba4!
[  340.329431] RTMP_TimerListAdd: add timer obj b20d9cd4!
[  340.329470] Loading default parameter profile
[  340.329488] cfg_mode=12
[  340.329507] wmode_band_equal(): Band Not Equal!
[  340.329608] no file read method, using vfs_read
[  340.329886] cfg_mode=8
[  340.329901] wmode_band_equal(): Band Not Equal!
[  340.330487] Key1Str is Invalid key length(0) or Type(0)
[  340.330553] Key2Str is Invalid key length(0) or Type(0)
[  340.330615] Key3Str is Invalid key length(0) or Type(0)
[  340.330678] Key4Str is Invalid key length(0) or Type(0)
[  340.331886] 1. Phy Mode = 17
[  340.331894] 2. Phy Mode = 17
[  340.331905] NVM is Efuse and its size =1d[1e0-1fc]
[  340.346869] /mnt/package/kernel-osmc/src/linux-4.4.8/drivers/net/wireless/mt7610u/os/linux/../../chips/mt76x0.c:2114 assert (pAd->TxPower[choffset].Channel == 36)failed
[  340.358454] ERROR!!! E2PROM: WRONG VERSION 0x2, should be 1
[  340.362389] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xfb
[  340.362403] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffffb
[  340.362411] Temperature Tx ALC not enabled
[  340.378298] 3. Phy Mode = 17
[  340.378320] AntCfgInit: primary/secondary ant 0/1
[  340.386518] RTMPSetPhyMode: channel is out of range, use first channel=36
[  340.388218] MCS Set = ff 00 00 00 01
[  340.398298] <==== rt28xx_init, Status=0
[  340.398312] 80211> re-init bands...
[  340.398479] 80211> re-init bands...
[  340.398490] 80211> RFICType = 3
[  340.398498] 80211> Number of channel = 44
[  340.398507] 80211> Number of rate = 12
[  340.398514] 80211> CurTxPower = 0 dBm
[  340.398532] 80211> TxStream = 1
[  340.398542] crda> CFG80211_RegRuleApply ==>
[  340.398552] crda> reset chan/power for 2.4GHz
[  340.398563] crda> reset chan/power for 5GHz
[  340.398573] Chan 036:        power 0 dBm, DFS 0, DFS Type 0
[  340.398582] Chan 038:        power 0 dBm, DFS 0, DFS Type 0
[  340.398592] Chan 040:        power 0 dBm, DFS 0, DFS Type 0
[  340.398604] Chan 044:        power 0 dBm, DFS 0, DFS Type 0
[  340.398613] Chan 046:        power 0 dBm, DFS 0, DFS Type 0
[  340.398622] Chan 048:        power 0 dBm, DFS 0, DFS Type 0
[  340.398631] Chan 052:        power 0 dBm, DFS 1, DFS Type 0
[  340.398640] Chan 054:        power 0 dBm, DFS 1, DFS Type 0
[  340.398649] Chan 056:        power 0 dBm, DFS 1, DFS Type 0
[  340.398657] Chan 060:        power 0 dBm, DFS 1, DFS Type 0
[  340.398667] Chan 062:        power 0 dBm, DFS 1, DFS Type 0
[  340.398677] Chan 064:        power 0 dBm, DFS 1, DFS Type 0
[  340.398686] Chan 100:        power 0 dBm, DFS 1, DFS Type 0
[  340.398696] Chan 104:        power 0 dBm, DFS 1, DFS Type 0
[  340.398705] Chan 108:        power 0 dBm, DFS 1, DFS Type 0
[  340.398715] Chan 112:        power 0 dBm, DFS 1, DFS Type 0
[  340.398726] Chan 116:        power 0 dBm, DFS 1, DFS Type 0
[  340.398735] Chan 118:        power 0 dBm, DFS 1, DFS Type 0
[  340.398744] Chan 120:        power 0 dBm, DFS 1, DFS Type 0
[  340.398753] Chan 124:        power 0 dBm, DFS 1, DFS Type 0
[  340.398762] Chan 126:        power 0 dBm, DFS 1, DFS Type 0
[  340.398771] Chan 128:        power 0 dBm, DFS 1, DFS Type 0
[  340.398780] Chan 132:        power 0 dBm, DFS 1, DFS Type 0
[  340.398789] Chan 134:        power 0 dBm, DFS 1, DFS Type 0
[  340.398798] Chan 136:        power 0 dBm, DFS 1, DFS Type 0
[  340.398807] Chan 140:        power 0 dBm, DFS 1, DFS Type 0
[  340.398816] Chan 149:        power 0 dBm, DFS 0, DFS Type 0
[  340.398825] Chan 151:        power 0 dBm, DFS 0, DFS Type 0
[  340.398833] Chan 153:        power 0 dBm, DFS 0, DFS Type 0
[  340.398843] Chan 157:        power 0 dBm, DFS 0, DFS Type 0
[  340.398853] Chan 159:        power 0 dBm, DFS 0, DFS Type 0
[  340.398862] Chan 161:        power 0 dBm, DFS 0, DFS Type 0
[  340.398871] Chan 165:        power 0 dBm, DFS 0, DFS Type 0
[  340.398879] Chan 167 (frq 5835):     not allowed!
[  340.398887] Chan 169 (frq 5845):     not allowed!
[  340.398895] Chan 171 (frq 5855):     not allowed!
[  340.398902] Chan 173 (frq 5865):     not allowed!
[  340.398910] Chan 184 (frq 4920):     not allowed!
[  340.398918] Chan 188 (frq 4940):     not allowed!
[  340.398926] Chan 192 (frq 4960):     not allowed!
[  340.398933] Chan 196 (frq 4980):     not allowed!
[  340.398942] Chan 208 (frq 6040):     not allowed!
[  340.398949] Chan 212 (frq 6060):     not allowed!
[  340.398958] Chan 216 (frq 6080):     not allowed!
[  340.398965] crda> Number of channels = 33
[  340.400651] 0x1300 = 00064300
[  340.400664] RTMPDrvSTAOpen(1):Check if PDMA is idle!
[  340.401030] RTMPDrvSTAOpen(2):Check if PDMA is idle!
[  340.401859] 80211> CFG80211_OpsPwrMgmt ==>
[  340.408387] 80211> CFG80211_OpsTxPwrGet ==>
[  340.409197] 80211> CFG80211_OpsTxPwrGet ==>
[  340.410033] 80211> CFG80211_OpsTxPwrGet ==>
[  340.468198] 80211> CFG80211_OpsPmksaFlush ==>
[  340.516869] 80211> CFG80211_OpsScan ==>
[  342.415347] 80211> Can not find any chan info!
[  342.517707] 80211> Can not find any chan info!
[  343.949037] 80211> Can not find any chan info!
[  343.981829] 80211> Can not find any chan info!
[  344.084296] 80211> Can not find any chan info!
[  345.699160] 80211> cfg80211_scan_done
[  345.700617] 80211> CFG80211_OpsSurveyGet ==>
[  345.700651] 80211> busy time = 2132559912 -2135125200
[  353.036801] 80211> CFG80211_OpsScan ==>
[  354.908229] 80211> Can not find any chan info!
[  355.010648] 80211> Can not find any chan info!
[  356.502422] 80211> Can not find any chan info!
[  356.577222] 80211> Can not find any chan info!
[  358.260496] 80211> cfg80211_scan_done
[  358.262011] 80211> CFG80211_OpsSurveyGet ==>
[  358.262048] 80211> busy time = 2132559912 -2135125200

Hi

I would prefer to see the whole dmesg output, as I can’t see if the firmware in /lib/firmware is being read.

Also - can you clarify what encryption you are using? We disable WEP by default because it’s insecure, so WPA/WPA2 only for now. This is adjustable – but if you have WEP you may as well disable encryption altogether.

Also – which region are you in? You may need to change the Channels that we can.

If you want to try a connection outside of My OSMC (which the forum seems to suggest is a little fragile in our most recent update – don’t worry we’re working on it), you can run:

sudo -s
connmanctl
scan wifi
agent on
services
connect SERVICENAME

Sam

Region is Sweden, it’s an ASUS RT-AC66U access point. WPA2 personal/AES. seems to use channel 40 at the moment

Full dmesg:

See /lib/firmware/mt7610u_sta.dat

CountRegionABand may need adjusting.

  •    0: use 36, 40, 44, 48, 52, 56, 60, 64, 149, 153, 157, 161, 165 Channel
    
  •    1: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140 Channel
    
  •    2: use 36, 40, 44, 48, 52, 56, 60, 64 Channel
    
  •    3: use 52, 56, 60, 64, 149, 153, 157, 161 Channel
    
  •    4: use 149, 153, 157, 161, 165 Channel
    
  •    5: use 149, 153, 157, 161 Channel
    
  •    6: use 36, 40, 44, 48 Channel
    
  •    7: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 149, 153, 157,
    
  •    8: use 52, 56, 60, 64 Channel
    
  •    9: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 132, 136, 140, 149, 153, 157, 161, 165 Channel
    
  •   10: use 36, 40, 44, 48, 149, 153, 157, 161, 165 Channel
    
  •   11: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 149, 153, 157, 161 Channel

7 seems alright for sweden (same as rest of europe) and 40 should be good to go

Something is fishy when entering the passphrase on the command line i get some cryptic errors

services
*AO Wired                ethernet_b827eb6b67ca_cable
  a skynet5              wifi_000000000000_736b796e657435_managed_psk

Tried this trick for saving the passphrase:

https://bbs.archlinux.org/viewtopic.php?pid=1268317#p1268317

But it didn’t seem to help much:

connmanctl> services
*AO Wired                ethernet_b827eb6b67ca_cable
*A  skynet5              wifi_000000000000_736b796e657435_managed_psk

ifconfig still doesn’t say anything about it trying to get an IP.

I’d need to see the full output of dmesg and connmanctl to see what’s going on. The snippets don’t show much

I couldn’t see an error above with your association

Sam

No errors from connman (i have the little file with the passphrase set):

root@osmcWEST8ROAD:~# connmanctl
Error getting VPN connections: The name net.connman.vpn was not provided by any 
connmanctl> scan wifi
Scan completed for wifi
connmanctl> agent on
Agent registered
connmanctl> services
*AO Wired                ethernet_b827eb6b67ca_cable
*A  skynet5              wifi_000000000000_736b796e657435_managed_psk
                         wifi_000000000000_hidden_managed_none
connmanctl> connect wifi_000000000000_736b796e657435_managed_psk
connmanctl>

passphrase saved:

root@osmcWEST8ROAD:~# cat /var/lib/connman/skynet5-psk.config
[service_wifi_000000000000_736b796e657435_managed_psk]
Type = wifi
Name = skynet5
Passphrase = xxxxxxx

full dmesg: