2010-06-04 71 views
1

当我将Windows CE 6设备连接到我的开发计算机时,我使用Microsoft USB Sync在Windows设备管理器中注册。但由于某种原因我无法连接ActiveSync。有想法该怎么解决这个吗?Activesync不会连接到我的Windows CE 6设备

它与Windows CE 5一起工作,但是当我们升级ActiveSync功能时消失了。

新的更新13.34:

错误日志从WCESCOMM.LOG:

06/07/2010 13:31:12.495 - USB: RNDIS device id ... 
06/07/2010 13:31:12.964 - USB: Event 32768, name ... 
06/07/2010 13:31:12.964 - USB: Device Arrival notification 
06/07/2010 13:31:12.980 - ComSerial: Closed device. 
06/07/2010 13:31:13.042 - UsbComm: Open device <USB>. 
06/07/2010 13:31:13.042 - UsbComm: Change DTR to 1. 
06/07/2010 13:31:13.058 - Serial: Starting device detection at 115200. 
06/07/2010 13:31:13.073 - UsbComm: Change DTR to 1. 
06/07/2010 13:31:13.339 - AutobaudDetect: Found character <C>. 
06/07/2010 13:31:13.355 - AutobaudDetect: Found character <L>. 
06/07/2010 13:31:13.370 - AutobaudDetect: Found character <I>. 
06/07/2010 13:31:13.386 - AutobaudDetect: Found character <E>. 
06/07/2010 13:31:13.386 - AutobaudDetect: Found character <N>. 
06/07/2010 13:31:13.402 - AutobaudDetect: Found character <T>. 
06/07/2010 13:31:13.402 - Serial: Unimodem handshake at 115200. 
06/07/2010 13:31:13.417 - Proxy: Change connection state 1. 
06/07/2010 13:31:13.417 - Proxy: Created dynamic proxy on port 5655. 
06/07/2010 13:31:13.433 - Proxy: Created dynamic proxy on port 3000. 
06/07/2010 13:31:13.433 - Proxy: Created dynamic proxy on port 3001. 
06/07/2010 13:31:13.449 - Proxy: Created dynamic proxy on port 3002. 
06/07/2010 13:31:13.464 - Proxy: Created dynamic proxy on port 3003. 
06/07/2010 13:31:13.464 - Proxy: Created dynamic proxy on port 3004. 
06/07/2010 13:31:13.464 - Proxy: Created dynamic proxy on port 3005. 
06/07/2010 13:31:13.480 - Proxy: Created dynamic proxy on port 3006. 
06/07/2010 13:31:13.480 - Proxy: Created dynamic proxy on port 3007. 
06/07/2010 13:31:13.495 - Proxy: Created dynamic proxy on port 3008. 
06/07/2010 13:31:13.495 - Proxy: Created dynamic proxy on port 3009. 
06/07/2010 13:31:13.495 - Proxy: Created dynamic proxy on port 3010. 
06/07/2010 13:31:13.511 - Proxy: Created dynamic proxy on port 3011. 
06/07/2010 13:31:13.511 - Proxy: Created dynamic proxy on port 3012. 
06/07/2010 13:31:13.511 - Proxy: Created dynamic proxy on port 3013. 
06/07/2010 13:31:13.527 - Proxy: Created dynamic proxy on port 3014. 
06/07/2010 13:31:13.527 - Proxy: Created dynamic proxy on port 3015. 
06/07/2010 13:31:13.527 - Proxy: Created dynamic proxy on port 3016. 
06/07/2010 13:31:13.527 - Proxy: Created dynamic proxy on port 3017. 
06/07/2010 13:31:13.542 - Proxy: Created dynamic proxy on port 3018. 
06/07/2010 13:31:13.542 - Proxy: Created dynamic proxy on port 3019. 
06/07/2010 13:31:13.542 - Proxy: Created dynamic proxy on port 3020. 
06/07/2010 13:31:13.558 - Proxy: Created dynamic proxy on port 3021. 
06/07/2010 13:31:13.558 - Proxy: Created dynamic proxy on port 3022. 
06/07/2010 13:31:13.574 - Proxy: Created dynamic proxy on port 3023. 
06/07/2010 13:31:13.574 - Proxy: Created dynamic proxy on port 3024. 
06/07/2010 13:31:13.574 - Proxy: Created dynamic proxy on port 3025. 
06/07/2010 13:31:13.589 - Proxy: Created dynamic proxy on port 3026. 
06/07/2010 13:31:13.589 - Proxy: Created dynamic proxy on port 3027. 
06/07/2010 13:31:13.589 - Proxy: Created dynamic proxy on port 3028. 
06/07/2010 13:31:13.605 - Proxy: Created dynamic proxy on port 3029. 
06/07/2010 13:31:13.605 - Proxy: Created dynamic proxy on port 3030. 
06/07/2010 13:31:13.605 - Proxy: Created dynamic proxy on port 3031. 
06/07/2010 13:31:13.620 - Proxy: Created dynamic proxy on port 6510. 
06/07/2010 13:31:13.620 - Proxy: Created dynamic proxy on port 6511. 
06/07/2010 13:31:13.636 - Proxy: Created dynamic proxy on port 6512. 
06/07/2010 13:31:13.636 - Proxy: Created dynamic proxy on port 6513. 
06/07/2010 13:31:13.636 - Proxy: Created dynamic proxy on port 6514. 
06/07/2010 13:31:13.652 - Proxy: Created dynamic proxy on port 6515. 
06/07/2010 13:31:13.652 - Proxy: Created dynamic proxy on port 6516. 
06/07/2010 13:31:13.667 - Proxy: Created dynamic proxy on port 6517. 
06/07/2010 13:31:13.667 - Proxy: Created dynamic proxy on port 6518. 
06/07/2010 13:31:13.667 - Proxy: Created dynamic proxy on port 6519. 
06/07/2010 13:31:13.683 - Proxy: Created dynamic proxy on port 6520. 
06/07/2010 13:31:13.683 - Proxy: Created dynamic proxy on port 6521. 
06/07/2010 13:31:13.683 - Proxy: Created dynamic proxy on port 6522. 
06/07/2010 13:31:13.699 - Proxy: Created dynamic proxy on port 6523. 
06/07/2010 13:31:13.699 - Proxy: Created dynamic proxy on port 6524. 
06/07/2010 13:31:13.714 - Proxy: Created dynamic proxy on port 6525. 
06/07/2010 13:31:13.714 - Proxy: Created dynamic proxy on port 6526. 
06/07/2010 13:31:13.714 - Proxy: Created dynamic proxy on port 6527. 
06/07/2010 13:31:13.730 - Proxy: Created dynamic proxy on port 6528. 
06/07/2010 13:31:13.730 - Proxy: Created dynamic proxy on port 6529. 
06/07/2010 13:31:13.730 - Proxy: Created dynamic proxy on port 6530. 
06/07/2010 13:31:13.745 - Proxy: Created dynamic proxy on port 6531. 
06/07/2010 13:31:13.745 - Proxy: Created dynamic proxy on port 6532. 
06/07/2010 13:31:13.761 - Proxy: Created dynamic proxy on port 6533. 
06/07/2010 13:31:13.761 - Proxy: Created dynamic proxy on port 6534. 
06/07/2010 13:31:13.761 - Proxy: Created dynamic proxy on port 6535. 
06/07/2010 13:31:13.777 - Proxy: Created dynamic proxy on port 6536. 
06/07/2010 13:31:13.777 - Proxy: Created dynamic proxy on port 6537. 
06/07/2010 13:31:13.777 - Proxy: Created dynamic proxy on port 6538. 
06/07/2010 13:31:13.792 - Proxy: Created dynamic proxy on port 6539. 
06/07/2010 13:31:13.792 - Proxy: Created dynamic proxy on port 6540. 
06/07/2010 13:31:13.792 - Proxy: Created dynamic proxy on port 6541. 
06/07/2010 13:31:13.808 - Proxy: Created dynamic proxy on port 1026. 

