15.3无法使用卡王(Card-king)KW-AC8008 AC 1200兆智能双频USB无...
Tofloor
poster avatar
weixianbin
deepin
2016-10-02 21:29
Author
网卡型号是:卡王(Card-king)KW-AC8008 AC 1200兆智能双频USB无线网卡
在win10中能正常工作,自动识别出:


在deepin linux 15.3中无法使用,lsusb命令 的结果如下:
$ lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 0e8d:7612 MediaTek Inc.
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub



$ lsusb -d 0x0e8d:0x7612 -v

Bus 004 Device 002: ID 0e8d:7612 MediaTek Inc.
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         9
  idVendor           0x0e8d MediaTek Inc.
  idProduct          0x7612
  bcdDevice            1.00
  iManufacturer           2
  iProduct                3
  iSerial                 4
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          122
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          5
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           8
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x08  EP 8 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x05  EP 5 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x06  EP 6 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x07  EP 7 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x09  EP 9 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               1



$ dmesg |grep usb
[    0.708525] usbcore: registered new interface driver usbfs
[    0.708539] usbcore: registered new interface driver hub
[    0.708573] usbcore: registered new device driver usb
[    0.890282] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.890283] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.890284] usb usb1: Product: EHCI Host Controller
[    0.890285] usb usb1: Manufacturer: Linux 4.5.0-2-amd64 ehci_hcd
[    0.890286] usb usb1: SerialNumber: 0000:00:1a.0
[    0.906266] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    0.906268] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.906269] usb usb2: Product: EHCI Host Controller
[    0.906270] usb usb2: Manufacturer: Linux 4.5.0-2-amd64 ehci_hcd
[    0.906270] usb usb2: SerialNumber: 0000:00:1d.0
[    0.907846] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    0.907847] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.907848] usb usb3: Product: xHCI Host Controller
[    0.907849] usb usb3: Manufacturer: Linux 4.5.0-2-amd64 xhci-hcd
[    0.907850] usb usb3: SerialNumber: 0000:00:14.0
[    0.910087] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[    0.910088] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.910089] usb usb4: Product: xHCI Host Controller
[    0.910090] usb usb4: Manufacturer: Linux 4.5.0-2-amd64 xhci-hcd
[    0.910091] usb usb4: SerialNumber: 0000:00:14.0
[    1.202215] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    1.218214] usb 2-1: new high-speed USB device number 2 using ehci-pci
[    1.218220] usb 3-3: new high-speed USB device number 2 using xhci_hcd
[    1.222260] usb 4-6: new SuperSpeed USB device number 2 using xhci_hcd
[    1.238751] usb 4-6: New USB device found, idVendor=0e8d, idProduct=7612
[    1.238753] usb 4-6: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[    1.238754] usb 4-6: Product: Wireless
[    1.238755] usb 4-6: Manufacturer: MediaTek Inc.
[    1.238756] usb 4-6: SerialNumber: 000000000
[    1.338530] usb 1-1: New USB device found, idVendor=8087, idProduct=8008
[    1.338532] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.348189] usb 3-3: New USB device found, idVendor=058f, idProduct=6364
[    1.348191] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.348192] usb 3-3: Product: Mass Storage Device
[    1.348193] usb 3-3: Manufacturer: Generic
[    1.348193] usb 3-3: SerialNumber: 058F63646476


系统内核:
$ uname -a
Linux waken-pc 4.5.0-2-amd64 #1 SMP Debian 4.5.3-2 (2016-05-08) x86_64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID: Deepin
Description:    Deepin 15.3
Release:        15.3
Codename:       unstable




Reply Favorite View the author
All Replies
avatar
weixianbin
deepin
2016-10-08 22:34
#1
自己顶起,版主有帮看一下吗?
Reply View the author
avatar
liujianfeng
deepin
2016-10-09 00:02
#2
这个驱动内核里没有
git clone https://github.com/ulli-kroll/mt7612u
cd mt7612u
make
sudo insmod mt7612u.ko
看看这个能不能用
Reply View the author
avatar
weixianbin
deepin
2016-10-09 03:24
#3
本帖最后由 weixianbin 于 2016-10-8 19:43 编辑
https://bbs.deepin.org/post/44210
这个驱动内核里没有
git clone https://github.com/ulli-kroll/mt7612u
cd mt7612u

