rapid_dev
驱动牛犊
驱动牛犊
  • 注册日期2007-12-28
  • 最后登录2012-04-23
  • 粉丝0
  • 关注0
  • 积分498分
  • 威望257点
  • 贡献值0点
  • 好评度46点
  • 原创分0分
  • 专家分0分
阅读:1710回复:0

WIN CE下PCCARD驱动求救

楼主#
更多 发布于:2008-06-16 16:26
各位:
我的PCCARD驱动是基于MAINSTONEIII的PCCARD驱动改的,硬件上去掉了FPGA/CPLD器件,用读取GPIO的状态代替读取FPGA的状态寄存器;卡的插入检测中断正常,当没有客户端驱动的卡插入时弹出“未知驱动的卡在socket 2中”对话框,而且每次拔出后重新插入,会弹出两个相同的对话框,且对话框中的socket号会依次增大 。
当CISCO卡插入(WINCE添加了CISCO的组件)即有客户端驱动时,没有以上对话框弹出说明找到相关驱动,显示PCX500初始化成功,但控制面板里面没有相关的网络链接生成。
以下为插入CISCO卡时PB5.0输出的信息:
 145870 PID:e3f92442 TID:c3d7d39e 0x83d7c400: PCCARD: PCMCIA (dwWinIndex=0) memory window created
 145870 PID:e3f92442 TID:c3d7d39e 0x83d7c400: PCCARD: PCMCIA (dwWinIndex=1) memory window created
 145871 PID:e3f92442 TID:c3d7d39e 0x83d7c400: PCCARD: PCMCIA (dwWinIndex=0) memory window created
 145871 PID:e3f92442 TID:c3d7d39e 0x83d7c400: PCCARD: PCMCIA (dwWinIndex=1) memory window created
 148286 PID:e3f92442 TID:83d782a2 0x83d38640: GetCardCRC: CardGetNextTuple returned fails
 148286 PID:e3f92442 TID:83d782a2 0x83d38640: DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\PCCARD\PCMCIA\INSTANCE\PCMCIA1\Prefix) returned 2
 148286 PID:e3f92442 TID:83d782a2 0x83d38640: DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\PCCARD\PCMCIA\INSTANCE\PCMCIA1\BusPrefix) returned 2
 148286 PID:e3f92442 TID:83d782a2 0x83d38640: GetCardCRC: CardGetNextTuple returned fails
 148286 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\PCMCIA\Aironet-PC4800-D913\BusPrefix) returned 2
 148286 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: >>> Loading module pcx500.dll at address 0x036C0000-0x036DC000 (RW data at 0x01F7B000-0x01F7BB59)
Loaded symbols for 'F:\WINCE500\PBWORKSPACES\MQTHW\RELDIR\MAINSTONEIII_ARMV4I_DEBUG\PCX500.DLL'
 148461 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: Cisco DLL_PROCESS_ATTACH Handle=0x83ae8ef4
 148461 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: PCX500:: Initializing..
 148461 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: ==>NdisInitializeWrapper
 148461 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: <==NdisInitializeWrapper
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: ==>NdisMRegisterMiniport: NdisWrapperHandle 005B68D0
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: ==>ndisRegisterMiniportDriver: NdisWrapperHandle 005B68D0
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: <==ndisRegisterMiniportDriver: MiniBlock 005B6B30
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: NdisMRegisterMiniport: MiniBlock 005B6B30
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: <==NdisMRegisterMiniport: MiniBlock 005B6B30, Status 0
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: PCX500:: Initialization done [Successful]
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604:
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: ndisMInitializeAdapter: Miniport 005B6D30,
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: ==>ndisQueueMiniportOnDriver: Miniport 005B6D30, MiniBlock 005B6B30
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: <==ndisQueueMiniportOnDriver: Miniport 005B6D30, MiniBlock 005B6B30, rc 1
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: ==>NdisMSetAttributesEx: Miniport 005B6D30
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: CPcmcia::PcmciaCardMapWindow() : ! IO Space
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: PcmciaC :Voltage 50 Hight than initial value(33) Ignored !!!
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: ==>NdisMDeregisterAdapterShutdownHandler: Miniport 005B6D30
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: <==NdisMDeregisterAdapterShutdownHandler: Miniport 005B6D30
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: ***NDIS*** (b, 2078)
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604:     INIT FAILURE: Dequeueing the miniport from the driver block.
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: ==>ndisDeQueueMiniportOnDriver, Miniport 005B6D30, MiniBlock 005B6B30
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: <==ndisDeQueueMiniportOnDriver: Miniport 005B6D30, MiniBlock 005B6B30
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: ***NDIS*** (b, 2105)
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604:     INIT FAILURE: Dereferencing the miniport block.
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604:     ndisDereferenceMiniport:Miniport 005B6D30, Ref = 0
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: ==>ndisMUnload: DriverObject 005B6840
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604:   ndisMUnload: MiniBlock 005B6B30
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: <==ndisMUnload: DriverObject 005B6840, MiniBlock 005B6B30
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: Cisco DLL_PROCESS_DETACH
 148495 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: <<< Unloading module pcx500.dll at address 0x036C0000-0x036DC000 (RW data at 0x01F7B000-0x01F7BB59)
Unloaded symbols for 'F:\WINCE500\PBWORKSPACES\MQTHW\RELDIR\MAINSTONEIII_ARMV4I_DEBUG\PCX500.DLL'
 148562 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: NDIS:: ndisAddBusAgnosticDeviceFromNdisInit(): Error no "BusName" in ActivePath[Drivers\Active\26]
 148562 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: DEVICE!LaunchDevice: Init() failed for device 0x005b6750
 148562 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: DEVICE!I_ActivateDeviceEx: couldn't activate: prefix NDS, index 1, dll ndis.dll, context 0x864f3c0
 148562 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: PCMCIA:LoadPCCardDriver: ActivateDeviceEx('Drivers\PCMCIA\Aironet-PC4800-D913') failed 110
 148562 PID:e3f92442 TID:a3d7d1fa 0x83eb0604: INFO: Setting PCCARD slot 0 voltage to 0v (off).
请做过的高手帮帮忙,谢谢
游客

返回顶部