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

相關問題