刚才在台式机上试了一下,make能正常完成,但是sudo insmod mt7612u报错
insmod: ERROR: could not insert module mt7612u.ko: Unknown symbol in module

然后查看dmesg有如下信息:
sudo dmesg |tail -50
……
[ 1310.761961] mt7612u: Unknown symbol cfg80211_inform_bss_frame_data (err 0)
[ 1310.761998] mt7612u: Unknown symbol cfg80211_scan_done (err 0)
[ 1310.762015] mt7612u: Unknown symbol cfg80211_remain_on_channel_expired (err 0)
[ 1310.762030] mt7612u: Unknown symbol regulatory_hint (err 0)
[ 1310.762041] mt7612u: Unknown symbol cfg80211_new_sta (err 0)
[ 1310.762049] mt7612u: Unknown symbol cfg80211_disconnected (err 0)
[ 1310.762058] mt7612u: Unknown symbol wiphy_new_nm (err 0)
[ 1310.762064] mt7612u: Unknown symbol cfg80211_ready_on_channel (err 0)
[ 1310.762077] mt7612u: Unknown symbol wiphy_register (err 0)
[ 1310.762085] mt7612u: Unknown symbol cfg80211_put_bss (err 0)
[ 1310.762091] mt7612u: Unknown symbol cfg80211_roamed (err 0)
[ 1310.762114] mt7612u: Unknown symbol cfg80211_michael_mic_failure (err 0)
[ 1310.762119] mt7612u: Unknown symbol cfg80211_connect_result (err 0)
[ 1310.762130] mt7612u: Unknown symbol cfg80211_del_sta_sinfo (err 0)
[ 1310.762137] mt7612u: Unknown symbol wiphy_unregister (err 0)
[ 1310.762149] mt7612u: Unknown symbol cfg80211_get_bss (err 0)
[ 1310.762158] mt7612u: Unknown symbol __ieee80211_get_channel (err 0)
[ 1310.762167] mt7612u: Unknown symbol cfg80211_mgmt_tx_status (err 0)
[ 1310.762174] mt7612u: Unknown symbol cfg80211_find_ie (err 0)
[ 1310.762185] mt7612u: Unknown symbol ieee80211_channel_to_frequency (err 0)
[ 1310.762190] mt7612u: Unknown symbol cfg80211_rx_mgmt (err 0)
[ 1310.762204] mt7612u: Unknown symbol ieee80211_frequency_to_channel (err 0)
[ 1310.762211] mt7612u: Unknown symbol cfg80211_find_vendor_ie (err 0)
[ 1310.762216] mt7612u: Unknown symbol wiphy_free (err 0)

看这个信息有可能是依赖包没有加载,找出依赖包:
sudo modinfo ./mt7612u.ko |grep depend
depends:        cfg80211,usbcore


手工加载上述的2个包:
sudo modprobe cfg80211
sudo modprobe usbcore

再次加载驱动,加载没有报错,但是右侧的网络面板中,网络连接都没有了,不过还能通过有线网线上网:
sudo insmod mt7612u.ko