错误日志从WCESMgr.log:

06/07/2010 13:31:51.339 **************** Logging Started **************** 
06/07/2010 13:31:51.339 Process C:\Program\Microsoft ActiveSync\WCESMgr.exe p(3040) 
06/07/2010 13:31:51.339 ActiveSync second instance started, Cmd line: '/show' 
06/07/2010 13:31:51.339 ActiveSync second instance exiting 
06/07/2010 13:31:51.339 **************** Logging Stopped **************** 

回答

1

你删除旧的连接,并开始一个新的一?我遇到了与CE 5类似的问题。有时候,这只是重新启动一切。

+0

删除连接?我正在使用USB,我不应该设置网络连接....或? – Presidenten 2010-06-04 13:12:37

+1

我的意思是在windows的activesync程序中。它会跟踪您连接的设备。我还记得有时会强行杀死activesync进程。我仅仅是为了开发移动设备时所做的事情而忘记了自己的记忆。 – nportelli 2010-06-04 13:49:24

3

Windows CE 6和Windows CE 5是两个不同的东西,所以说一些与驱动程序相关的驱动程序没有反映在另一个上。

究竟是什么错误? Windows(我认为XP)是否要求安装驱动程序,或者是否说有附加的无法识别的设备。

您是否在构建操作系统?如果是这样的话: 与Windows CE 5一起工作,你知道硬件是好的,所以你需要确保你有一个USBFN驱动程序正常运行。您还需要确保您的USB serial_class注册表设置正确,并且包含目录项(如果您正在构建操作系统)。目录项目是SYSGEN_USBFN_SERIAL。您还需要确保操作系统中包含Active Synce(SYSGEN_AS_BASE)。

