On Wed, May 24, 2000 at 08:36:41AM -0500, Graham Coppin wrote:
> I'm running JDK 1.2.2 on Linux x86. I've downloaded the Solaris x86
> Comm API and a driver someone wrote that makes the Comm API work on a
> Linux box (this tip from the Comm API FAQ). Now I'm trying to get the
> SimpleRead.java program that comes with the Comm API to run. But the
> CommPortIdentifier.getPortIdentifiers() method comes back empty - i.e.
> the Enumeration object (or whatever it's called, new to Java here) is
> empty. Which means no comm objects detected. Uh oh.
Might be permissions. You might check permissions on the serial devices,
or just try running as root to see if that solves the problem.
Nathan
>
> Is there a simple way to determine if my serial port(s) have been set up
> correctly in Linux? Is this a common problem (Serial Ports unavailable
> to Comm API on Linux)? I'm not sure if this is a Linux set-up issue or
> a Java issue or both.
>
> I'd appreciate any advice.
>
> Graham.
>
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]