On 23 Dec 2003 16:53:13 -0800,
HG******@nifty.ne.jp (hiwa) wrote:
Mike C. <no*****@nospam.com> wrote in message news:<hq********************************@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(Co mmPortIdentifier.java:105)
at
org.sf.javaemu.Serial.SerialCommunications.openCon nection(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.
Sorry if I didn't explain the problem clearly. The card I'm trying to
use is an Add-On PCI card, not the one built onto the motherboard.
Since it's an add-on, the motherboard's BIOS doesn't know it exists.
Windows sees it and can use it just fine once it loads the driver for
it. When I try to use the port while running Java, Java it doesn't see
it.
I have tried to use the standard COMM and rxtx-2.0.5-win32, but I
still cannot see the port.
Thanks,
Mike C.