[Rxtx] Ethernet Serial Ports
Trent Jarvi
tjarvi at qbang.org
Tue Oct 25 00:12:04 MDT 2005
On Sun, 23 Oct 2005, Jim Owen wrote:
> Hi,
>
> I'm running the 2.4 RedHat kernel with an ethernet serial port driver
> from lavalink. A call to getPortIdentifiers() returns a single normal
> serial port (/dev/ttyS0) and a parallel port, but none of the serial ports
> setup for the ethernet serial port driver.
>
> I can cat out the port to a modem and see that the command is arriving,
> but I'm unable to get rxtx to correctly detect and identify this port.
>
> Any suggestions on this one?
>
The port probably has an atypical device name that needs to be added to
RXTXCommDriver.java.
You can add the port to the list and recompile just the java files to
generate a new jar and it should work. It is also possible to override
port names with properties.
A way to test your port without doing any of this is to create a symbolic
link from the device file to /dev/ttyS32 for instance. RXTX should detect
the port as /dev/ttyS* are enumerated.
More information about the Rxtx
mailing list