MINI板的WIFI面包板电源模块怎么用问题,求助

再吸金!SE推出《最终幻想:全员勇者》钥匙扣
再吸金!SE推出《最终幻想:全员勇者》钥匙扣
再吸金!SE推出《最终幻想:全员勇者》钥匙扣
再吸金!SE推出《最终幻想:全员勇者》钥匙扣
再吸金!SE推出《最终幻想:全员勇者》钥匙扣
再吸金!SE推出《最终幻想:全员勇者》钥匙扣
再吸金!SE推出《最终幻想:全员勇者》钥匙扣
再吸金!SE推出《最终幻想:全员勇者》钥匙扣
威锋网7月10日消锋网7月10日消息,《植物大战僵尸2》 如今...
威锋网7月10日消息,《植物大...
近日,开发商 Esquilax Games ..
说到方块游戏,相信有很多朋友应该还会记得 Gavina Games 早...
威锋网7月10日消息,《植物大...
近日,开发商 Esquilax Games ..
说到方块游戏,相信有很多朋友应该还会记得 Gavina Games 早...
再吸金!SE推出《最终幻想:全员勇者》钥匙扣
再吸金!SE推出《最终幻想:全员勇者》钥匙扣
再吸金!SE推出《最终幻想:全员勇者》钥匙扣
再吸金!SE推出《最终幻想:全员勇者》钥匙扣
再吸金!SE推出《最终幻想:全员勇者》钥匙扣
再吸金!SE推出《最终幻想:全员勇者》钥匙扣
再吸金!SE推出《最终幻想:全员勇者》钥匙扣
再吸金!SE推出《最终幻想:全员勇者》钥匙扣
您需要通过验证再能继续浏览 3秒后开始验证
威锋旗下产品
Hi~我是威威!
 粤公网安备 11号