更新: 所以,你是OEM。如果您说您看到拨号程序在Windows CE设备上启动并停止,您可以查看您的调试串行以查找错误代码。这可能是您的RAS电话簿条目不正确。
尝试以下操作:

  • 检查在桌面上,看它是否标识不明的USB设备。至少你会知道桌面试图与设备进行通信,但无法检索描述符。
  • 确保Serial_class是Windows CE尝试使用的。您可以通过设置做到这一点,下面的注册表设置(Windows CE 6不支持ActiveSync的过RNDIS):
    [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers] "DefaultClientDriver"="Serial_Class"
  • 你应该有[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class]条目一旦你包括序列类目录项。如果您没有在您的OSDesing注册表文件中设置自己的东西,则从WINCE600\PUBLIC\COMMON\OAK\FILES\common.reg复制此条目。
+0

嗨! 感谢您的意见!我们正在构建我们自己的Windows CE 6版本,但我并不负责操作系统的构建,但是我与那个正在努力的人密切合作。 (一年前我们制造CE 5版本的那个人已经退出了。) 我刚与他核实过,你提到的两个目录项都包含在内。我们是否需要为usb serial_class进行任何特殊的注册表设置来进行注册,或者将包含的目录项目处理? – Presidenten 2010-06-07 08:29:32

+0

我们没有通过主动同步获得任何特定错误。该设备只是不连接。在设备上,我们看到一个连接盒弹出并随着嘟嘟声快速消失。然后没有。 查看我的原帖与错误日志... – Presidenten 2010-06-07 08:30:14

+0

再次嗨! 我们检查了注册表并找到了两个条目。我们还尝试在设备上创建新的网络连接,将其绑定到COM4并在“设置 - 控制面板 - PC连接”中进行选择。现在 设备和Windows似乎有更多的交互。 设备连接到设备,但在PC端Activesync卡在连接上,然后设备退出连接,一段时间后,PC弹出一个屏幕,指出Activesync无法连接到Windows移动设备。 关于这个的任何想法? 我已经更新了日志文件的输出。 – Presidenten 2010-06-07 11:30:35