Re: Adding a non-standard Serial Port to Java?
From: Mike C. (noemail_at_nospam.com)
Date: 12/26/03
- Previous message: Silvio Bierman: "Re: Button at (x.y| in Applet ??!?"
- In reply to: hiwa: "Re: Adding a non-standard Serial Port to Java?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 25 Dec 2003 19:45:13 -0800
On 23 Dec 2003 16:53:13 -0800, HGA03630@nifty.ne.jp (hiwa) wrote:
>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.
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.
- Previous message: Silvio Bierman: "Re: Button at (x.y| in Applet ??!?"
- In reply to: hiwa: "Re: Adding a non-standard Serial Port to Java?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]