移植8188wifi 驱动问题求教

821586284 2016-10-09 08:29:10
insmod 驱动出现如下信息,请问为什么没有wlan0设备?可能的原因是什么?wifi网卡是好的

/mnt/wifi # insmod wlan_2014.ko
RTL871X: module init start
RTL871X: rtl8188eu v4.3.0.3_10997.20140327
RTL871X: build time: Oct 8 2016 15:16:13
usbcore: registered new interface driver rtl8188eu
RTL871X: module init ret=0
/mnt/wifi #

/mnt/wifi # ifconfig wlan0 up
ifconfig: SIOCGIFFLAGS: No such device
/mnt/wifi #

内核添加项:
  • Networking support --->
  • Wireless ---> <*> cfg80211 - wireless configuration API
  • cfg80211 wireless extensions compatibility Device Drivers --->

  • Network device support --->
  • Network core driver support
  • Wireless LAN ---> <*> IEEE 802.11 for Host AP
  • (Prism2/2.5/3 and WEP/TKIP/CCMP)

...全文
2497 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
qq_38112583 2021-07-22
  • 打赏
  • 举报
回复

楼主,这个问题解决了吗,我也碰到同样的问题了,来取下经

gstatham 2017-09-05
  • 打赏
  • 举报
回复
你确定驱动没问题?换个驱动试试
twintiger 2017-01-27
  • 打赏
  • 举报
回复
从打印的信息看是网卡驱动出了问题,ifconfig看到是mac层的interface。当ifconfig wlan0 up或down时跟phy 也就是物理层打交道。hal是对硬件接口的封装,一般是厂家提供的,这样硬件上层的驱动代码可以共用。 hal_init超时说明驱动有问题。 你在make menuconfig时网卡这部分(drivers->net->wireless->....)有没有选项可以调整?
lbaihao 2016-10-27
  • 打赏
  • 举报
回复
RTL871X: 3_InitPowerOn_8188EU: run power on flow fail 打开电源失败,检查供电是否正确
821586284 2016-10-10
  • 打赏
  • 举报
