Posts by jksmurf

    Power management is off on both devices by default it seems, so that's positive.

    The A6210 doesn't come up by itself as wlan0 (or wlan1) on boot if the other Wifi Adapter is not plugged in together with it.

    However if I start with the A6210 the Libreelec config shows Network Wireless Active but there are no connections.

    If I then plug/unplug the adapter connections appear; I can even SSH in with putty, but it quickly drops the connection and putty times out.

    This is all I got before it timed out. It's in a powered hub so power should not be an issue.

    There is possibly something going on with sleep though, I believe. If I play something before Libreelec goes into that darker sleep mode screen, it seems to keep the connection for a little while, before breaking it and then it collapses. Once in that sleep mode though, something happens to the adapter, it's like snow white except she never wakes up. Either way it stops functioning.

    You read my mind but yep I deleted them first before the update. Thanks for the heads up though, much appreciated. All quite a steep learning curve for me.

    Still having WiFi issues with that Adapter constantly dropping connection, unlike the TP -Link T4Uv2. My router (ASUS AC86U with Merlin) shows the A6210 as having two devices come through that client whereas the T4U shows only one.

    Unlike Windows where you can navigate around changing drivers and power / driver settings, this is a little intimidating. A6200/A6210/WNDA3100v2 wireless adapter intermittently disconnects | Answer | NETGEAR Support

    Please check file name again.

    Magic!, It works when using the other Wifi to Putty into it (at least it recognises it without the error, I can't seem to SSH into that alone though) My thanks to you, such a simple thing. I wonder why they changed the name. I hope I have the correct bins (source of the files as above) as I can get in and it shows as Wlan1 (other Wifi is Wlan0) just not by itself.

    I ended up putting a copy of both mt7662.bin and mt7662_rom_patch.bin (without the u, just renamed the original files), in firmware, the ones WITH u's in mediatek:

    /storage/.config/firmware

    /storage/.config/firmware/mediatek/

    I'm not sure which one got it going but it worked. I got the idea for the two different sets from this post ASUS USB-N53 B1: failed to load ROM patch · Issue #232 · openwrt/mt76 · GitHub (LorenzoBianconi, really who seems to know what he is doing, unlike me :) ).

    cheers

    k

    For future reference, the FOUR files I used, I found in kernel/git/firmware/linux-firmware.git - Repository of firmware blobs for use with the Linux kernel, in the latest gz file. It's a 78M file with ALL the firmware, my file name was linux-firmware-20190514.tar.gz. I extracted it with Z-Zip, found the files in:

    1. The root folder, for mt7662.bin and mt7662_rom_patch.bin which I put into /storage/.config/firmware/

    2. The mediatek folder, for the mt7662u.bin and mt7662u_rom_patch.bin which I put into /storage/.config/firmware/mediatek/

    Will see if it continues to work, had a couple of hangs (authenticate/deauthenticate) ...

    k.

    You may have to rename mt7662u_rom_patch.bin from linux-firmware if there is no other firmware file.

    .

    .

    .

    Please check file name again.

    I am not sure what you meant by rename but the two mt766u files I downloaded were from here mediatek - kernel/git/firmware/linux-firmware.git - Repository of firmware blobs for use with the Linux kernel so I believe the names are correct.

    The files both showed up in /var/lib/firmware and /var/lib/firmware/mediatek. after I created the directory mediatek in /storage/.config/firmware.

    Not sure what else to do?

    EDIT: Doh; sorry, too tired. Error message says mt7662_rom_patch.bin, my file was mt7662u_rom_patch.bin

    Will retry.

    k.

    Well I did create one, and the shortcuts? (sorry Linux noob from windows...) showed the files were indeed linked into /var/lib/firmware.

    However it still did not load the driver unfortunately.

    Code
    [   10.344753] usb 1-1.4: reset high-speed USB device number 5 using dwc_otg
    [   10.479281] mt76x2u 1-1.4:1.0: ASIC revision: 76120044
    [   10.538669] mt76x2u 1-1.4:1.0: Direct firmware load for mt7662_rom_patch.bin failed with error -2
    [   10.554289] usbcore: registered new interface driver 8812au
    [   11.067466] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
    [   11.124270] mt76x2u: probe of 1-1.4:1.0 failed with error -2
    [   11.124987] usbcore: registered new interface driver mt76x2u

    dmesg|paste:

    http://ix.io/1j8u

    Thanks mglae, I will try. I do have a list of binaries for that chipset but I am a wee bit confused here as libreelec does not seem to have a /storage/.config/firmware directory. Should I create one?

    Another update:

    OK, so thinking the updated drivers would be in the new kernel, I downloaded and installed the latest Alpha RPi2 Librelec version LibreELEC.tv Matrix build #0514 here:

    libreelec-rpi2.arm-9.1-milhouse-20190514213922-#0514-g28380d2.tar

    [From this thread LibreELEC Testbuilds for RaspberryPi (Kodi 19.0)].

    It updated from 9.0.2 just fine but was a wee bit disappointed (appreciate it is Libreelec alpha) to see the same error message; seems the drivers are updated but the firmware (bins?) are not in the e /var/lib/firmware directory. Is this by design at the current time?

    Code
    # dmesg | grep mt76x2u
    [   10.181344] mt76x2u 1-1.3:1.0: ASIC revision: 76120044
    [   10.357937] mt76x2u 1-1.3:1.0: Direct firmware load for mt7662_rom_patch.bin                                        failed with error -2
    [   10.948463] mt76x2u: probe of 1-1.3:1.0 failed with error -2
    [   10.949428] usbcore: registered new interface driver mt76x2u

    dmesg http://ix.io/1j52

    lsusb

    Code
    QTPi2:~ # lsusb
    Bus 001 Device 005: ID 0cf3:7015 Qualcomm Atheros Communications TP-Link TL-WN821N v3 / TL-WN822N v2 802.11n [Atheros AR7010+AR9287]
    Bus 001 Device 004: ID 0846:9053 NetGear, Inc.
    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

    I believe the in-tree firmware is here mediatek - kernel/git/firmware/linux-firmware.git - Repository of firmware blobs for use with the Linux kernel but using WinSCP to look in the /var/lib/firmware directory I do not see a mediatek folder (which would have those files in it?)

    Cheers for any help

    k.

    Just an update.

    While it should have worked with the current (Librelec 9.0.2) Kernel, it seems like a couple of Linux gurus (Lorenzo Bianconi and Stanislaw Gruszka) are currently (or have just) fixed the drivers due to the same error message I had about probe failing on the Mediatek Wifi driver for the chipset associated with the Netgear A6210 device (and others with the same chip), which apparently has issues on the RPi.

    Not sure when (if) it will be in the updated Kernel, or which one.

    Code
    QTPi2:~ # dmesg | grep mt76x2u
    [    7.044298] usbcore: registered new interface driver mt76x2u
    [   31.454748] mt76x2u 1-1.4:1.0: ASIC revision: 76120044
    [   31.481849] mt76x2u: probe of 1-1.4:1.0 failed with error -22

    [BUG] mt76x0u: Probing issues on Raspberry Pi 3 B+ - Patchwork

    Also '[BUG] mt76x0u: Probing issues on Raspberry Pi 3 B+' thread - MARC

    cheers

    k.

    Sorry to open an old thread, as per my other thread on WiFi devices I'm looking for an 802.11AC device supported by LibreElec and looking at the wireless devices in the linux kernel relevant to 9.0.2 of librelec (where the changelog for LibreElec 9.0.2 shows Kernel updated to 4.19.36 ), suggests the Netgear A6210 is now supported (since kernel 4.19)?

    Was hoping this could be confirmed. I did a wee bit of digging myself and whilst linux/usb.c at master · torvalds/linux · GitHub shows the Netgear A6210 being in the latest linux Kernel as the latest seems to be 5.1.1 Linux kernel - Wikipedia, I am not sure if it is also in 4.19.36?

    Code
    { USB_DEVICE(0x0b05, 0x1833) },    /* Asus USB-AC54 */
    { USB_DEVICE(0x0b05, 0x17eb) },    /* Asus USB-AC55 */
    .
    .
    .
    { USB_DEVICE(0x0846, 0x9053) },    /* Netgear A6210 */

    So I tried to dig around in /var/lib/modules/4.19.36/kernel/drivers/net/wireless/mediatek

    In putty using: modinfo /usr/lib/kernel-overlays/base/lib/modules/4.19.36/kernel/drivers/net/wireless/mediate

    k/mt76/mt76x2u.ko I got this (below) but it shows the mt7662, not the mt7612u? The wiki https://wikidevi.com/wiki/netgear_a6210 shows the device ID 0846:9053 which seems to appear at number 2 in he list of alias's below (and so do the ASUS USB-AC54 ( 0b05, 1833) and USB-AC55 ( 0b05, 17eb).

    In putty using: modinfo /usr/lib/kernel-overlays/base/lib/modules/4.19.36/kernel/drivers/net/wireless/mediatek/mt76/mt76-usb.ko I get this but no mt7612u?

    Code
    filename:       /usr/lib/kernel-overlays/base/lib/modules/4.19.36/kernel/drivers/net/wireless/mediatek/mt76/mt76-usb.ko
    license:        Dual BSD/GPL
    author:         Lorenzo Bianconi <[email protected]>
    depends:        mt76,mac80211
    intree:         Y
    name:           mt76_usb
    vermagic:       4.19.36 SMP mod_unload ARMv7 p2v8

    In putty using: modinfo /usr/lib/kernel-overlays/base/lib/modules/4.19.36/kernel/drivers/net/wireless/mediatek/mt76/mt76x2-common.ko

    does not specifically show the mt7612u either?

    Code
    filename:       /usr/lib/kernel-overlays/base/lib/modules/4.19.36/kernel/drivers/net/wireless/mediatek/mt76/mt76x2-common.ko
    license:        Dual BSD/GPL
    depends:        mt76,mac80211,cfg80211
    intree:         Y
    name:           mt76x2_common
    vermagic:       4.19.36 SMP mod_unload ARMv7 p2v8

    So I'm guessing mt76x2u.ko is the correct one and it IS supported?

    Sorry about the long post I really am a Linux newbie but wanted to have a go poking around myself first before I ask (and show I tried).

    Thanks a lot.

    k.

    Oh. I'm guessing I'd need to do this everytime an udpate came out. Might be simpler finding a device that is in the kernel, referring to your note above "and since we plan to drop support for all wifi devices that don't have in-kernel drivers in LE 10.0 we're aren't in a rush to add more of them now."

    Can I assume this lists all devices with "in-kernel drivers" https://wikidevi.com/wiki/list_of_wi-fi_device_ids_in_linux or here (USB only) query_hostif.php?hostif=usb? or here wireless\net\drivers - kernel/git/torvalds/linux.git - Linux kernel source tree ?

    I appreciate not all versions of the devices tabled are supported e.g. I can only find the B1 version of the USB-AC55 adapter locally but I need the MediaTek version (see table below). I have to say that list seems quite short for newer devices (if you consider the life cycle of devices available), really hard to find the "old" e.g. 5 years old!) adapter that is in-kernel.

    Wireless-AC1300 USB 3.0 Adapter • MediaTek MT7612UN

    Wireless-AC1300 USB 3.0 Adapter • Realtek RTL8812BU

    Like a numpty, I've now bought two devices (well I actually had one already) that are not in-kernel.

    cheers

    k.

    Hi,

    Fully understand your frustration with Realtek and I'm also pretty annoyed that one version works then they change the version or chipset and it ceases to work. Having said that I'm also keen on seeing if I can get this thing to work myself, if possible. I am almost a Linux newbie, but have read a lot, just got stuck now.

    I can make the changes to the Makefile driver referenced above when I put it on my Windows desktop but I wasn't sure where (in which directory) to put the downloaded (and amended) directory on the Raspberry Pi. I was then going to run "make" and "sudo make install" as instructed on github.

    Code
    LibreELEC (official): 9.0.1 (RPi2.arm)
    QTPi2:~ # lsusb
    Bus 001 Device 005: ID 0cf3:7015 Qualcomm Atheros Communications TP-Link TL-WN821N v3 / TL-WN822N v2 802.11n [Atheros AR7010+AR9287]
    Bus 001 Device 006: ID 20a0:0001 Clay Logic
    Bus 001 Device 004: ID 2357:0115 TP-Link
    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

    dmesg|paste here

    http://ix.io/1ia7

    I then found a site showthread.php?t=2314039 which suggested to run this: (I modified the http address).

    Code
    sudo apt-get update
    sudo apt-get install git
    git clone https://github.com/EntropicEffect/rtl8822bu
    cd rtl8822bu_master
    make
    sudo make install

    I intended to run that with Putty and use WinSCp (which works) OK to the RPi2 (using the working WiFi Dongle Device 005) to edit the makefile on the Pi.

    However,

    1. I was told I didn't need :sudo" in "sudo apt-get update" as I had root access; OK.

    2. So I tried "apt-get update"; but I was then told "There is no working 'apt-get' ".

    So, how do you actually add the WiFi driver (if you want to do so by yourself?) please?

    Thanks a lot

    k.

    Hi, me again,

    Well I am now on Librelec 9.0.1 and was hoping the ASUS AC53 (not nano) would be supported but alas, not to be.

    I do note however that this person GitHub - mumixam/LibreELEC.tv: Fork of LibreELEC with package added for RTL8822BU wireless cards (ASUS USB-AC53 Nano) has added a "Fork of LibreELEC with package added for RTL8822BU wireless cards (ASUS USB-AC53 Nano)". This being the case, could I ask whether it would be possible to add the driver package to 9.0.1? If yes, how do I go about doing this please (simply)?

    Thanks a lot,

    k.

    Hi, just registered so I could ask a similar question.

    RPi2, Librelec 8.95.003.

    I am trying, like the OP to get AC53 (AC1200), not nano version, to be recognised by Librelec, no go; with or without a powered USB hub.

    A D-Link and a TP-Link Wireless N USB Dongle are both recognised immediately (Kudos to the Libreelec team) even without a USB hub.

    I worked out from other threads I need to supply a dmesg log which I have done using putty (once I worked that out...). See below.

    I also tried to supply lspci -k and lspci -nn but both threw an error about not being found.

    Code
    QTPi2:~ # lspci -k
    -sh: lspci: not found

    The Box has a FLIRC, Wireless Keyboard Dongle and Ethernet-USB Adapter in the USB Ports.

    I then tried lsusb and got the devices listed below - it seems to recognise the AC53 with a Broadcom BCM43526 Chip?

    Could someone kindly point me as to what to do next please? (I also looked at this thread to no avail HTPC Wifi not working ).