Re: Adding a non-standard Serial Port to Java?

From: hiwa (HGA03630_at_nifty.ne.jp)
Date: 12/24/03


Date: 23 Dec 2003 16:53:13 -0800

Mike C. <noemail@nospam.com> wrote in message news:<hq1huvohua93q1vtc4caoq442og73s0orn@4ax.com>...
> I am trying to get Java v1.4.2 to use my PCI add-on serial port.
>
> So far, everything I try gives me
>
> javax.comm.NoSuchPortException
> at
> javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:105)
> at
> org.sf.javaemu.Serial.SerialCommunications.openConnection(UnknownSource)
> at javaemu.main.init(Unknown Source)
> at javaemu.main.main(Unknown Source)
>
>
>
> In regular Windows2000, it's known as COM4, but Java is not seeing it.
>
> The PCI board uses
> IRQ:9
> I/O Base: DF80 to DF87
>
>
> Any ideas?
> Mike C.

If your COM4 is not listed in the result from getPortIdentifiers()
method, confirm your BIOS setting for serial-ports/UART.