回复
最新进展,有大神帮助下吗? /mnt/wifi # insmod 8188eu.ko RTL871X: module init start RTL871X: rtl8188eu v4.3.0.8_13968.20150417 RTL871X: build time: Oct 10 2016 17:14:43 RTL871X: usb_endpoint_descriptor(0): RTL871X: bLength=7 RTL871X: bDescriptorType=5 RTL871X: bEndpointAddress=81 RTL871X: wMaxPacketSize=512 RTL871X: bInterval=0 RTL871X: RT_usb_endpoint_is_bulk_in = 1 RTL871X: usb_endpoint_descriptor(1): RTL871X: bLength=7 RTL871X: bDescriptorType=5 RTL871X: bEndpointAddress=2 RTL871X: wMaxPacketSize=512 RTL871X: bInterval=0 RTL871X: RT_usb_endpoint_is_bulk_out = 2 RTL871X: usb_endpoint_descriptor(2): RTL871X: bLength=7 RTL871X: bDescriptorType=5 RTL871X: bEndpointAddress=3 RTL871X: wMaxPacketSize=512 RTL871X: bInterval=0 RTL871X: RT_usb_endpoint_is_bulk_out = 3 RTL871X: usb_endpoint_descriptor(3): RTL871X: bLength=7 RTL871X: bDescriptorType=5 RTL871X: bEndpointAddress=84 RTL871X: wMaxPacketSize=64 RTL871X: bInterval=1 RTL871X: RT_usb_endpoint_is_int_in = 4, Interval = 1 RTL871X: nr_endpoint=4, in_num=2, out_num=2 RTL871X: USB_SPEED_HIGH RTL871X: CHIP TYPE: RTL8188E RTL871X: register rtw_netdev_ops to netdev_ops RTL871X: Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_A_CUT_1T1R_RomVer(0) RTL871X: RF_Type is 3!! RTL871X: _ConfigNormalChipOutEP_8188E OutEpQueueSel(0x05), OutEpNumber(2) RTL871X: EEPROM type is E-FUSE RTL871X: ====> _ReadAdapterInfo8188EU RTL871X: Boot from EFUSE, Autoload OK ! RTL871X: Fail to polling Offset[0x6]=00 RTL871X: 3_InitPowerOn_8188EU: run power on flow fail bFWReady == _FALSE call reset 8051... RTL871X: =====> _8051Reset88E(): 8051 reset success . RTL871X: EFUSE is empty efuse_Addr-0 efuse_data=ff RTL871X: EEPROM ID=0x8129 RTL871X: VID = 0xFFFF, PID = 0xFFFF RTL871X: Customer ID: 0xFF, SubCustomer ID: 0xCD RTL871X: Hal_ReadPowerSavingMode88E...bHWPwrPindetect(0)-bHWPowerdown(10) ,bSupportRemoteWakeup(1) RTL871X: ### PS params=> power_mgnt(1),usbss_enable(0) ### RTL871X: ======= Path 0, Channel 1 ======= RTL871X: Index24G_CCK_Base[0][1] = 0x32 RTL871X: Index24G_BW40_Base[0][1] = 0x0 RTL871X: ======= Path 0, Channel 2 ======= RTL871X: Index24G_CCK_Base[0][2] = 0x32 RTL871X: Index24G_BW40_Base[0][2] = 0x0 RTL871X: ======= Path 0, Channel 3 ======= RTL871X: Index24G_CCK_Base[0][3] = 0x0 RTL871X: Index24G_BW40_Base[0][3] = 0x1d RTL871X: ======= Path 0, Channel 4 ======= RTL871X: Index24G_CCK_Base[0][4] = 0x0 RTL871X: Index24G_BW40_Base[0][4] = 0x1d RTL871X: ======= Path 0, Channel 5 ======= RTL871X: Index24G_CCK_Base[0][5] = 0x0 RTL871X: Index24G_BW40_Base[0][5] = 0x1d RTL871X: ======= Path 0, Channel 6 ======= RTL871X: Index24G_CCK_Base[0][6] = 0x85 RTL871X: Index24G_BW40_Base[0][6] = 0x43 RTL871X: ======= Path 0, Channel 7 ======= RTL871X: Index24G_CCK_Base[0][7] = 0x85 RTL871X: Index24G_BW40_Base[0][7] = 0x43 RTL871X: ======= Path 0, Channel 8 ======= RTL871X: Index24G_CCK_Base[0][8] = 0x85 RTL871X: Index24G_BW40_Base[0][8] = 0x43 RTL871X: ======= Path 0, Channel 9 ======= RTL871X: Index24G_CCK_Base[0][9] = 0x62 RTL871X: Index24G_BW40_Base[0][9] = 0xf1 RTL871X: ======= Path 0, Channel 10 ======= RTL871X: Index24G_CCK_Base[0][10] = 0x62 RTL871X: Index24G_BW40_Base[0][10] = 0xf1 RTL871X: ======= Path 0, Channel 11 ======= RTL871X: Index24G_CCK_Base[0][11] = 0x62 RTL871X: Index24G_BW40_Base[0][11] = 0xf1 RTL871X: ======= Path 0, Channel 12 ======= RTL871X: Index24G_CCK_Base[0][12] = 0x9e RTL871X: Index24G_BW40_Base[0][12] = 0xb RTL871X: ======= Path 0, Channel 13 ======= RTL871X: Index24G_CCK_Base[0][13] = 0x9e RTL871X: Index24G_BW40_Base[0][13] = 0xb RTL871X: ======= Path 0, Channel 14 ======= RTL871X: Index24G_CCK_Base[0][14] = 0xad RTL871X: Index24G_BW40_Base[0][14] = 0xb RTL871X: ======= TxCount 0 ======= RTL871X: CCK_24G_Diff[0][0]= 0 RTL871X: OFDM_24G_Diff[0][0]= -6 RTL871X: BW20_24G_Diff[0][0]= -3 RTL871X: BW40_24G_Diff[0][0]= 0 RTL871X: EEPROMRegulatory = 0x0 RTL871X: mlmepriv.ChannelPlan = 0x20 RTL871X: CrystalCap: 0x20 RTL871X: EEPROM Customer ID: 0xff RTL871X: EEPROM : AntDivCfg = 1, TRxAntDivType = 1 RTL871X: Board Type: 0x 7 RTL871X: ThermalMeter = 0x18 RTL871X: <==== _ReadAdapterInfo8188EU in 2730 ms RTL871X: init_channel_set ChannelPlan ID 20 Chan num:13 RTL871X: MAC Address from efuse error, assign default one !!! RTL871X: rtw_macaddr_cfg MAC Address = 00:e0:4c:87:00:00 RTL871X: bDriverStopped:1, bSurpriseRemoved:0, bup:0, hw_init_completed:0 RTL871X: rtw_ndev_init(wlan0) RTL871X: _rtw_drv_register_netdev, MAC Address (if1) = 00:e0:4c:87:00:00 usbcore: registered new interface driver rtl8188eu RTL871X: module init ret=0 /mnt/wifi # /mnt/wifi # /mnt/wifi # ifconfig wlan0 wlan0 Link encap:Ethernet HWaddr 00:E0:4C:87:00:00 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) /mnt/wifi # ifconfig wlan0 up RTL871X: +871x_drv - drv_open, bup=0 RTL871X: Fail to polling Offset[0x6]=00 RTL871X: 3_InitPowerOn_8188EU: run power on flow fail RTL871X: rtl8188eu_hal_init in 1270ms RTL871X: rtw_hal_init: hal__init fail RTL871X: -871x_drv - drv_open fail, bup=0 ifconfig: SIOCSIFFLAGS: Operation not permitted /mnt/wifi #
821586284 2016-10-10
  • 打赏
  • 举报
回复
net dev里面肯定是没有wlan设备的,不知道问题是不是驱动的问题,换了好几个版本的驱动了,还有是不是内核还有什么服务需要添加的?还请大神指点
cocoabird 2016-10-10
  • 打赏
  • 举报
回复
没检测到,挂载的设备列表里面没有吧
821586284 2016-10-09
  • 打赏
  • 举报
回复
给自己顶一下

1,317

社区成员

发帖
与我相关
我的任务
社区描述
主要是开发驱动技术
社区管理员
  • 驱动程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