Activesync 无法连接到我的 Windows CE 6 设备

发布于 2024-09-04 02:00:46 字数 6214 浏览 10 评论 0原文

当我将 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 ****************

When I connect my Windows CE 6 device to my development machine I get Microsoft USB Sync to register in Windows Device manager. But I cant connect with ActiveSync for some reason. Any ideas on how to fix this?

It worked with Windows CE 5, but when we upgraded ActiveSync-functionality disappeared.

NEW UPDATE 13.34:

Error log from 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.

Error log from 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 ****************

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

唔猫 2024-09-11 02:00:47

Windows CE 6 和 Windows CE 5 是两个不同的东西,因此与在其中一个上运行的驱动程序相关的某些内容不会反映在另一个上。

到底是什么错误? Windows(我假设是 XP)是否要求安装驱动程序,或者是否表示连接了无法识别的设备。

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

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

  • 检查桌面是否识别到无法识别的 USB 设备。至少您会知道桌面尝试与设备通信但无法检索描述符。
  • 确保 Serial_class 是 Windows CE 尝试使用的类。您可以通过设置以下注册表设置来执行此操作(Windows CE 6 不支持基于 RNDIS 的 ActiveSync):
    <代码>[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 and Windows CE 5 are two different things so saying that something that relates to a driver worked on one does not reflect on the other.

What exactly is the error? Does Windows (I assume XP) ask for a driver to be installed or does it say that there is an unrecognized device attached.

Are you building the OS? If so:
Having worked with Windows CE 5 you know the HW is OK so you need to make sure you have a USBFN driver that operates properly. You also need to make sure that your USB serial_class registry settings are correct and that the catalog item is included (if you are building the OS of course). Catalog item is SYSGEN_USBFN_SERIAL. You also need to make sure that Active Synce is included in the OS (SYSGEN_AS_BASE).

Update:
So, you are the OEM. If you say that you see the dialer start and stop on the Windows CE device you can look at your debug serial to look for an error code. It might be that your RAS phone book entry is not correct.
Try the following:

  • Check on the Desktop to see whether it identifies an unidentified USB device. At least you will know that the desktop tried to communicate with the device and failed to retreive the descriptors.
  • Make sure that the Serial_class is the one that Windows CE tries to use. You do this by settings the following registry setting (Windows CE 6 does not support ActiveSync over RNDIS):
    [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
    "DefaultClientDriver"="Serial_Class"
  • You should have an entry for [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class] once you include the serial class catalog item. This entry is copied from WINCE600\PUBLIC\COMMON\OAK\FILES\common.reg in case you are not setting something of your own in one of your OSDesing registry files.
子栖 2024-09-11 02:00:47

您是否删除了旧连接并启动了新连接?我在使用 CE 5 时也遇到过类似的问题。有时,只需重新启动一切就可以了。

Did you delete the old connection and start a new one? I've had similar issues with CE 5. That sometimes worked as well as just rebooting everything.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文