Javax.comm doesn't enumerate more than 2 serial ports (linux)

I am using javax.comm v3.0u1 on a PC104 single board computer and ports /ttyS0 and ttyS1 work great and are enumerated.However I have an addon board attached that provides 4 additional ports. These additional ports javax.comm cannot enumerate and cannot communicate to.

I used setserial to setup my additional ones and setserial -g to check them. I can use curecom terminal to communicate on ttyS2-S5 but the java example only enumerates the first 2.

For example, at the linux terminal I performed the following command to configure my addtioanl port ttyS2:

setserial /dev/ttyS2 port 0x0100 irq 7 autoconfig

setserial -g /dev/ttyS2

Is there more I have to do in order to get javax.comm to see the additional ports?

[751 byte] By [Menela] at [2007-10-2 4:37:50]
# 1

I have the same problem. I wanted to use my virtual serial port rfcomm0 and it was not listed.

I edited the file javax.comm.properties this way:

# Paths to server-side serial port devices

serpath0 = /dev/ttyS0

serpath1 = /dev/rfcomm0

serpath3 = /dev/ttyS1

And it now only finds ttyS0 and rfcomm0

Can somebody help me too. I would like it to find every serial port. Not just the first 2 listed in the file.

fervica at 2007-7-16 0:10:48 > top of Java-index,Java Essentials,Java Programming...