【问题标题】:Activesync wont connect to my Windows CE 6 deviceActivesync 无法连接到我的 Windows CE 6 设备
【发布时间】:2011-02-27 18:57:02
【问题描述】:

当我将 Windows CE 6 设备连接到我的开发机器时,我会在 Windows 设备管理器中注册 Microsoft USB Sync。但由于某种原因,我无法连接 ActiveSync。有关如何解决此问题的任何想法?

它适用于 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 ****************

【问题讨论】:

    标签: usb windows-ce activesync


    【解决方案1】:

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

    究竟是什么错误? Windows(我假设是 XP)是否要求安装驱动程序,或者它是否说连接了一个无法识别的设备。

    您正在构建操作系统吗?如果是这样的话: 使用 Windows CE 5 后,您知道硬件没问题,因此您需要确保您的 USBFN 驱动程序可以正常运行。您还需要确保您的 USB serial_class 注册表设置正确并且包含目录项(当然,如果您正在构建操作系统)。目录项目是SYSGEN_USBFN_SERIAL。您还需要确保操作系统中包含 Active Sync (SYSGEN_AS_BASE)。

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

    • 检查桌面以查看它是否识别出未识别的 USB 设备。至少您会知道桌面尝试与设备通信但未能检索到描述符。
    • 确保 Serial_class 是 Windows CE 尝试使用的那个。您可以通过设置以下注册表设置来做到这一点(Windows CE 6 不支持 ActiveSync over RNDIS):
      [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers] "DefaultClientDriver"="Serial_Class"
    • 在包含序列类目录项后,您应该有一个[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class] 条目。此条目是从 WINCE600\PUBLIC\COMMON\OAK\FILES\common.reg 复制的,以防您没有在 OSDesing 注册表文件中设置自己的内容。

    【讨论】:

    • 嗨!感谢您的输入!我们正在构建自己的 Windows CE 6 版本。虽然我不负责操作系统构建,但我与负责构建的人密切合作。 (制作我们的 CE 5 版本的人大约一年前就辞职了。)我刚刚和他核实了一下,你提到的两个目录项目都包括在内。我们是否需要为要注册的 usb serial_class 进行任何特殊的注册表设置,还是包含的目录项会处理这些?
    • 我们没有通过主动同步收到任何特定错误。该设备只是没有连接。在设备上,我们看到一个连接框弹出并随着哔哔声快速消失。然后什么都没有。有关错误日志,请参阅我的原始帖子...
    • 您好!我们检查了注册表并找到了两个条目。我们还尝试在设备上创建一个新的网络连接,将其绑定到 COM4 并在“设置-控制面板-PC 连接”中选择它。现在设备和窗口似乎交互了一些。设备连接到设备连接,但在 PC 端 Activesync 卡在连接上,然后设备退出连接,一段时间后 PC 弹出一个屏幕,提示 Activesync 无法连接到 Windows 移动设备。关于这个有什么想法吗?我已经更新了日志文件的输出。
    • 这里有一些 Voodoo 可以尝试 ;) :尝试将其附加到另一个桌面。尝试重新启动桌面计算机。不要为 USB 或集线器使用任何延长线 -> 将模块直接连接到桌面上的端口。
    • 是的,我们在新安装的 Windows 机器上进行了尝试。没用。最近,我还尝试在我的同事敲击邦戈鼓的同时,向后高呼 EULA 时牺牲一只鸡。 ......它也没有工作。因此,我将尝试在论坛上找到一个提示,该提示说我现在应该尝试恢复到旧版本的 activesync 看看会发生什么...如果您有任何其他想法,我会很乐意尝试一下. :-)
    【解决方案2】:

    您是否删除了旧连接并开始了新连接?我在使用 CE 5 时也遇到过类似的问题。有时这与重新启动所有内容一样有效。

    【讨论】:

    • 删除连接?我正在使用 USB,我不应该设置网络连接....还是?
    • 我的意思是在 windows 上的 activesync 程序中。它会跟踪您连接到的设备。我还记得有时会强行终止 activesync 进程。我只是忘记了我过去在为移动设备开发时所做的事情。
    猜你喜欢
    • 2012-04-25
    • 2011-11-30
    • 2018-04-08
    • 2012-05-23
    • 2011-01-26
    • 1970-01-01
    • 1970-01-01
    • 2011-09-07
    • 2016-12-25
    相关资源
    最近更新 更多