Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

x96mini with Ralink Technology, Corp. RT2870/RT3070 USB Wireless Adapter.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    x96mini with Ralink Technology, Corp. RT2870/RT3070 USB Wireless Adapter.


    I have a Ralink Technology, Corp. RT2870/RT3070 USB Wireless Adapter. This adapter works great with LibreELEC on my x96mini - just plug and play - good to go. I am using various ROMS with my x96mini. I have been customizing the stock ROM and now also want to add support for this WiFi adapter but I'm stuck on something. LibreELEC uses the same kernel version ( but the config is different ) as the stock ROM. When I plug the adapter into the x96mini when LibreELEC is loaded I get this from dmesg:


    LibreELEC dmesg:

    [ 398.639682@0] usb 1-2.1: Product: 802.11 n WLAN

    [ 398.639712@0] usb 1-2.1: Manufacturer: Ralink

    [ 398.639739@0] usb 1-2.1: SerialNumber: 1.0

    [ 398.722100@0] usb 1-2.1: reset high-speed USB device number 12 using xhci-hcd

    [ 398.722164@0] xhci-hcd xhci-hcd.0.auto: Setup ERROR: setup context command for slot 4.

    [ 398.802212@0] usb 1-2.1: reset high-speed USB device number 12 using xhci-hcd

    [ 398.802331@0] xhci-hcd xhci-hcd.0.auto: Setup ERROR: setup context command for slot 4.

    [ 398.882211@0] usb 1-2.1: reset high-speed USB device number 12 using xhci-hcd

    [ 398.913172@3] xhci-hcd xhci-hcd.0.auto: xHCI xhci_drop_endpoint called with disabled ep ffffffc024799e40

    [ 398.913206@3] xhci-hcd xhci-hcd.0.auto: xHCI xhci_drop_endpoint called with disabled ep ffffffc024799e00

    [ 398.913223@3] xhci-hcd xhci-hcd.0.auto: xHCI xhci_drop_endpoint called with disabled ep ffffffc024799e80

    [ 398.913239@3] xhci-hcd xhci-hcd.0.auto: xHCI xhci_drop_endpoint called with disabled ep ffffffc024799ec0

    [ 398.913255@3] xhci-hcd xhci-hcd.0.auto: xHCI xhci_drop_endpoint called with disabled ep ffffffc024799f00

    [ 398.913271@3] xhci-hcd xhci-hcd.0.auto: xHCI xhci_drop_endpoint called with disabled ep ffffffc024799f40

    [ 398.913286@3] xhci-hcd xhci-hcd.0.auto: xHCI xhci_drop_endpoint called with disabled ep ffffffc024799f80

    [ 398.913758@3] ieee80211 phy3: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected

    [ 398.928578@3] ieee80211 phy3: rt2x00_set_rf: Info - RF chipset 0005 detected

    [ 398.930646@3] ieee80211 phy3: Selected rate control algorithm 'minstrel_ht'

    [ 398.936154@2] ieee80211 phy3: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'

    [ 398.936375@2] ieee80211 phy3: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36

    [ 399.370554@3] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready


    And the Adapter works just fine.


    I have compiled the drivers for this adapter (rt2x00lib.ko, rt2x00usb.ko, rt2800lib.ko, rt2800usb.ko) which works with the stock ROM, inserted them with insmod and when I plug the Ralink into the x96mini I get this:


    Stock ROM dmesg:

    [ 500.664301@3] usb 1-2.4: new high-speed USB device number 10 using xhci-hcd

    [ 500.864310@1] usb 1-2.4: reset high-speed USB device number 10 using xhci-hcd

    [ 500.865891@1] xhci-hcd xhci-hcd.0.auto: Setup ERROR: setup context command for slot 5.

    [ 500.944271@1] usb 1-2.4: reset high-speed USB device number 10 using xhci-hcd

    [ 500.945797@1] xhci-hcd xhci-hcd.0.auto: Setup ERROR: setup context command for slot 5.

    [ 501.034383@1] usb 1-2.4: reset high-speed USB device number 10 using xhci-hcd

    [ 501.065630@1] xhci-hcd xhci-hcd.0.auto: xHCI xhci_drop_endpoint called with disabled ep ffffffc0106afa40

    [ 501.069460@1] xhci-hcd xhci-hcd.0.auto: xHCI xhci_drop_endpoint called with disabled ep ffffffc0106afa00

    [ 501.078977@1] xhci-hcd xhci-hcd.0.auto: xHCI xhci_drop_endpoint called with disabled ep ffffffc0106afa80

    [ 501.088311@1] xhci-hcd xhci-hcd.0.auto: xHCI xhci_drop_endpoint called with disabled ep ffffffc0106afac0

    [ 501.097847@1] xhci-hcd xhci-hcd.0.auto: xHCI xhci_drop_endpoint called with disabled ep ffffffc0106afb00

    [ 501.107240@1] xhci-hcd xhci-hcd.0.auto: xHCI xhci_drop_endpoint called with disabled ep ffffffc0106afb40

    [ 501.116600@1] xhci-hcd xhci-hcd.0.auto: xHCI xhci_drop_endpoint called with disabled ep ffffffc0106afb80

    [ 501.127123@1] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected

    [ 501.145885@0] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 0005 detected

    [ 501.150229@0] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'


    So the sequence happens the same between my custom ROM and LibreELEC except the stock ROM is not doing the firmware loading step.


    I've put the firmware file in my custom ROM at /lib/firmware/rt2879.bin - the file I found on the LibreELEC system.

    But this made no difference, the wlan interface is not present. The firmware loading step remains missing.


    If there is anyone out there who can give some helpful information on this issue I would appreciate it.

    Why is the stock ROM android system not loading the firmware ? That is the question.

Working...
X