6/22/2012

Q&A about Qualcomm's Windows host driver

Question about Qualcomm usb host driver:


Where can I get the host driver source code

Is there document for Qualcomm's usb Windows host driver

How shall I build the host driver source code?

How can I debug the usb host driver?

Can we use third party's Modem driver?

Does Qualcomm provide usb driver for MAC machine?

Does Qualcomm provide usb driver for Linux machine?

Does Qualcomm's usb driver support Windows2000?

Does Qualcomm's usb driver support Windows Vista?

Does Qualcomm's usb driver support 64bit machine?

How can I get host driver logs?

Do we need another driver for USB2.0 high speed?




Answer


Download

The Qualcomm's usb host driver source code can be downloaded from:

http://support.cdmatech.com/

The path is:

Documents and downloads\library\software tools\sw\USB host driver\release\

There are three packages with different version.

For example:

USB_WIN2KXP2053: Modem/virtual serial port driver

USBWWAN_WINXP1029: NDIS driver

QMICM1400: QMI client for NDIS driver

The number means the version number, please always get the latest version.

All these are source code, provide as reference code, not commercial code.




Document

For modem driver, please see document 80-V4609-1 and 80-VA444-1

For NDIS driver, please see document 80-VB717-1

Please always try to get the latest version for these documents.

Platform support

Qualcomm's usb host driver only support Windows.

Modem driver support Windows2000, XP, Vista, WindowsServer2003, include 64bit version OS.

NDIS driver does not support Windows2000, other is same as modem driver.

For MAC support, OEM need to do themselves, there are some sample code available on the internet.

For Linux support, OEM need to do themselves, the Linux's own ACM driver can work with Qualcomm's modem interface, but may need some extra work.

Build

To build the host driver, you need to install Windows DDK, for vista, you need WDK.

http://www.microsoft.com/whdc/driver/foundation/WhichDDK.mspx

There are script file in the source packet for build.

Please also check the readme in source package.

blddrv.bat is build scripts.

qcpl.bat is the scripts called by blddrv.bat, please check whether the path for DDK in this file match where your DDK installed at.


Debug

To debug the host driver, you shall learn about windows driver development.

windbg is Microsoft's debug tool, it needs two machine for debugging.

debugview.exe is a tool that can get print message from drivers, you can add print message in the driver. You need to build a check version driver to get print message, also need to set Windows register value to enable different level of message.

Please 80-v4609-1 for more.

Version

The host driver source code will keep update with bug fix, enhancement and new feature. Generally, it will keep compatible with previous amss release.

For USB2.0 high speed support, the driver is same, but has a minimal version requirement.

Always try to use the latest driver or as new as possible.

No comments:

Post a Comment