openwrt 外挂usb 网卡 RTL8188CU 及添加 RT5572 kernel支持

RT5572 原来叫 Ralink雷凌 现在被 MTK 收购了,淘宝上买的很便宜50块邮,2.4 5G 双频。在 win10 上插了试试,果然是支持 5G。这上面写着 飞荣 是什么牌子,有知道的和我说下。

(win10 现在驱动真好方便,一更新就有了,也不需要什么驱动精灵之类的)

自带的 linux 驱动在这里:https://www.mediatek.tw/products/broadbandWifi/rt5572?spm=2013.1.0.0.40b44978CqLJns  2018-11-27 今天看的时候,它把 mac 和 linux 的下载地址搞反了。

先在 ubuntu 16 上进行测试。

下载源码:(选 最右边 mac 那个,它放反了)

DPO_RT5572_LinuxSTA_2.6.1.3_20121022.tar.bz2

手上有一个 RTL8188CU 先用它试一下,linux 自带驱动了,配置一下插下就能识别出来。

 

正常,2个 radio 。

测试 RT5572

树莓派3b+ 正常使用

[  506.853450] usb 1-1.3: Product: 802.11 n WLAN
[  506.853459] usb 1-1.3: Manufacturer: Ralink
[  506.853467] usb 1-1.3: SerialNumber: 1.0
[  507.087331] usb 1-1.3: reset high-speed USB device number 6 using dwc_otg
[  507.226561] ieee80211 phy2: rt2x00_set_rt: Info - RT chipset 5592, rev 0222 detected
[  507.253528] ieee80211 phy2: rt2x00_set_rf: Info - RF chipset 000f detected
[  507.279898] ieee80211 phy2: Selected rate control algorithm 'minstrel_ht'
[  507.281607] usbcore: registered new interface driver rt2800usb
[  507.415511] ieee80211 phy2: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[  507.419466] ieee80211 phy2: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36
[  507.773046] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready

ubuntu 16 虽然识别正常,但不能使用

[13113.632772] usb 1-1: Product: 802.11 n WLAN
[13113.632773] usb 1-1: Manufacturer: Ralink
[13113.632775] usb 1-1: SerialNumber: 1.0
[13113.867800] usb 1-1: reset high-speed USB device number 6 using ehci-pci
[13114.140768] ieee80211 phy3: rt2x00_set_rt: Info - RT chipset 5592, rev 0222 detected
[13114.554434] ieee80211 phy3: rt2x00_set_rf: Info - RF chipset 000f detected
[13114.558554] ieee80211 phy3: Selected rate control algorithm 'minstrel_ht'
[13115.588110] rt2800usb 1-1:1.0 wlx441ca87f7a17: renamed from wlan0
[13115.622007] IPv6: ADDRCONF(NETDEV_UP): wlx441ca87f7a17: link is not ready
[13115.622041] ieee80211 phy3: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[13115.622088] ieee80211 phy3: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29

iwlist wlx441ca87f7a17 scan
wlx441ca87f7a17 Failed to read scan data : Resource temporarily unavailable

今天在 openwrt 的 配置项里面找了下,有个 rt2800 的打开这个就能识别到 RT网卡。 

经过测试,虽然可以识别,却不能使用。

 

 

在有时间,在研究吧,最近事多。 

posted @ 2018-11-24 19:46  宁次  阅读(15965)  评论(0编辑  收藏  举报