PC (UART) <-> Q2686 (USB)


#1

I’m looking for any solution that allows me to connect a Q2686 module to a PC, with the catch that the PC side has to be with a serial port and the Q26 side has to be USB.

Connecting the Q26 to PC USB would be acceptable if there is a driver that assigns the same COM port to every unit I connect (only a single module is to be connected at any time). The “driver” that’s included with OpenAT SDK always give me a new COM (in Windows) for every new module I connect which is really not suitable for my purposes.

Any ideas out there?


#2

the following .inf file does the trick for WinXP. I forgot how to use it, as I’m not exactly an MS-Windows expert, but I’m sure you’ll figure it out.

; Windows 2000 and XP setup file

; Wavecom USB to UART driver

[Version]

Signature="$Windows NT$"

Class=Ports

ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}

Provider=%Mfg%
LayoutFile=layout.inf

DriverVer=10/15/1999,5.0.2153.1

[Manufacturer]
%Wavecom% = Wavecom

[Wavecom]
%Wavecom_Serial% = WMserial, USB\VID_114f&PID_1234

[Reader_Install.NTx86]

;Windows2000

[DestinationDirs]

DefaultDestDir=12

Reader.NT.Copy=12

[WMserial.NT]

CopyFiles=WMserial.NT.Copy

AddReg=WMserial.NT.AddReg

[WMserial.NT.Copy]

usbser.sys

[WMserial.NT.AddReg]

HKR,DevLoader,*ntkern

HKR,NTMPDriver,usbser.sys

HKR,EnumPropPages32,“MsPorts.dll,SerialPortPropPageProvider”

[WMserial.NT.Services]

AddService = usbser, 0x00000002, Service_Inst

[Service_Inst]

DisplayName = %Serial.SvcDesc%

ServiceType = 1 ; SERVICE_KERNEL_DRIVER

StartType = 3 ; SERVICE_DEMAND_START

ErrorControl = 1 ; SERVICE_ERROR_NORMAL

ServiceBinary = %12%\usbser.sys

LoadOrderGroup = Base

[Strings]

Wavecom = “WAVECOM”
Wavecom_Serial = “Wavecom USB to UART”
Serial.SvcDesc = “USB Serial emulation driver”


#3

That still has the problem that for every new module I connect, the COM-port number is incremented.
It is quite possible for me to manually go in and force another port-number to use, but I don’t know if I can do that programmatically.

I can discover what COM-port number has been assigned to a connected unit programmatically, but the list of assignments is limited, and I’m unsure what happens when the list is filled.


#4

Welcome in the world of PnP according to MSFT :frowning:


#5

After much searching around I managed to find
vinculum.com/prd_vnc1l.html

It’s relatively cheap and lets me transparently do:
PC (UART) <-> VNC1L <-> Q2686 (USB)

without any of the hassle caused by doing
PC (USB) <-> Q2686 (USB)