From: Roger B. <ro...@ro...> - 2003-12-13 08:33:47
|
Here is an example of comscan on my machine. [I would have included this in the last message, except I found a bug in comscan that I have now fixed] COM1: active: True available: True description: Communications Port (COM1) driverdate: (2001, 7, 1) driverdescription: Communications Port driverprovider: Microsoft driverversion: 5.1.2600.0 hardwareinstance: ACPI\PNP0501\1 COM2: active: True available: True description: Communications Port (COM2) driverdate: (2001, 7, 1) driverdescription: Communications Port driverprovider: Microsoft driverversion: 5.1.2600.0 hardwareinstance: ACPI\PNP0501\2 COM5: active: False available: False description: Prolific USB-to-Serial Comm Port (COM5) driverdate: (2002, 4, 9) driverdescription: Prolific USB-to-Serial Comm Port driverprovider: Prolific driverversion: 1.5.0.0 hardwareinstance: USB\VID_067B&PID_2303\6&32D8FA8&0&3 COM6: active: True available: True description: Prolific USB-to-Serial Comm Port (COM6) driverdate: (2002, 4, 9) driverdescription: Prolific USB-to-Serial Comm Port driverprovider: Prolific driverversion: 1.5.0.0 hardwareinstance: USB\VID_067B&PID_2303\6&32D8FA8&0&4 COM1 and COM2 are the onboard ports. COM5 and COM6 are the USB to serial ports. Note how I can detect the USB info in the hardwareinstance. The reason why it lists both COM5 and 6 is that I have a hub and it assigns each position in the hub a different hardware instance. I only have one cable so it doesn't matter, but if I had 4 cables it would be needed to tell the difference. That is also why COM5 is neither active nor available since it isn't plugged in. Roger |