in reply to Re^4: finding a serial port with Win32::SerialPort
in thread finding a serial port with Win32::SerialPort

This sounds good in that the field has been narrowed to either COM1 or COM2!
You are getting some sort of response from both "virtual" serial ports - that is different than "no device connected" - you have "wires to something" on those two ports and the OS is saying that it can talk to what it thinks are 2 devices. This good!

So how does your app work when you talk to COM1?

I do not know (if either) of these COM devices is the serial device that you want to talk to. But is likely that software COM1 and COM2 are aliases to the same physical serial port. You have to experiment with this!

If you have only one physical DB-9 connector on the motherboard, that is very likely to be true.

  • Comment on Re^5: finding a serial port with Win32::SerialPort