[CentOS] Need to test serial port connection - ALMOST THERE!

Anne Wilson cannewilson at googlemail.com
Fri Feb 27 14:48:57 UTC 2009


On Friday 27 February 2009 11:33:35 Radu Radutiu wrote:
> > ./Setup install
> > * Checking kernel version (2.4.18 or later required)...
> > * Checking for glibc...
> > * Checking glibc version (2.2.4 or later required)...
> > Uncompressing JRE distribution
> > ./bin/jvmShell install /tmp/ML ./install/install.cfg
> > Extracting JVM files to /tmp/ML/jre
> > /tmp/ML/jre/bin/java -cp .:/tmp/ML/lib/em.jar -Djava.compiler=NONE
> > install.LxInstall install ./install/install.cfg /tmp
> > Exception in thread "main"
> > java.lang.UnsatisfiedLinkError: /tmp/ML/jre/lib/i386/libawt.so:
> > libXp.so.6: cannot open shared object file: No such file or directory
>
> Hi,
>
> It looks like the installer has its own JRE that requires libXp.
> Just install it using.
> yum install libXp
>
Thanks.  That was the clue.  The software installed without a problem, then 
the viewer started.  I tried setting it to ttyS0 and to ttyS1, but ttyS1 
didn't see it at all, so back to ttyS0.  The only problem was that it always 
said that the UPS was disconnected.  Finally, after a long session of trial 
and error and browsing the manual, I spotted a sentence that says that it 
cannot work if getty is running.  I commented out the mingetty lines in 
/etc/inittab and rebooted.  Now it says 'conneted'!

The only problem is that when I launch the viewer program it says 
'disconnected' at first, but changes to 'connected' after a few seconds.  Is 
this normal?  Is it only the viewer that's making the connection at that time?

I'm feeling much more confident now.

Anne
-- 
New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature?  Add it to UserBase
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.centos.org/pipermail/centos/attachments/20090227/8b1b5284/attachment.sig>


More information about the CentOS mailing list