RXTX could use the repo's package
but, RXTXComm.jar need to be put in /usr/lib/jvm/java-6-openjdk/jre/lib/ext
librxtxParallel.so, librxtxSerial.so need to be put in /usr/lib/jvm/java-6-openjdk/jre/lib/arm
Use TestSerialPort to do the test.
1. javac *.java
2. java ListCommPorts (check result)
Ubuntu ttySx default only root & dialout have permission to use.
so, the openbravo user need to join dialout group.
for autologon & auto-launch openbravo-pos
/etc/lxdm/lxdm.conf need to be modified
[base]
autologin=opos
session=/opt/openbravopos-2.30/start.sh
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言