查看网络端口:
sudo ifconfig -a
eno1: flags=4163  mtu 1500
        inet 192.168.0.101  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::7a24:afff:febf:989  prefixlen 64  scopeid 0x20
        ether 78:24:af:bf:09:89  txqueuelen 4096  (Ethernet)
        RX packets 22106  bytes 19341607 (18.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 16716  bytes 2044374 (1.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xf7100000-f7120000  

lo: flags=73  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10
        loop  txqueuelen 1  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4099  mtu 1500
        ether e8:4e:06:32:f6:e2  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan1: flags=4098  mtu 1500
        ether ea:4e:06:32:f6:e2  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan2: flags=4098  mtu 1500
        ether ee:4e:06:32:f6:e2  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan3: flags=4098  mtu 1500
        ether f2:4e:06:32:f6:e2  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan4: flags=4098  mtu 1500
        ether f6:4e:06:32:f6:e2  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan5: flags=4098  mtu 1500
        ether fa:4e:06:32:f6:e2  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan6: flags=4098  mtu 1500
        ether fe:4e:06:32:f6:e2  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan7: flags=4098  mtu 1500
        ether 02:4e:06:32:f6:e2  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


这个时候怎么管理无线网络?如果需要系统自动加载驱动,怎么配置?



Reply View the author
avatar
weixianbin
deepin
2016-10-09 03:43
#4
上述操作过程的dmesg信息如下1:

[ 1310.762204] mt7612u: Unknown symbol ieee80211_frequency_to_channel (err 0)
[ 1310.762211] mt7612u: Unknown symbol cfg80211_find_vendor_ie (err 0)
[ 1310.762216] mt7612u: Unknown symbol wiphy_free (err 0)
[ 1598.028503] rtusb init mt7610u --->
[ 1598.029352]
               
               === pAd = ffffc90001ba1000, size = 1382136 ===

[ 1598.029414] <-- RTMPAllocTxRxRingMemory, Status=0
[ 1598.029509] <-- RTMPAllocAdapterBlock, Status=0
[ 1598.029713] ==>rlt_wlan_chip_onoff(): OnOff:1, Reset= 1, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0x20a
[ 1598.036022] RtmpChipOpsEepromHook::e2p_type=0, inf_Type=2
[ 1598.036024] RtmpEepromGetDefault::e2p_dafault=1
[ 1598.036193] NVM is EFUSE mode
[ 1598.036194] Endpoint(8) is for In-band Command
[ 1598.036195] Endpoint(4) is for WMM0 AC0
[ 1598.036195] Endpoint(5) is for WMM0 AC1
[ 1598.036196] Endpoint(6) is for WMM0 AC2
[ 1598.036196] Endpoint(7) is for WMM0 AC3
[ 1598.036197] Endpoint(9) is for WMM1 AC0
[ 1598.036198] Endpoint(84) is for Data-In
[ 1598.036198] Endpoint(85) is for Command Rsp
[ 1598.036290] 80211> RFICType= 3, NumOfChan= 58
[ 1598.036290] 80211> Number of rate = 12
[ 1598.036291] 80211> CurTxPower = 20 dBm
[ 1598.036292] ====> Rader Channel 52
[ 1598.036293] ====> Rader Channel 54
[ 1598.036293] ====> Rader Channel 56
[ 1598.036294] ====> Rader Channel 60
[ 1598.036294] ====> Rader Channel 62
[ 1598.036295] ====> Rader Channel 64
[ 1598.036295] ====> Rader Channel 100
[ 1598.036296] ====> Rader Channel 104
[ 1598.036297] 80211> TxStream = 0
[ 1598.036384] 80211> CFG80211_Register
[ 1598.036860] usbcore: registered new interface driver mt7610u
[ 1598.040128] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1598.040677] -->RTUSBVenderReset
[ 1598.040734] <--RTUSBVenderReset
[ 1598.045696] build time =
[ 1598.045697] 20140408060640a
[ 1598.045700] rom patch for E3 IC

[ 1598.045701] platform =
[ 1598.045701] ALPS
[ 1598.045703] hw/sw version =
[ 1598.045703] \xffffff8a\xffffff8a
[ 1598.045704] patch version =
[ 1598.045704]
[ 1598.046213] loading rom patchpatch_len = 20656
[ 1598.046214] cur_len = 0
[ 1598.046214] sent_len = 2040
[ 1598.046215] rom_patch_offset = 90000
[ 1598.046425] .patch_len = 20656
[ 1598.051551] cur_len = 2040
[ 1598.051552] sent_len = 2040
[ 1598.051553] rom_patch_offset = 90000
[ 1598.051846] .patch_len = 20656
[ 1598.056972] cur_len = 4080
[ 1598.056973] sent_len = 2040
[ 1598.056975] rom_patch_offset = 90000
[ 1598.057277] .patch_len = 20656
[ 1598.062403] cur_len = 6120
[ 1598.062404] sent_len = 2040
[ 1598.062405] rom_patch_offset = 90000
[ 1598.062734] .patch_len = 20656
[ 1598.067867] cur_len = 8160
[ 1598.067868] sent_len = 2040
[ 1598.067870] rom_patch_offset = 90000
[ 1598.068163] .patch_len = 20656
[ 1598.073288] cur_len = 10200
[ 1598.073289] sent_len = 2040
[ 1598.073290] rom_patch_offset = 90000
[ 1598.073614] .patch_len = 20656
[ 1598.078760] cur_len = 12240
[ 1598.078761] sent_len = 2040
[ 1598.078762] rom_patch_offset = 90000
[ 1598.079055] .patch_len = 20656
[ 1598.084180] cur_len = 14280
[ 1598.084181] sent_len = 2040
[ 1598.084182] rom_patch_offset = 90000
[ 1598.084474] .patch_len = 20656
[ 1598.089599] cur_len = 16320
[ 1598.089599] sent_len = 2040
[ 1598.089601] rom_patch_offset = 90000
[ 1598.089940] .patch_len = 20656
[ 1598.095101] cur_len = 18360
[ 1598.095102] sent_len = 2040
[ 1598.095103] rom_patch_offset = 90000
[ 1598.095423] .patch_len = 20656
[ 1598.100557] cur_len = 20400
[ 1598.100558] sent_len = 256
[ 1598.100558] rom_patch_offset = 90000
[ 1598.100856] .patch_len = 20656
[ 1598.105980] cur_len = 20656
[ 1598.105980] sent_len = 0
[ 1598.110946] Send checksum req..
[ 1598.110947] andes_usb_chk_crc
[ 1598.135050] andes_usb_enable_patch
[ 1598.135189] andes_usb_reset_wmt
[ 1598.155956] -->RTUSBVenderReset
[ 1598.156032] <--RTUSBVenderReset
[ 1598.161305] fw version:0.0.00 build:1
[ 1598.161306] build time:201406241830____
[ 1598.161318] fw for E3 IC
[ 1598.161319] ilm length = 59312(bytes)
[ 1598.161320] dlm length = 32068(bytes)
[ 1598.161906] loading fw........
[ 1598.217072] ERROR!!! Your no. of SSIDs( = 1) does not match your BssidNum( = 8)!
[ 1598.217079] cfg_mode=13
[ 1598.217080] cfg_mode=13
[ 1598.217087] wmode_band_equal(): Band Not Equal!
[ 1598.217202] APSDCapable[0]=0
[ 1598.217202] APSDCapable[1]=0
[ 1598.217203] APSDCapable[2]=0
[ 1598.217203] APSDCapable[3]=0
[ 1598.217204] APSDCapable[4]=0
[ 1598.217204] APSDCapable[5]=0
[ 1598.217205] APSDCapable[6]=0
[ 1598.217205] APSDCapable[7]=0
[ 1598.217206] APSDCapable[8]=0
[ 1598.217206] APSDCapable[9]=0
[ 1598.217207] APSDCapable[10]=0
[ 1598.217208] APSDCapable[11]=0
[ 1598.217208] APSDCapable[12]=0
[ 1598.217209] APSDCapable[13]=0
[ 1598.217209] APSDCapable[14]=0
[ 1598.217210] APSDCapable[15]=0
[ 1598.217829] 1. Phy Mode = 61
[ 1598.217831] NVM is Efuse and its size =1d[1e0-1fc]
[ 1598.227382] get_chl_grp:illegal channel (167)
[ 1598.227383] get_chl_grp:illegal channel (167)
[ 1598.227384] get_chl_grp:illegal channel (169)
[ 1598.227384] get_chl_grp:illegal channel (169)
[ 1598.227385] get_chl_grp:illegal channel (171)
[ 1598.227385] get_chl_grp:illegal channel (171)
[ 1598.227386] get_chl_grp:illegal channel (173)
[ 1598.227386] get_chl_grp:illegal channel (173)
[ 1598.228182] Country Region from e2p = ffff
[ 1598.228503] mt76x2_read_temp_info_from_eeprom:: is_temp_tx_alc=0, temp_tx_alc_enable=0
[ 1598.232196] mt76x2_get_external_lna_gain:NA type=0x11, BLNAGain=0xffffff8f, ALNAGain0=0xffffff88, ALNAGain1=0xffffffff, ALNAGain2=0xffffffff
[ 1598.232197] 2. Phy Mode = 61
[ 1598.232199] 3. Phy Mode = 61
[ 1598.232275] andes_usb_fw_init
[ 1598.333191] AntCfgInit: primary/secondary ant 0/1
[ 1598.333193] andes_load_cr:cr_type(2)
[ 1598.333624] ChipStructAssign(): MT76x2 hook !
[ 1598.333711] RTMPSetPhyMode: channel is out of range, use first channel=0
[ 1598.335546] MCS Set = ff ff 00 00 01
[ 1598.360682] mt76x2_bbp_adjust():rf_bw=2, ext_ch=3, PrimCh=64, HT-CentCh=62, VHT-CentCh=58
[ 1598.412422] TX0 power compensation = 0x38
[ 1598.412502] TX1 power compensation = 0x38
[ 1598.413342] APStartUp(): AP Set CentralFreq at 58(Prim=64, HT-CentCh=62, VHT-CentCh=58, BBP_BW=2)
[ 1598.420350] mt76x2_calibration(channel = 58)
[ 1598.811253] The 8-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 8
[ 1598.814869] Main bssid = e8:4e:06:32:f6:e2
[ 1598.814948] mt76x2_reinit_agc_gainriginal agc_vga0 = 0x58, agc_vga1 = 0x58
[ 1598.814949] mt76x2_reinit_agc_gain:updated agc_vga0 = 0x58, agc_vga1 = 0x58
[ 1598.815108] mt76x2_reinit_hi_lna_gainriginal hi_lna0 = 0x27, hi_lna1 = 0x27
[ 1598.815109] mt76x2_reinit_hi_lna_gain:updated hi_lna0 = 0x27, hi_lna1 = 0x27
[ 1598.815228] original vga value(chain0) = 58
[ 1598.815268] original vga value(chain1) = 58
[ 1598.815269] <==== rt28xx_init, Status=0
[ 1598.815959] 80211> re-init bands...
[ 1598.815961] 80211> RFICType= 3, NumOfChan= 58
[ 1598.815962] 80211> Number of rate = 12
[ 1598.815963] 80211> CurTxPower = 20 dBm
[ 1598.815965] ====> Rader Channel 52
[ 1598.815966] ====> Rader Channel 54
[ 1598.815966] ====> Rader Channel 56
[ 1598.815967] ====> Rader Channel 60
[ 1598.815968] ====> Rader Channel 62
[ 1598.815969] ====> Rader Channel 64
[ 1598.815970] ====> Rader Channel 100
[ 1598.815971] ====> Rader Channel 104
[ 1598.815972] 80211> TxStream = 2
[ 1598.815977] Chan 167 (frq 5835):
Reply View the author
avatar
weixianbin
deepin
2016-10-09 03:45
#5
上述操作过程的dmesg信息如下2:
[ 1598.815972] 80211> TxStream = 2
[ 1598.815977] Chan 167 (frq 5835):        not allowed!
[ 1598.815978] Chan 169 (frq 5845):        not allowed!
[ 1598.815979] Chan 171 (frq 5855):        not allowed!
[ 1598.815980] Chan 173 (frq 5865):        not allowed!
[ 1598.815981] Chan 184 (frq 4920):        not allowed!
[ 1598.815982] Chan 188 (frq 4940):        not allowed!
[ 1598.815983] Chan 192 (frq 4960):        not allowed!
[ 1598.815984] Chan 196 (frq 4980):        not allowed!
[ 1598.815985] Chan 208 (frq 6040):        not allowed!
[ 1598.815986] Chan 212 (frq 6060):        not allowed!
[ 1598.815987] Chan 216 (frq 6080):        not allowed!
[ 1598.815988] RTMPDrvOpen(1):Check if PDMA is idle!
[ 1598.816028] RTMPDrvOpen(2):Check if PDMA is idle!
[ 1598.860598] The 8-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 8
[ 1598.871924] andes_usb_erasefw
[ 1598.871964] ==>rlt_wlan_chip_onoff(): OnOff:0, Reset= 0, pAd->WlanFunCtrl:0x20b, Reg-WlanFunCtrl=0x20b
[ 1598.872179] receive cmd msg fail(-2)
[ 1598.872184] tx_kickout_fail_count = 0
[ 1598.872185] tx_timeout_fail_count = 0
[ 1598.872185] rx_receive_fail_count = 0
[ 1598.872186] alloc_cmd_msg = 36
[ 1598.872187] free_cmd_msg = 36
[ 1598.923980] RTMP_TimerListRelease: release timer obj ffffc90001c334f0!
[ 1598.923981] RTMP_TimerListRelease: release timer obj ffffc90001bc57e0!
[ 1598.923982] RTMP_TimerListRelease: release timer obj ffffc90001bc59e0!
[ 1598.923983] RTMP_TimerListRelease: release timer obj ffffc90001bc5858!
[ 1598.923983] RTMP_TimerListRelease: release timer obj ffffc90001bb3798!
[ 1598.923984] RTMP_TimerListRelease: release timer obj ffffc90001ba3518!
[ 1598.923985] RTMP_TimerListRelease: release timer obj ffffc90001ba4548!
[ 1598.923985] RTMP_TimerListRelease: release timer obj ffffc90001ba5578!
[ 1598.923986] RTMP_TimerListRelease: release timer obj ffffc90001ba65a8!
[ 1598.923986] RTMP_TimerListRelease: release timer obj ffffc90001ba75d8!
[ 1598.923987] RTMP_TimerListRelease: release timer obj ffffc90001ba8608!
[ 1598.923988] RTMP_TimerListRelease: release timer obj ffffc90001ba9638!
[ 1598.923988] RTMP_TimerListRelease: release timer obj ffffc90001baa668!
[ 1598.923989] RTMP_TimerListRelease: release timer obj ffffc90001bb3438!
[ 1598.923989] RTMP_TimerListRelease: release timer obj ffffc90001bb4e40!
[ 1598.923990] RTMP_TimerListRelease: release timer obj ffffc90001bb4ab0!
[ 1598.932182] ==>rlt_wlan_chip_onoff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x208, Reg-WlanFunCtrl=0x209
[ 1598.932881] -->RTUSBVenderReset
[ 1598.932939] <--RTUSBVenderReset
[ 1598.937900] build time =
[ 1598.937901] 20140408060640a
[ 1598.937904] rom patch for E3 IC

[ 1598.937905] platform =
[ 1598.937905] ALPS
[ 1598.937906] hw/sw version =
[ 1598.937907] \xffffff8a\xffffff8a
[ 1598.937908] patch version =
[ 1598.937908]
[ 1598.938406] loading rom patchpatch_len = 20656
[ 1598.938408] cur_len = 0
[ 1598.938408] sent_len = 2040
[ 1598.938409] rom_patch_offset = 90000
[ 1598.938616] .patch_len = 20656
[ 1598.943743] cur_len = 2040
[ 1598.943744] sent_len = 2040
[ 1598.943745] rom_patch_offset = 90000
[ 1598.944039] .patch_len = 20656
[ 1598.949165] cur_len = 4080
[ 1598.949165] sent_len = 2040
[ 1598.949166] rom_patch_offset = 90000
[ 1598.949499] .patch_len = 20656
[ 1598.954624] cur_len = 6120
[ 1598.954625] sent_len = 2040
[ 1598.954626] rom_patch_offset = 90000
[ 1598.954924] .patch_len = 20656
[ 1598.960058] cur_len = 8160
[ 1598.960059] sent_len = 2040
[ 1598.960060] rom_patch_offset = 90000
[ 1598.960354] .patch_len = 20656
[ 1598.965483] cur_len = 10200
[ 1598.965483] sent_len = 2040
[ 1598.965484] rom_patch_offset = 90000
[ 1598.965780] .patch_len = 20656
[ 1598.970905] cur_len = 12240
[ 1598.970906] sent_len = 2040
[ 1598.970907] rom_patch_offset = 90000
[ 1598.971203] .patch_len = 20656
[ 1598.976330] cur_len = 14280
[ 1598.976331] sent_len = 2040
[ 1598.976332] rom_patch_offset = 90000
[ 1598.976626] .patch_len = 20656
[ 1598.981757] cur_len = 16320
[ 1598.981757] sent_len = 2040
[ 1598.981758] rom_patch_offset = 90000
[ 1598.982051] .patch_len = 20656
[ 1598.987176] cur_len = 18360
[ 1598.987176] sent_len = 2040
[ 1598.987177] rom_patch_offset = 90000
[ 1598.987470] .patch_len = 20656
[ 1598.992595] cur_len = 20400
[ 1598.992596] sent_len = 256
[ 1598.992597] rom_patch_offset = 90000
[ 1598.992891] .patch_len = 20656
[ 1598.998016] cur_len = 20656
[ 1598.998017] sent_len = 0
[ 1599.002982] Send checksum req..
[ 1599.002983] andes_usb_chk_crc
[ 1599.027025] andes_usb_enable_patch
[ 1599.027143] andes_usb_reset_wmt
[ 1599.047884] -->RTUSBVenderReset
[ 1599.047949] <--RTUSBVenderReset
[ 1599.053177] fw version:0.0.00 build:1
[ 1599.053178] build time:201406241830____
[ 1599.053181] fw for E3 IC
[ 1599.053182] ilm length = 59312(bytes)
[ 1599.053182] dlm length = 32068(bytes)
[ 1599.053609] loading fw........
[ 1599.108561] ERROR!!! Your no. of SSIDs( = 1) does not match your BssidNum( = 8)!
[ 1599.108568] cfg_mode=13
[ 1599.108569] cfg_mode=13
[ 1599.108571] wmode_band_equal(): Band Not Equal!
[ 1599.108662] APSDCapable[0]=0
[ 1599.108662] APSDCapable[1]=0
[ 1599.108663] APSDCapable[2]=0
[ 1599.108663] APSDCapable[3]=0
[ 1599.108664] APSDCapable[4]=0
[ 1599.108664] APSDCapable[5]=0
[ 1599.108665] APSDCapable[6]=0
[ 1599.108665] APSDCapable[7]=0
[ 1599.108666] APSDCapable[8]=0
[ 1599.108666] APSDCapable[9]=0
[ 1599.108667] APSDCapable[10]=0
[ 1599.108667] APSDCapable[11]=0
[ 1599.108668] APSDCapable[12]=0
[ 1599.108668] APSDCapable[13]=0
[ 1599.108669] APSDCapable[14]=0
[ 1599.108669] APSDCapable[15]=0
[ 1599.109319] 1. Phy Mode = 61
[ 1599.109320] NVM is Efuse and its size =1d[1e0-1fc]
[ 1599.118832] get_chl_grp:illegal channel (167)
[ 1599.118833] get_chl_grp:illegal channel (167)
[ 1599.118833] get_chl_grp:illegal channel (169)
[ 1599.118834] get_chl_grp:illegal channel (169)
[ 1599.118834] get_chl_grp:illegal channel (171)
[ 1599.118835] get_chl_grp:illegal channel (171)
[ 1599.118835] get_chl_grp:illegal channel (173)
[ 1599.118836] get_chl_grp:illegal channel (173)
[ 1599.119632] Country Region from e2p = ffff
[ 1599.119952] mt76x2_read_temp_info_from_eeprom:: is_temp_tx_alc=0, temp_tx_alc_enable=0
[ 1599.123633] mt76x2_get_external_lna_gain:NA type=0x11, BLNAGain=0xffffff8f, ALNAGain0=0xffffff88, ALNAGain1=0xffffffff, ALNAGain2=0xffffffff
[ 1599.123634] 2. Phy Mode = 61
[ 1599.123637] 3. Phy Mode = 61
[ 1599.123712] andes_usb_fw_init
[ 1599.224795] AntCfgInit: primary/secondary ant 0/1
[ 1599.224797] andes_load_cr:cr_type(2)
[ 1599.225258] ChipStructAssign(): MT76x2 hook !
[ 1599.225363] RTMPSetPhyMode: channel is out of range, use first channel=0
[ 1599.227175] MCS Set = ff ff 00 00 01
[ 1599.252376] mt76x2_bbp_adjust():rf_bw=2, ext_ch=3, PrimCh=40, HT-CentCh=38, VHT-CentCh=42
[ 1599.304278] TX0 power compensation = 0x38
[ 1599.304357] TX1 power compensation = 0x38
[ 1599.305078] APStartUp(): AP Set CentralFreq at 42(Prim=40, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
[ 1599.311998] mt76x2_calibration(channel = 42)
[ 1599.702921] The 8-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 8
[ 1599.706628] Main bssid = e8:4e:06:32:f6:e2
[ 1599.706707] mt76x2_reinit_agc_gainriginal agc_vga0 = 0x58, agc_vga1 = 0x58
[ 1599.706708] mt76x2_reinit_agc_gain:updated agc_vga0 = 0x58, agc_vga1 = 0x58
[ 1599.706867] mt76x2_reinit_hi_lna_gainriginal hi_lna0 = 0x27, hi_lna1 = 0x27
[ 1599.706868] mt76x2_reinit_hi_lna_gain:updated hi_lna0 = 0x27, hi_lna1 = 0x27
[ 1599.706987] original vga value(chain0) = 58
[ 1599.707027] original vga value(chain1) = 58
[ 1599.707028] <==== rt28xx_init, Status=0
[ 1599.707068] 80211> re-init bands...
[ 1599.707068] 80211> RFICType= 3, NumOfChan= 58
[ 1599.707069] 80211> Number of rate = 12
[ 1599.707070] 80211> CurTxPower = 20 dBm
[ 1599.707071] ====> Rader Channel 52
[ 1599.707072] ====> Rader Channel 54
[ 1599.707072] ====> Rader Channel 56
[ 1599.707073] ====> Rader Channel 60
[ 1599.707073] ====> Rader Channel 62
[ 1599.707073] ====> Rader Channel 64
[ 1599.707074] ====> Rader Channel 100
[ 1599.707075] ====> Rader Channel 104
[ 1599.707075] 80211> TxStream = 2
[ 1599.707079] Chan 167 (frq 5835):        not allowed!
[ 1599.707079] Chan 169 (frq 5845):        not allowed!
[ 1599.707080] Chan 171 (frq 5855):        not allowed!
[ 1599.707080] Chan 173 (frq 5865):        not allowed!
[ 1599.707081] Chan 184 (frq 4920):        not allowed!
[ 1599.707082] Chan 188 (frq 4940):        not allowed!
[ 1599.707082] Chan 192 (frq 4960):        not allowed!
[ 1599.707083] Chan 196 (frq 4980):        not allowed!
[ 1599.707083] Chan 208 (frq 6040):        not allowed!
[ 1599.707084] Chan 212 (frq 6060):        not allowed!
[ 1599.707084] Chan 216 (frq 6080):        not allowed!
[ 1599.707085] RTMPDrvOpen(1):Check if PDMA is idle!
[ 1599.707121] RTMPDrvOpen(2):Check if PDMA is idle!
[ 1599.709394] NetworkManager[884]: segfault at 8 ip 00000000004c7366 sp 00007fff03575dc8 error 4 in NetworkManager[400000+1c1000]
[ 1599.729233] 80211> CFG80211_OpsPmksaFlush ==>
[ 1600.022919] NetworkManager[7589]: segfault at 8 ip 00000000004c7366 sp 00007ffc2db32af8 error 4 in NetworkManager[400000+1c1000]
[ 1600.271408] NetworkManager[7593]: segfault at 8 ip 00000000004c7366 sp 00007ffd1e23bf48 error 4 in NetworkManager[400000+1c1000]
[ 1600.523502] NetworkManager[7597]: segfault at 8 ip 00000000004c7366 sp 00007ffc082cc238 error 4 in NetworkManager[400000+1c1000]
[ 1600.771702] NetworkManager[7601]: segfault at 8 ip 00000000004c7366 sp 00007fff0c0f8c68 error 4 in NetworkManager[400000+1c1000]
[ 1601.023019] NetworkManager[7605]: segfault at 8 ip 00000000004c7366 sp 00007ffc7cf54518 error 4 in NetworkManager[400000+1c1000]
Reply View the author
avatar
liujianfeng
deepin
2016-10-09 17:11
#6
让模块自动加载放在 /lib/modules/`uname -r`/ 就行了
控制中心估计挂掉了,你试试nmtui能不能联网
顺便 sudo deepin-feedback-cli 上传下日志
Reply View the author
avatar
weixianbin
deepin
2016-10-10 04:22
#7
https://bbs.deepin.org/post/44210
让模块自动加载放在 /lib/modules/`uname -r`/ 就行了
控制中心估计挂掉了,你试试nmtui能不能联网
顺便 su ...

执行nmtui时,提示network manager无法启动

sudo deepin-feedback-cli 的日志见附件

Reply View the author
avatar
liujianfeng
deepin
2016-10-10 21:49
#8
https://bbs.deepin.org/post/44210
执行nmtui时,提示network manager无法启动

sudo deepin-feedback-cli 的日志见附件

看来这驱动也是一堆问题
官网上找到有驱动下载,不过已经编不过去了 http://www.cardking.cn/dl/mtk7612u/7612linux.rar
Reply View the author
avatar
weixianbin
deepin
2016-10-11 01:43
#9
https://bbs.deepin.org/post/44210
看来这驱动也是一堆问题
官网上找到有驱动下载,不过已经编不过去了 http://www.cardking.cn/dl/mtk7612u ...

官方的驱动有试过,就是因为make的时候直接报错,所以才找的帮助,看来这个芯片的网卡在linux上还不怎么好用了,那有没有其它芯片的千兆无线网卡推荐?最好是,即插即用的,内核就支持的那种。
Reply View the author