[zd1211-devs] No packet received by ZyDas 1211B
Status: Beta
Brought to you by:
mayne
From: 李文星 <wen...@gm...> - 2011-03-28 05:51:07
|
Dear guys, I have used ZyDas on ARM platform with Linux kernel 2.6.14. The compilation of the source code (downloaded from http://www.filewatcher.com/m/LinuxUSB_AR2524-3.0.0.56.tgz.5578938.0.0.html) is OK. So does the insert module (by executing "insmod zd1211b.ko"). But after that, no packet is notified even for beacon. I think the hardware is ok becasue I have tried the same HW on a desktop PC with Fedora 5 installed (the kernel verson is 2.6.15) and it works pretty fine. I have tried to add some debug message for checking the data path. On my desktop PC, zd1211_rx_comp_cb() is called repeatly when a packet is received. But when using embedded environment (ARM with Linux 2.6.14), that function never been called. Following is the dmesg after ZyDas 1211B is installed. I have working on this for 2~3 weeks and can not find a solution for it. It will be great for anybody who can give me a hint or, even better, a solution. I really appreciat for you help. usb 1-1: new high speed USB device using FOTG2XX_DRV and address 5 hub 1-1:1.0: USB hub found hub 1-1:1.0: 4 ports detected usb 1-1.2: new high speed USB device using FOTG2XX_DRV and address 6 usb 1-1.1: new high speed USB device using FOTG2XX_DRV and address 7 / # i insmod /mnt/nfs/LinuxUSB/ar2524drv/zd1211b.ko _____ ____ _ ____ |__ / _| _ \ / \ / ___| / / | | | | | |/ _ \ \___ \ / /| |_| | |_| / ___ \ ___) | /____\__, |____/_/ \_\____/ |___/ ZD1211B - version 3.0.0.56 vendor_id = 0ace product_id = 1215 USB 2.0 Host Release Ver = 4810 EEPORM Ver = 4810 Finsih download Firmware. Ready to reboot PA type: 0 AR2124 RF [zd1205_set_zd_cbs, 11887] pObj->bChScanning is 0 AllowedChannel = 00011fff Region:48 usbcore: registered new driver zd1211b / # ifconfig ath0 up[zd1205_open, 4901] calling zd1211_submit_rx_urb() [zd1211_submit_rx_urb, 2766] started [zd1211_submit_rx_urb, 2791] calling usb_fill_bulk_urb() [zd1211_submit_rx_urb, 2809] ended [zd1211_rx_comp_cb, 2370] started [zd1211_rx_comp_cb, 2483] calling zd1211_rx_isr() [zd1211_rx_isr, 2213] started [zd1211_rx_isr, 2314] calling zd1211_submit_rx_urb() [zd1211_submit_rx_urb, 2766] started [zd1211_submit_rx_urb, 2791] calling usb_fill_bulk_urb() [zd1211_submit_rx_urb, 2809] ended [zd1211_rx_isr, 2331] calling zd1205_rx_isr() [zd1205_rx_isr, 3814] started [zd1205_rx_isr, 4567] ended [zd1211_rx_isr, 2348] ended [zd1211_rx_comp_cb, 2489] ended [zd_ConnectMon, 2816] [zd_CmdProbeReq, 961] pdot11Obj->bChScanning is 1 [zd_CmdProbeReq, 976] mMacMode: 1, CurrScanCH: 1 [zd_CmdProbeReq, 977] HZ: 1000, region: 48 [zdcb_start_timer, 11621] scan expire time: -116372 / [SynchEntry, 505] SIG_PROBE_REQ, ProbeReq(): 0 # [zd_CmdProbeReq, 991] zd_ProbeReq() result is 1 [kevent, 3963] scan time out [zd_SwitchNextCH, 1989] start next channel: 1 --> 2 [zdcb_start_timer, 11621] scan expire time: -116237 [SynchEntry, 505] SIG_PROBE_REQ, ProbeReq(): 0 [kevent, 3963] scan time out [zd_SwitchNextCH, 1989] start next channel: 2 --> 3 [zdcb_start_timer, 11621] scan expire time: -116102 [SynchEntry, 505] SIG_PROBE_REQ, ProbeReq(): 0 [kevent, 3963] scan time out [zd_SwitchNextCH, 1989] start next channel: 3 --> 4 [zdcb_start_timer, 11621] scan expire time: -115967 [SynchEntry, 505] SIG_PROBE_REQ, ProbeReq(): 0 [kevent, 3963] scan time out [zd_SwitchNextCH, 1989] start next channel: 4 --> 5 [zdcb_start_timer, 11621] scan expire time: -115831 [SynchEntry, 505] SIG_PROBE_REQ, ProbeReq(): 0 [kevent, 3963] scan time out [zd_SwitchNextCH, 1989] start next channel: 5 --> 6 [zdcb_start_timer, 11621] scan expire time: -115696 [SynchEntry, 505] SIG_PROBE_REQ, ProbeReq(): 0 [kevent, 3963] scan time out [zd_SwitchNextCH, 1989] start next channel: 6 --> 7 [zdcb_start_timer, 11621] scan expire time: -115560 [SynchEntry, 505] SIG_PROBE_REQ, ProbeReq(): 0 [kevent, 3963] scan time out [zd_SwitchNextCH, 1989] start next channel: 7 --> 8 [zdcb_start_timer, 11621] scan expire time: -115424 [SynchEntry, 505] SIG_PROBE_REQ, ProbeReq(): 0 [kevent, 3963] scan time out [zd_SwitchNextCH, 1989] start next channel: 8 --> 9 [zdcb_start_timer, 11621] scan expire time: -115289 [SynchEntry, 505] SIG_PROBE_REQ, ProbeReq(): 0 [kevent, 3963] scan time out [zd_SwitchNextCH, 1989] start next channel: 9 --> 10 [zdcb_start_timer, 11621] scan expire time: -115153 [SynchEntry, 505] SIG_PROBE_REQ, ProbeReq(): 0 [kevent, 3963] scan time out [zd_SwitchNextCH, 1989] start next channel: 10 --> 11 [zdcb_start_timer, 11621] scan expire time: -115016 [SynchEntry, 505] SIG_PROBE_REQ, ProbeReq(): 0 d[kevent, 3963] scan time out [zd_SwitchNextCH, 1989] start next channel: 11 --> 12 [zdcb_start_timer, 11621] scan expire time: -114878 [SynchEntry, 505] SIG_PROBE_REQ, ProbeReq(): 0 [kevent, 3963] scan time out [zd_SwitchNextCH, 1989] start next channel: 12 --> 13 [zdcb_start_timer, 11621] scan expire time: -114741 [SynchEntry, 505] SIG_PROBE_REQ, ProbeReq(): 0 [kevent, 3963] scan time out [zd_SwitchNextCH, 1989] start next channel: 13 --> 14 [zdcb_start_timer, 11621] scan expire time: -114619 [SynchEntry, 505] SIG_PROBE_REQ, ProbeReq(): 0 [kevent, 3963] scan time out [zd_SwitchNextCH, 1875] last channel: 14 [zd_SwitchNextCH, 1878] pdot11Obj->bChScanning is 0 SSID BSSID CH Signal Mode Basic-Rates Ext-Rates b/g AP ------------------------------------------------------------------------------------ ****** Scan Finished ****** mesg > 2.[zd_Roaming, 2791] [zd_CmdProbeReq, 961] pdot11Obj->bChScanning is 1 [zd_CmdProbeReq, 976] mMacMode: 1, CurrScanCH: 1 [zd_CmdProbeReq, 977] HZ: 1000, region: 48 [zdcb_start_timer, 11621] scan expire time: -110541 BRs, WengSing |