Datenheld: Thanks for the suggestion. I'll look into it.
On Wednesday, July 30, 2014 5:29:49 PM UTC-4, Datenheld wrote: > > You might want to try libbulldog (http://www.libbulldog.org). > > Here's an example: > http://libbulldog.org/bulldog/examples/serial-example/ > > It can do "advanced" Serial communication as well, but has not been tested > on Debian. By "advanced" I mean settings things like setting parity, > databits and stop bits. Maybe that is sufficient for you. > > But you'll probably have to tweak the Java side a little, I don't know if > the Debian devices match the angstrom serial devices. > > What I can say about the error, though, is, that you will also get it, > when the binary format does not match your system. > > Am Mittwoch, 30. Juli 2014 22:50:40 UTC+2 schrieb [email protected]: >> >> Thanks suggesting Google!! I would never have thought of that!! >> >> Seriously though, I've been trying to solve this problem for 7 days now. >> And I've Googled everything I can think of. Your "first hit" doesn't tell >> me anything I don't already know. >> >> I believe this to be some sort of permissions or path problem with my >> Debian setup. That's the reason the request for support is under >> Newbie/Debian. I've tried all of the path stuff that Java expects. I may >> have something wrong on the Java side, but I don't think that is the case. >> I was hoping that someone that has been successful with PureJavaComm on BBB >> would be able to point me in the right direction. So, I'll wait and see >> what happens. >> >> On Wednesday, July 30, 2014 3:02:15 PM UTC-4, William Hermans wrote: >>> >>> *TestMissingPort * >>>> * Exception in thread "main" >>>> java.lang.**UnsatisfiedLinkError: >>>> /tmp/jna-3506402/**jna7659204852244455440.tmp: >>>> /tmp/jna-3506402/**jna7659204852244455440.tmp: >>>> cannot open shared object file: No such file or directory* >>>> >>> >>> Google + exception in thread "main" java.lang.UnsatisfiedLinkError: >>> returns many links . . . >>> >>> First hit -> >>> http://stackoverflow.com/questions/11825528/exception-in-thread-main-java-lang-unsatisfiedlinkerror >>> . >>> >>> I don't write code in Java, as such I know nothing about PureJavaComm, >>> or this missing shared object file. But I'm sure you can use google and >>> find a solution yourself. >>> >>> On Wed, Jul 30, 2014 at 9:53 AM, <[email protected]> wrote: >>> >>>> I'm trying to use PureJavaComm on my BBB/Rev C (Debian). I get the >>>> following results: >>>> >>>> >>>> root@beaglebone:/opt/dnc/lib# java -cp PureJavaComm.jar:jna-4.0.0.jar >>>> purejavacomm.testsuite.TestSuite >>>> PureJavaComm Test Suite >>>> Using port: cu.usbserial-FTOXM3NX >>>> TestMissingPort Exception in thread >>>> "main" java.lang.UnsatisfiedLinkError: >>>> /tmp/jna-3506402/jna7659204852244455440.tmp: >>>> /tmp/jna-3506402/jna7659204852244455440.tmp: cannot open shared object >>>> file: No such file or directory >>>> at java.lang.ClassLoader$NativeLibrary.load(Native Method) >>>> at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) >>>> at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) >>>> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851) >>>> at java.lang.Runtime.load0(Runtime.java:795) >>>> at java.lang.System.load(System.java:1062) >>>> at >>>> com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:761) >>>> at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:736) >>>> at com.sun.jna.Native.<clinit>(Native.java:131) >>>> at com.sun.jna.NativeLong.<clinit>(NativeLong.java:23) >>>> at jtermios.linux.JTermiosImpl.<clinit>(JTermiosImpl.java:63) >>>> at jtermios.JTermios.<clinit>(JTermios.java:285) >>>> at >>>> purejavacomm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:104) >>>> at >>>> purejavacomm.testsuite.TestFreeFormPortIdentifiers.testMissingPortInCommPortIdentifier(TestFreeFormPortIdentifiers.java:25) >>>> at purejavacomm.testsuite.TestSuite.main(TestSuite.java:43) >>>> root@beaglebone:/opt/dnc/lib# >>>> >>>> The test works on Windows 7. Any suggestions??? >>>> >>>> -- >>>> For more options, visit http://beagleboard.org/discuss >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "BeagleBoard" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
