|
最近做项目需要把TD模块给加上,是走PCIE接口的,就是USB吧。
我把模块厂商那边提供的驱动(一个REG文件,一个DLL文件)
移植到WINCE上,(REG就直接粘贴过去了,DLL就跟Image一起捆绑)
但我发现,WINCE开机后,没看到设备驱动被加载。现在非常郁闷,
不知道哪里出问题了。我的初步怀疑两点:
1.Td模块没上电(但硬件工程师确认机器一开机,TD模块就上电的)
2.USB Host的代码出问题?
按道理,Td模块一上电,USB Host会去搜索该设备的驱动才对啊。
究竟哪里出问题了呢?
我的REG文件如下:
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1228_8814\Default\Default]
"bConfigurationValue"=dword:2
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1228_8814\Default\Default\USBSER_CLASS0]
"Dll"="TDModem.DLL"
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\USBSER_CLASS0]
"Prefix"="COM"
"Index"=dword:6
"Dll"="TDModem.DLL"
"DeviceArrayIndex"=dword:1
"RxBufferSize"=dword:80000
"FriendlyName"="TD-HSDPA ATCOM On COM6:"
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1228_8814\Default\Default\USBSER_CLASS1]
"Dll"="TDModem.DLL"
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\USBSER_CLASS1]
"Prefix"="COM"
"Index"=dword:7
"Dll"="TDModem.DLL"
"DeviceArrayIndex"=dword:1
"RxBufferSize"=dword:80000
"FriendlyName"="TD-HSDPA USB Modem0 On COM7:"
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\USBSER_CLASS1\Unimodem]
"Tsp"="Unimodem.dll"
; "DeviceType"=dword:3
"Port"="COM7:"
"DeviceType"=dword:1 ;DT_EXTERNAL_MODEM
"FriendlyName"="TD-HSDPA USB Modem0 On COM7:"
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1228_8814\Default\Default\USBSER_CLASS2]
"Dll"="TDModem.DLL"
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\USBSER_CLASS2]
"Prefix"="COM"
"Index"=dword:8
"Dll"="TDModem.DLL"
"DeviceArrayIndex"=dword:1
"RxBufferSize"=dword:80000
"FriendlyName"="TD-HSDPA USB Modem1 On COM8:"
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\USBSER_CLASS2\Unimodem]
"Tsp"="Unimodem.dll"
; "DeviceType"=dword:3
"Port"="COM8:"
"DeviceType"=dword:1 ;DT_EXTERNAL_MODEM
"FriendlyName"="TD-HSDPA USB Modem1 On COM8:"
请各位大侠帮帮忙
|
|