|
Profile
Personal Photo
Options
Personal Statement
jeff_burch doesn't have a personal statement currently.
Personal Info
jeff_burch
Age Unknown
Gender Not Set
Location Unknown
Birthday Unknown
Interests
No Information
Statistics
Joined: 26-May 04
Profile Views: 556*
Last Seen: 4th June 2004 - 11:28 PM
Local Time: May 23 2013, 05:37 PM
7 posts (0 per day)
Contact Information
No Information
No Information
No Information
No Information
* Profile views updated each hour
|
Topics
Posts
Comments
Friends
My Content
28 May 2004
Surely someone has done this before. I need to communicate from java to/from the Z's serial port.
========= installation ============== I've installed http://s88074083.onlinehome.us/Zaurus/java...api_1.0_arm.ipk This resulted in the following files in /home/QtPalmtop java/comm.jar java/jcl.jar lib/libSerial.so javax.comm.properties Note that my LD_LIBRARY_PATH environmental variable is set to /home/QtPalmtop/lib I expect the calling sequence to be SerialDemo --> comm.jar --> jcl.jar --> libSerial.so --> /dev/ttyS0 I manually performed the following configuration: 1) added user zaurus to the uucp line in /etc/group 2) chmod 777 /dev/ttyS0 3) chmod 777 /var I got a font error and resolved it by adding this symbolic link: mkdir -p /usr/local/qt-embedded/lib cd /usr/local/qt-embedded/lib ln -s /home/QtPalmtop/lib/fonts fonts I built this demo http://s88074083.onlinehome.us/Zaurus/java...-SerialDemo.zip ========== evm problems ============ With evm, I still get errors: x=/home/QtPalmtop/java evm -Dcomm.enable -cp .:$x/comm.jar:$x/jcl.jar SerialDemo 14 1082109100 RXTX WARNING: This library requires the user running applications to be in group uucp. Please consult the INSTALL documentation. More information is avaiable under the topic 'How can I use Lock Files with rxtx?' check_lock_status: No permission to create lock file. ======= cvm problems ========== With cvm, the application loads but I don't see any com ports: cvm -Dcomm.enable -Djava.class.path=.:$x/comm.jar:$x/jcl.jar SerialDemo ========== Source code explorations ============= In the SerialDemo.java, search for Enumeration en = CommPortIdentifier.getPortIdentifiers(); This appears to be returning an empty enumeration. Note that I can rename the libSerial.so to a dummy name and the application DOES NOT complain. So, I don't think something is configured correctly. If anyone knows what I'm doing wrong, please let me know! Thanks in advance, Jeff
26 May 2004
I've recently upgraded my 5500 Z's rom to 3.10 and installed Jeode evm and Sun's cvm.
Whenever I run either program from the embeddedkonsole or a telnet session, I get the following error messages: $ type evm evm is hashed (/home/QtPalmtop/bin/evm) $ evm -version QSocket::writeBlock: Socket is not open QSocket::writeBlock: Socket is not open QSocket::writeBlock: Socket is not open QSocket::writeBlock: Socket is not open No Qt/Embedded server appears to be running. If you want to run this program as a server, add the "-qws" command-line option. $ type cvm cvm is /home/QtPalmtop/j2me/bin/cvm $ cvm -version java version "J2ME Personal Profile for Zaurus 1.0" J2ME Personal Profile 1.0 (build 1.0_ea4-b18) J2ME CDC-HI 1.0_v01 $ cvm Example5 No application name set, use cvm instead QSocket::writeBlock: Socket is not open QSocket::writeBlock: Socket is not open QSocket::writeBlock: Socket is not open QSocket::writeBlock: Socket is not open No Qt/Embedded server appears to be running. If you want to run this program as a server, add the "-qws" command-line option. ---------------------------------------------------------------------- On the old rom, I only had this problem when running from a telnet session. I got around it by adding this to my .profile: export LOGNAME=unknown This LOGNAME trick doesn't appear to work anymore. What should I try next? I'm wondering if I need to install or enable the Qt/Embedded server for the new rom? How would I check? Here is a process dump: $ ps -ef UID PID PPID C STIME TTY TIME CMD root 1 0 0 13:50 ? 00:00:00 init root 2 1 0 13:50 ? 00:00:00 [keventd] root 3 1 0 13:50 ? 00:00:00 [swapper] root 4 1 0 13:50 ? 00:00:00 [swapper] root 5 1 0 13:50 ? 00:00:00 [swapper] root 6 1 75 13:50 ? 02:04:13 [kapm-idled] root 7 0 0 13:50 ? 00:00:00 [ksoftirqd_CPU0] root 8 0 0 13:50 ? 00:01:02 [kswapd] root 9 0 0 13:50 ? 00:00:00 [bdflush] root 10 0 0 13:50 ? 00:00:00 [kupdated] root 11 1 0 13:50 ? 00:00:00 [swapper] root 12 1 0 13:50 ? 00:00:07 [mtdblockd] root 92 1 0 13:50 ? 00:00:00 /sbin/sdmgr root 128 1 0 13:50 ? 00:00:00 /sbin/cardmgr root 139 1 0 13:50 ? 00:00:00 /usr/sbin/inetd bin 149 1 0 13:50 ? 00:00:00 /usr/sbin/rpc.portmap root 160 1 0 13:50 ? 00:00:00 /home/QtPalmtop/bin/atd /var/spo root 190 1 0 13:50 ? 00:00:00 /sbin/launch root 191 1 0 13:50 ? 00:00:08 /sbin/shsync root 192 190 0 13:50 ? 00:00:00 /bin/sh ./qpe.sh root 212 192 0 13:50 ? 00:00:39 qpe -owner zaurus.qpe root 213 212 0 13:50 ? 00:00:00 qeserver zaurus qpe root 214 213 0 13:50 ? 00:00:03 qeserver zaurus qpe #500 248 212 0 13:50 ? 00:00:34 launcher -qcop /tmp/qcop-msg-lau #500 813 212 0 13:53 ? 00:00:07 embeddedkonsole -qcop /tmp/qcop- #500 814 813 0 13:53 ttya0 00:00:00 -bash root 815 814 0 13:53 ttya0 00:00:00 sh root 938 1 0 13:56 ? 00:00:00 /sbin/dhcpcd eth0 root 942 139 0 13:56 ? 00:00:01 telnetd: 192.168.1.102 [cygwin] root 943 942 0 13:56 ttya1 00:00:01 -bash root 4134 815 0 16:06 ttya0 00:00:00 bash root 4221 943 0 16:34 ttya1 00:00:00 ps -ef Thanks in advance! - Jeff |
Last Visitors
jeff_burch has no visitors to display.
Comments
Other users have left no comments for jeff_burch.
Friends
There are no friends to display.
|
|
Lo-Fi Version | Time is now: 23rd May 2013 - 05:37 PM |