configure serial com port

Help
2009-06-13
2013-05-20
  • Hi,

    I am a new user of capcode.
    I haven't found where and how to configure com port to receive NMEA message from GPS. I used USB to serial port name ttySUSB0 port, but it is not detect. I used linux KUBUNTU 8.04.2 LTS

    Thanks

     
    • Yoda044
      Yoda044
      2009-06-13

      Do you have an error when capcode is loading? You can activate debug by setting debug tag to true in the configuration/capcode.xml

      You should see something like :
      capcode.comm.SerialScanner.scan (line 61)::scanning des ports séries
      Experimental:  JNI_OnLoad called.
      Stable Library
      =========================================
      Native lib Version = RXTX-2.1-7
      Java lib Version   = RXTX-2.1-7
      capcode.comm.SerialScanner.scan (line 74):

      Can you post use the log please?

       
    • Hi,

      Here is what i have when capcode log:

      capcode.comm.SerialScanner.scan (line 61)::scanning des ports séries
      java.lang.UnsatisfiedLinkError: /home/michel/capcode_0.9.1_beta/lib/linux/librxtxSerial.so: /home/michel/capcode_0.9.1_beta/lib/linux/librxtxSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch) thrown while loading gnu.io.RXTXCommDriver
      --------------------------------------------------------------------------------------
      at capcode.launcher.Application.main(Application.java:560)
      Caused by: java.lang.UnsatisfiedLinkError: /home/michel/capcode_0.9.1_beta/lib/linux/librxtxSerial.so: /home/michel/capcode_0.9.1_beta/lib/linux/librxtxSerial.so: wrong ELF class:ELFCLASS32 (Possible cause: architecture word width mismatch
      )

      I use 64 bit version of linux KUBUNTU maybe the source of problem?

      Thanks

       
    • Hi again,

      in capcode_0.9.1_beta/lib/linux i have rename librxtxSerial.so to librxtxSerial.so.32 and librxtxSerial.so.64 to librxtxSerial.so
      It seems ok now. I can read NMEA message from GPS in Capcode

      Thanks for your help

       
    • cyrille rosay
      cyrille rosay
      2009-06-20

      This entry will be added in the FAQ.

      thanks for the input