新三板上市公司威锋科技(836555)
增值电信业务经营许可证:
Powered by Discuz!mini_pcie转WiFi模块,执行ifconfig wlan0 on系统会死机?为什么? - 达芬奇(Davinci(TM)) - 德州仪器在线技术支持社区
mini_pcie转WiFi模块,执行ifconfig wlan0 on系统会死机?为什么?
发表于10月前
<input type="hidden" id="hGroupID" value="33"
&br>环境:dm8168+dvrrdk4.0.0.3&br>检测到pci转wifi模块设备型号10ec:8176&br>root@HDMTerm:~# lspci&br>00:00.0 Class 0604: Device 104c:b800 (rev 01)&br>01:00.0 Class 0280: Device 10ec:8176 (rev 01)&br>root@HDMTerm:~# &br>root@HDMTerm:~# &br>root@HDMTerm:~#&/p>
&p>然后从realtek官网下载了一个软件驱动包,交叉编译后生产了2个ko模块&br>root@HDMTerm:~# ls&br>app.sh.bak autorun.sh mount.sh rdk.sh rtl8192ce.ko rtlwifi.ko&br>root@HDMTerm:~# modinfo rtlwifi.ko &br>filename: rtlwifi.ko&br>description: Realtek 802.11n PCI wireless core&br>license: GPL&br>author: Larry Finger &Larry.&&br>author: Realtek WlanFAE &&&br>author: lizhaoming &chaoming_.cn&&br>depends: &br>vermagic: 2.6.37+ mod_unload modversions ARMv7 p2v8 &br>root@HDMTerm:~# modinfo rtl8192ce.ko &br>filename: rtl8192ce.ko&br>firmware: rtlwifi/rtl8192cfw.bin&br>description: Realtek C 802.11n PCI wireless&br>license: GPL&br>author: Larry Finger &Larry.&&br>author: Realtek WlanFAE &&&br>author: lizhaoming &chaoming_.cn&&br>alias: pci:v000010ECdsv*sd*bc*sc*i*&br>alias: pci:v000010ECdsv*sd*bc*sc*i*&br>alias: pci:v000010ECdsv*sd*bc*sc*i*&br>alias: pci:v000010ECdsv*sd*bc*sc*i*&br>depends: rtlwifi&br>vermagic: 2.6.37+ mod_unload modversions ARMv7 p2v8 &br>parm: swlps:bool&br>parm: swenc:using hardware &a href=&.cn/tool/cn/crypto& target=&extwin&>crypto&/a> (default 0 [hardware])&br> (bool)&br>parm: ips:using no link power save (default 1 is open)&br> (bool)&br>parm: fwlps:using linked fw control power save (default 1 is open)&br> (bool)&br>root@HDMTerm:~#&/p>
&p>&br>root@HDMTerm:~# insmod rtlwifi.ko &br>root@HDMTerm:~# insmod rtl8192ce.ko &br>root@HDMTerm:~# iwconfig 检查wlan0存在&br>lo no wireless extensions.&/p>
&p>eth0 no wireless extensions.&/p>
&p>wlan0 IEEE 802.11bgn ESSID:off/any &br> Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm &br> Retry long limit:7 RTS thr=2347 B Fragment thr:off&br> Encryption key:off&br> Power Management:off&br> &br>root@HDMTerm:~# ifconfig wlan0 on 打开wlan网卡,系统就卡死了,有时候不会卡死,但是执行&br>iwlist wlan0 scan 命令搜索ssid的时候也会卡死,只要操作底层硬件,跟wifi硬件模块交互,&br> 就会出现卡死现象,很不稳定,请问怎么回事?谢谢!&/p>
&p>下面是dm8168接口 ,mini pcie接口原理图 和wifi模块&/p>
&p>&a href=&/cfs-file.ashx/__key/communityserver-discussions-components-files/39/6708.dm8168pcie_A563E353_.png&>&img src=&/resized-image.ashx/__size/550x0/__key/communityserver-discussions-components-files/39/6708.dm8168pcie_A563E353_.png& border=&0& alt=& &>&/a>&/p>
&p>&a href=&/cfs-file.ashx/__key/communityserver-discussions-components-files/39/1273.mini_5F00_pcie_A563EFE56_.png&>&img src=&/resized-image.ashx/__size/550x0/__key/communityserver-discussions-components-files/39/1273.mini_5F00_pcie_A563EFE56_.png& border=&0& alt=& &>&/a>&/p>
&p>&a href=&/cfs-file.ashx/__key/communityserver-discussions-components-files/39/5047.pcie_6C8F_rtl8188ce_216A5757_.png&>&img src=&/resized-image.ashx/__size/550x0/__key/communityserver-discussions-components-files/39/5047.pcie_6C8F_rtl8188ce_216A5757_.png& border=&0& alt=& &>&/a>&/p>&div style=&clear:&>&/div>" />
mini_pcie转WiFi模块,执行ifconfig wlan0 on系统会死机?为什么?
此问题尚无答案
All Replies
环境:dm8168+dvrrdk4.0.0.3检测到pci转wifi模块设备型号10ec:8176root@HDMTerm:~# lspci00:00.0 Class 0604: Device 104c:b800 (rev 01)01:00.0 Class 0280: Device 10ec:8176 (rev 01)root@HDMTerm:~# root@HDMTerm:~# root@HDMTerm:~#
然后从realtek官网下载了一个软件驱动包,交叉编译后生产了2个ko模块root@HDMTerm:~# lsapp.sh.bak autorun.sh mount.sh rdk.sh rtl8192ce.ko rtlwifi.koroot@HDMTerm:~# modinfo rtlwifi.ko filename: rtlwifi.kodescription: Realtek 802.11n PCI wireless corelicense: GPLauthor: Larry Finger &Larry.&author: Realtek WlanFAE &&author: lizhaoming &chaoming_.cn&depends: vermagic: 2.6.37+ mod_unload modversions ARMv7 p2v8 root@HDMTerm:~# modinfo rtl8192ce.ko filename: rtl8192ce.kofirmware: rtlwifi/rtl8192cfw.bindescription: Realtek C 802.11n PCI wirelesslicense: GPLauthor: Larry Finger &Larry.&author: Realtek WlanFAE &&author: lizhaoming &chaoming_.cn&alias: pci:v000010ECdsv*sd*bc*sc*i*alias: pci:v000010ECdsv*sd*bc*sc*i*alias: pci:v000010ECdsv*sd*bc*sc*i*alias: pci:v000010ECdsv*sd*bc*sc*i*depends: rtlwifivermagic: 2.6.37+ mod_unload modversions ARMv7 p2v8 parm: swlps:boolparm: swenc:using hardware
(default 0 [hardware]) (bool)parm: ips:using no link power save (default 1 is open) (bool)parm: fwlps:using linked fw control power save (default 1 is open) (bool)root@HDMTerm:~#
root@HDMTerm:~# insmod rtlwifi.ko root@HDMTerm:~# insmod rtl8192ce.ko root@HDMTerm:~# iwconfig 检查wlan0存在lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off Encryption key:off Power Management:off root@HDMTerm:~# ifconfig wlan0 on 打开wlan网卡,系统就卡死了,有时候不会卡死,但是执行iwlist wlan0 scan 命令搜索ssid的时候也会卡死,只要操作底层硬件,跟wifi硬件模块交互, 就会出现卡死现象,很不稳定,请问怎么回事?谢谢!
下面是dm8168接口 ,mini pcie接口原理图 和wifi模块
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
状元76783分
1. 类似的操作在Linux PC上可以成功使用这个wifi么?
2. 你是否有注意过你选择的pcie转wfif的模块是否有DM81xx PCIE RC驱动不支持的特点?
http://processors./index.php/TI81XX_PSP_04.04.00.02_Feature_Performance_Guide#Features_Not_Supported_7
如果我的回答解决了你的问题,请点击绿色&是&按钮,谢谢!
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
你好! Chris Meng
我现在一直查找这个问题没有一点头绪,现在想排查是硬件问题还是realtek软件包有问题,
下面是插上了wifi模块后内核启动打印pcie的相关信息如下:
[ 0.230000] ti81xx_pcie: Invoking PCI BIOS...[ 0.230000] ti81xx_pcie: Setting up Host Controller...[ 0.230000] ti81xx_pcie: Register base mapped @0xd0820000[ 0.340000] ti81xx_pcie: Starting PCI scan...[ 0.340000] pci .0: [104c:b800] type 1 class 0x000604[ 0.340000] PCI: bus0: Fast back to back transfers disabled[ 0.340000] pci .0: [10ec:8176] type 0 class 0x000280[ 0.340000] pci .0: reg 10: [io 0xff][ 0.340000] pci .0: reg 18: [mem 0xx00003fff 64bit][ 0.340000] pci .0: supports D1 D2[ 0.340000] pci .0: PME# supported from D0 D1 D2 D3hot D3cold[ 0.340000] pci .0: PME# disabled[ 0.340000] PCI: bus1: Fast back to back transfers disabled[ 0.340000] ti81xx_pcie: PCI scan done.[ 0.340000] pci .0: BAR 8: assigned [mem 0xx200fffff][ 0.340000] pci .0: BAR 7: assigned [io 0xx40000fff][ 0.340000] pci .0: BAR 2: assigned [mem 0xx20003fff 64bit][ 0.340000] pci .0: BAR 2: set to [mem 0xx20003fff 64bit] (PCI address [0xx20003fff])[ 0.340000] pci .0: BAR 0: assigned [io 0xx400000ff][ 0.340000] pci .0: BAR 0: set to [io 0xx400000ff] (PCI address [0xx400000ff])[ 0.340000] pci .0: PCI bridge to [bus 01-01][ 0.340000] pci .0: bridge window [io 0xx40000fff][ 0.340000] pci .0: bridge window [mem 0xx200fffff][ 0.340000] pci .0: bridge window [mem pref disabled][ 0.340000] PCI: enabling device .0 (0140 -& 0143)[ 0.340000] pci_bus 0000:00: resource 0 [io 0xx402fffff][ 0.340000] pci_bus 0000:00: resource 1 [mem 0xx2fffffff][ 0.340000] pci_bus 0000:01: resource 0 [io 0xx40000fff][ 0.340000] pci_bus 0000:01: resource 1 [mem 0xx200fffff][ 0.340000] bio: create slab &bio-0& at 0[ 0.340000] regulator: VFB: 800 &--& 1025 mV at 815 mV [ 0.340000] vgaarb: loaded[ 0.340000] SCSI subsystem initialized[ 0.340000] libata version 3.00 loaded.
1.首先wifi模块是好的,因为我在一台pc机(自带minipcie接口)上装windows系统,通过驱动精灵安装wifi模块驱动,可以正常使用。
2.因为我想用Realtek的rtl_92ce_92se_92de_8723ae_88ee_linux_mac.驱动包在pc机上编译成x86架构的驱动,很可惜编译不成功,缺少相关的IEEE80211_HW_CONNECTION_MONITOR之类的定义,想通过同样的驱动包来查找是不是我板子pcie硬件有问题,可惜没有编译成功
ljh@ljh-desktop:/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211$ sudo make[sudo] password for ljh: make -C /lib/modules/2.6.32-38-generic/build M=/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211 modulesmake[1]: Entering directory `/usr/src/linux-headers-2.6.32-38-generic&#39; CC [M] /opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.oIn file included from /opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:32:/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/wifi.h: In function &rtl_find_sta&:/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/wifi.h:2257: warning: passing argument 1 of &ieee80211_find_sta& from incompatible pointer typeinclude/net/mac80211.h:2086: note: expected &struct ieee80211_hw *& but argument is of type &struct ieee80211_vif *&In file included from /opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:34:/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.h: At top level:/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.h:144: warning: &enum ieee80211_smps_mode& declared inside parameter list/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.h:144: warning: its scope is only this definition or declaration, which is probably not what you want/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c: In function &_rtl_init_mac80211&:/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:326: error: &IEEE80211_HW_CONNECTION_MONITOR& undeclared (first use in this function)/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:326: error: (Each undeclared identifier is reported only once/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:326: error: for each function it appears in.)/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c: In function &rtl_tx_agg_start&:/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:1020: warning: passing argument 1 of &ieee80211_start_tx_ba_cb_irqsafe& from incompatible pointer typeinclude/net/mac80211.h:2033: note: expected &struct ieee80211_hw *& but argument is of type &struct ieee80211_vif *&/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c: In function &rtl_tx_agg_stop&:/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:1049: warning: passing argument 1 of &ieee80211_stop_tx_ba_cb_irqsafe& from incompatible pointer typeinclude/net/mac80211.h:2074: note: expected &struct ieee80211_hw *& but argument is of type &struct ieee80211_vif *&/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c: In function &rtl_watchdog_wq_callback&:/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:1303: error: implicit declaration of function &ieee80211_connection_loss&/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c: At top level:/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:1370: warning: &enum ieee80211_smps_mode& declared inside parameter list/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:1370: error: parameter 2 (&smps&) has incomplete type/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c: In function &rtl_make_smps_action&:/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:1390: error: &WLAN_HT_ACTION_SMPS& undeclared (first use in this function)/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:1392: error: &IEEE80211_SMPS_AUTOMATIC& undeclared (first use in this function)/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:1393: error: &IEEE80211_SMPS_NUM_MODES& undeclared (first use in this function)/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:1395: error: &IEEE80211_SMPS_OFF& undeclared (first use in this function)/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:1397: error: &WLAN_HT_SMPS_CONTROL_DISABLED& undeclared (first use in this function)/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:1399: error: &IEEE80211_SMPS_STATIC& undeclared (first use in this function)/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:1401: error: &WLAN_HT_SMPS_CONTROL_STATIC& undeclared (first use in this function)/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:1403: error: &IEEE80211_SMPS_DYNAMIC& undeclared (first use in this function)/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:1405: error: &WLAN_HT_SMPS_CONTROL_DYNAMIC& undeclared (first use in this function)/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c: At top level:/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:1414: warning: &enum ieee80211_smps_mode& declared inside parameter list/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:1414: error: parameter 3 (&smps&) has incomplete type/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c: In function &rtl_send_smps_action&:/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.c:1442: error: type of formal parameter 2 is incompletemake[2]: *** [/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211/base.o] Error 1make[1]: *** [_module_/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211] Error 2make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-38-generic&#39;make: *** [all] Error 2ljh@ljh-desktop:/opt/work/test_dev/pcie_wifi/tool/x86rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211$
3.现在想通过做一个自发自收的测试程序loopback,来测试mini pcie硬件是否有问题,请问dvrrdk有自带的测试程序吗?谢谢!
You have posted to a forum that requires a moderator to approve posts before they are publicly available.

我要回帖

更多关于 模块石膏板吊顶 的文章

 

随机推荐