Jonas Holmberg wrote:
>
> The machine I used had about twenty serial ports and
> javax.comm.CommPortIdentifier.getPortIdebtifiers() only found
> /dev/ttyS[0-3] (the "internal" ports on my main board). It didn't find
> for example /dev/ttyD0 which is the first "external" serial port. It did
> however find /dev/ttyd0 (and a lot of other /dev/tty-files that don't
> even exist) which I couldn't talk to. I can only use /dev/ttyD0 if i
> rename it to /dev/ttyS[0-3], but that's no solution, of course, since I
> still can't use more than four ports. Has anyone else had this problem?
I received a reply to an email from the maintainers of the linuxcomm and rxtx
packages about this issue. There is a java file in the rxtx src directory
called RXTXCommDriver.java that you will need to modify. Look in the
initialize() method or grep for "tty" and you should see fairly quickly what
needs to be modified in order for your ttyD? devices to be recognized.
This is for 1.3-6 of rxtx, but should be the same for 1.3-4.
--
Scott Parish | "I really can't live without Christ. It's like
[EMAIL PROTECTED] | impossible to really have a true life without Him."
| -- Cassie Bernall, martyr at Columbine High School.
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]