jiuzhuaxiong / qextserialport

Automatically exported from code.google.com/p/qextserialport
Other
0 stars 0 forks source link

VCOM port not listed with "enum only GUID_DEVINTERFACE_COMPORT devices" change #182

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Which version of QextSerialPort are you using?

Master branch rev. a52081be1c7b

What steps will reproduce the problem?

1. Connect Virtual COM port device, eg. STM32 MCU-based USB, using usbser.sys 
driver with custom .inf (attached).

What is the expected output? What do you see instead?

Expect the port is not returned in QextSerialEnumerator::getPorts().  It is not.

What version of the product are you using? On what operating system?

Win7 x64/Qt 4.8.6 MSVC2010 32 bit.

Please provide any additional information below.

Reverting 
https://code.google.com/p/qextserialport/source/detail?r=70cde1a41d38f21fc9b41cb
12b9d44434cdc39e8 makes the device appear in the ports list again.

I'm happy to help solve this however I can, and I realize the VCOM port in 
question isn't "typical" hardware, but I'm not well versed with the underlying 
Windows interfaces.  So maybe someone has some good ideas about what to check 
first?

Note that the device in question is a Composite USB type, meaning, in this 
case, that it also shows up as a standard mass storage device.

For starters I'm attaching the .inf COM port driver file used by this device, 
in case it can provide any clues.  The inf is basically the one provided by 
STMicro, just modified with custom strings.  

Thanks,
-Max

Original issue reported on code.google.com by maxpaperno on 4 Jun 2014 at 10:54

Attachments:

GoogleCodeExporter commented 8 years ago
Typo:

What is the expected output? What do you see instead?

Expect the port _to be_ returned in QextSerialEnumerator::getPorts().  It is 
not.

Original comment by maxpaperno on 4 Jun 2014 at 10:57