From bernard.perrin at csem.ch Thu May 1 17:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu May 1 20:17:52 2003 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://undine.linuxgrrls.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment.htm From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 21:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu May 1 20:34:53 2003 Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule@7b5.de --- weule@acm.org --- > > -- Trent Jarvi taj@www.linux.org.uk From tobie at mac.com Thu May 1 22:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu May 1 21:37:06 2003 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 22:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu May 1 21:40:15 2003 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 13:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri May 2 12:46:19 2003 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx@linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://undine.linuxgrrls.org/pipermail/rxtx/attachments/20030502/bc347415/attachment.bin From taj at linuxgrrls.org Fri May 2 18:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri May 2 17:11:18 2003 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx@linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx@linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 19:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri May 2 18:53:55 2003 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://undine.linuxgrrls.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment.bin From dmarkman at mac.com Fri May 2 13:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri May 2 21:35:51 2003 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx@linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx@linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 14:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat May 3 13:35:14 2003 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 15:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat May 3 14:00:24 2003 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 16:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat May 3 15:58:26 2003 Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj@www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj@parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj@parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 17:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri May 9 16:17:33 2003 Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 17:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri May 9 16:20:52 2003 Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 11:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri May 9 16:22:28 2003 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley@8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx@linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx@linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 17:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri May 9 16:31:53 2003 Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 17:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri May 9 16:39:03 2003 Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley@8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx@linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 14:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue May 20 12:20:42 2003 Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 14:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: Tue May 20 12:33:02 2003 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 14:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue May 20 12:51:28 2003 Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 14:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue May 20 13:00:34 2003 Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 09:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed May 21 13:15:41 2003 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 15:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed May 21 13:23:40 2003 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 15:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed May 21 13:23:46 2003 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 10:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed May 21 14:39:57 2003 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx@linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 16:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed May 21 14:42:58 2003 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx@linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx@linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 11:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed May 21 15:43:48 2003 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx@linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx@linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx@linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 12:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu May 22 11:46:13 2003 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 16:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu May 22 15:53:07 2003 Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 18:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu May 22 17:10:25 2003 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj@linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx@linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 15:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue May 27 13:47:29 2003 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE@euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri May 30 20:02:55 2003 Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE@euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 15:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Fri Jun 3 17:45:27 2005 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://pixie.strangenoises.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 20:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Fri Jun 3 17:45:27 2005 Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule@7b5.de --- weule@acm.org --- > > -- Trent Jarvi taj@www.linux.org.uk From tobie at mac.com Thu May 1 21:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri Jun 3 17:45:27 2005 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 21:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri Jun 3 17:45:27 2005 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 12:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri Jun 3 17:45:28 2005 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx@linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://pixie.strangenoises.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0002.bin From taj at linuxgrrls.org Fri May 2 17:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri Jun 3 17:45:28 2005 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx@linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx@linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 18:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri Jun 3 17:45:28 2005 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://pixie.strangenoises.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0002.bin From dmarkman at mac.com Fri May 2 17:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri Jun 3 17:45:28 2005 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx@linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx@linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 13:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri Jun 3 17:45:28 2005 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 14:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri Jun 3 17:45:28 2005 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 15:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Fri Jun 3 17:45:28 2005 Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj@www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj@parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj@parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 16:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri Jun 3 17:45:28 2005 Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 16:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri Jun 3 17:45:28 2005 Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 16:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri Jun 3 17:45:28 2005 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley@8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx@linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx@linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 16:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri Jun 3 17:45:28 2005 Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 16:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri Jun 3 17:45:28 2005 Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley@8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx@linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 12:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Fri Jun 3 17:45:28 2005 Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 12:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: Fri Jun 3 17:45:29 2005 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 12:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Fri Jun 3 17:45:29 2005 Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 13:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri Jun 3 17:45:29 2005 Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 13:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Fri Jun 3 17:45:29 2005 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 13:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Fri Jun 3 17:45:29 2005 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 13:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Fri Jun 3 17:45:29 2005 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 14:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Fri Jun 3 17:45:29 2005 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx@linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 14:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Fri Jun 3 17:45:29 2005 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx@linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx@linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 15:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Fri Jun 3 17:45:29 2005 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx@linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx@linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx@linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 11:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Fri Jun 3 17:45:29 2005 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 15:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri Jun 3 17:45:29 2005 Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 17:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Fri Jun 3 17:45:29 2005 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj@linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx@linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 13:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Fri Jun 3 17:45:29 2005 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE@euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 20:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri Jun 3 17:45:29 2005 Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE@euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 15:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Fri Jun 3 18:07:46 2005 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://pixie.strangenoises.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0001.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 20:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Fri Jun 3 18:07:46 2005 Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule@7b5.de --- weule@acm.org --- > > -- Trent Jarvi taj@www.linux.org.uk From tobie at mac.com Thu May 1 21:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri Jun 3 18:07:46 2005 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 21:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri Jun 3 18:07:46 2005 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 12:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri Jun 3 18:07:47 2005 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx@linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://pixie.strangenoises.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0003.bin From taj at linuxgrrls.org Fri May 2 17:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri Jun 3 18:07:47 2005 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx@linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx@linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 18:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri Jun 3 18:07:47 2005 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://pixie.strangenoises.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0003.bin From dmarkman at mac.com Fri May 2 17:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri Jun 3 18:07:47 2005 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx@linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx@linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 13:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri Jun 3 18:07:47 2005 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 14:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri Jun 3 18:07:47 2005 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 15:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Fri Jun 3 18:07:47 2005 Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj@www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj@parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj@parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 16:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri Jun 3 18:07:47 2005 Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 16:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri Jun 3 18:07:47 2005 Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 16:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri Jun 3 18:07:47 2005 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley@8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx@linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx@linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 16:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri Jun 3 18:07:47 2005 Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 16:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri Jun 3 18:07:47 2005 Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley@8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx@linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 12:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Fri Jun 3 18:07:48 2005 Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 12:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: Fri Jun 3 18:07:48 2005 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 12:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Fri Jun 3 18:07:48 2005 Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 13:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri Jun 3 18:07:48 2005 Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 13:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Fri Jun 3 18:07:48 2005 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 13:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Fri Jun 3 18:07:48 2005 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 13:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Fri Jun 3 18:07:48 2005 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 14:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Fri Jun 3 18:07:48 2005 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx@linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 14:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Fri Jun 3 18:07:48 2005 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx@linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx@linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 15:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Fri Jun 3 18:07:48 2005 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx@linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx@linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx@linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 11:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Fri Jun 3 18:07:48 2005 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 15:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri Jun 3 18:07:48 2005 Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 17:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Fri Jun 3 18:07:48 2005 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj@linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx@linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 13:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Fri Jun 3 18:07:48 2005 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE@euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 20:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri Jun 3 18:07:49 2005 Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE@euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx@linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0396.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0396.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0396.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0397.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0397.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0397.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0398.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0398.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0398.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0399.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0399.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0399.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0400.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0400.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0400.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0401.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0401.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0401.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0402.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0402.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0402.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0403.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0403.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0403.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0404.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0404.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0404.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0405.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0405.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0405.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0001.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0001.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0001.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0002.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0002.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0002.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0003.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0003.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0003.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0004.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0004.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0004.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0005.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0005.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0005.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0006.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0006.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0006.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0007.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0007.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0007.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0008.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0008.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0008.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0009.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0009.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0009.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0010.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0010.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0010.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0001.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0001.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0001.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0002.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0002.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0002.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0003.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0003.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0003.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0004.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0004.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0004.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0005.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0005.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0005.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0006.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0006.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0006.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0007.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0007.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0007.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0008.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0008.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0008.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0009.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0009.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0009.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0010.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0010.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0010.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0001.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0001.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0001.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0002.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0002.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0002.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0003.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0003.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0003.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0004.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0004.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0004.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0005.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0005.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0005.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0006.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0006.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0006.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0007.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0007.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0007.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0008.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0008.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0008.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0009.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0009.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0009.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0010.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0010.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0010.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0011.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0011.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0011.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0012.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0012.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0012.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0013.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0013.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0013.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0014.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0014.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0014.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0015.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0015.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0015.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0016.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0016.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0016.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0017.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0017.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0017.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0018.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0018.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0018.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0019.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0019.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0019.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0020.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0020.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0020.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0021.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0021.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0021.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0022.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0022.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0022.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0023.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0023.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0023.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0024.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0024.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0024.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0025.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0025.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0025.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0026.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0026.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0026.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0027.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0027.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0027.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0028.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0028.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0028.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0029.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0029.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0029.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0030.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0030.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0030.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0031.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0031.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0031.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj@parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0032.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0032.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0032.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0033.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0033.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0033.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0034.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0034.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0034.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0035.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0035.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0035.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0036.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0036.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0036.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0037.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0037.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0037.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0038.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0038.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0038.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0039.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0039.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0039.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0040.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0040.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0040.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0041.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0041.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0041.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0042.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0042.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0042.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0043.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0043.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0043.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0044.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0044.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0044.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0045.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0045.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0045.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0046.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0046.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0046.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0047.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0047.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0047.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0048.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0048.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0048.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0049.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0049.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0049.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0050.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0050.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0050.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0051.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0051.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0051.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0052.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0052.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0052.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0053.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0053.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0053.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0054.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0054.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0054.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0055.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0055.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0055.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0056.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0056.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0056.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0057.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0057.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0057.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0058.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0058.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0058.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0059.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0059.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0059.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0060.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0060.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0060.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0061.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0061.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0061.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0062.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0062.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0062.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0063.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0063.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0063.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0064.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0064.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0064.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From dmccarthy at fexco.ie Thu May 22 10:08:51 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 17:08:51 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C31489879165202080953@koe2k1.fexco.ie> Yep, that was the problem, I just discovered about an hour ago that I can just use the CommPortManager.addPortName method to add the ports manually. It worked then, no problem. That's just the tonic. Thanks a lot! -----Original Message----- From: Trent Jarvi [mailto:taj at linuxgrrls.org] Sent: 22 May 2003 15:53 To: Java RXTX discussion Subject: Re: [Rxtx] rxtx & multimodem card RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use symbolic links to devices files for testing. Enumeration and linux dont mix well because linux supports almost everything. (you will see what I mean when you look at RXTXCommDriver.java) On Thu, 22 May 2003, Denis McCarthy wrote: > Hi, > I've been using rxtx successfully with the serial port on the motherboard > for a while now (generic intel architecture, running RH8). I recently > received a digi EPCA 8 port multiport card (part id 40001450-R) which was > installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 > nodes in /dev. I can communicate with modems attached to these ports > normally with minicom. However, RXTX cannot see these ports! When I do an > 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new > ports are not recognized, and only the old ttyS0 and the parrel port are > returned in the Enumeration. I'm wondering has anyone got RXTX to work with > multiport cards on intel linux (doesn't matter what port card, I can get a > different one if required) and how did they get RXTX to recognize that new > serial ports had been added to the system? - Would reinstalling RXTX or > running a different distro make any difference? > Thanks and Regards > Denis McCarthy > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > your system administrator. > > This footnote also confirms that this email message has been checked for > the presence of computer viruses. > > www.fexco.com > ********************************************************************** > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From moritz.gmelin at gmx.de Tue May 27 06:47:39 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Tue, 27 May 2003 14:47:39 +0200 Subject: [Rxtx] Crash in 1.4.1_02 Message-ID: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Hi Trent, I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. Anything wrong ? Greetings Moritz Devel Library ========================================= Native lib Version = RXTX-2.1-7pre16 Java lib Version = RXTX-2.1-7pre16 An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4C3A1CDD Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Current Java thread: at gnu.io.RXTXCommDriver.testRead(Native Method) at gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) at gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) at modemreceive.Main.initLibs(Main.java:95) at modemreceive.Main.main(Main.java:128) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 0804e000-0804f000 rw-p 00005000 03:06 340015 /usr/lib/j2sdk1.4.1/bin/java 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so 40017000-40020000 r-xp 00000000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 rw-p 00008000 03:06 339427 /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so 40022000-40025000 r--s 00000000 03:06 339467 /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 4016c000-40484000 r-xp 00000000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40484000-40668000 rw-p 00317000 03:06 339436 /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 406b2000-406c2000 r-xp 00000000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c2000-406c4000 rw-p 0000f000 03:06 339441 /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so 406c4000-406e5000 r-xp 00000000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e5000-406e7000 rw-p 00020000 03:06 339442 /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so 406e7000-406fc000 r-xp 00000000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fc000-406fe000 rw-p 00014000 03:06 339444 /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so 406fe000-41dcd000 r--s 00000000 03:06 339982 /usr/lib/j2sdk1.4.1/jre/lib/rt.jar 41e10000-41e27000 r--s 00000000 03:06 339470 /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar 41e27000-41e98000 r--s 00000000 03:06 339478 /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar 41e98000-41eab000 r--s 00000000 03:06 339471 /usr/lib/j2sdk1.4.1/jre/lib/jce.jar 41eab000-42167000 r--s 00000000 03:06 339941 /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar 4c290000-4c2c2000 r--p 00000000 03:06 15970 /usr/lib/locale/de_DE at euro/LC_CTYPE 4c2c2000-4c2df000 r--s 00000000 03:06 339466 /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar 4c2df000-4c2ed000 r--s 00000000 03:06 339469 /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar 4c2ed000-4c38c000 r--s 00000000 03:06 339468 /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar 4c38c000-4c39b000 r--s 00000000 03:06 353369 /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so Local Time = Tue May 27 14:34:20 2003 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid26754.log. # Please refer to the file for further information. # Aborted From trentjarvi at yahoo.com Fri May 30 13:03:10 2003 From: trentjarvi at yahoo.com (Trent Jarvi) Date: Fri, 30 May 2003 12:03:10 -0700 (PDT) Subject: [Rxtx] Crash in 1.4.1_02 In-Reply-To: <6656257C-9041-11D7-B96D-000393719396@gmx.de> Message-ID: <20030530190310.92561.qmail@web14204.mail.yahoo.com> Hi Gmelin I'm not sure. I'm on vacation in .de right now so I can't test this. I do see the blackdown folks are having simular reports. The distributions are starting to go with a new threading model which is part of linux being ready for big users. It may be there is a bug in the new linux threading. I would not recommend 1.4 for production use on linux just yet. There are good things happening with respect to the jre and linux threads but I'm sure there will be some issues. I'll be back in the states on the 6th. Please cc my www.linux.org.uk account. My linuxgrrls account is missing its home directory. I'm not sure what happened while I was gone. --- Moritz Gmelin wrote: > Hi Trent, > > I get this when trying to run SimpleRead with java 1.4.1_02 on Linux. > Anything wrong ? > > Greetings > > Moritz > > Devel Library > ========================================= > Native lib Version = RXTX-2.1-7pre16 > Java lib Version = RXTX-2.1-7pre16 > > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x4C3A1CDD > Function=Java_gnu_io_RXTXCommDriver_testRead+0x21D > Library=/usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Current Java thread: > at gnu.io.RXTXCommDriver.testRead(Native Method) > at > gnu.io.RXTXCommDriver.registerValidPorts(RXTXCommDriver.java:246) > at > gnu.io.RXTXCommDriver.registerScannedPorts(RXTXCommDriver.java:746) > at gnu.io.RXTXCommDriver.initialize(RXTXCommDriver.java:302) > at modemreceive.Main.initLibs(Main.java:95) > at modemreceive.Main.main(Main.java:128) > > Dynamic libraries: > 08048000-0804e000 r-xp 00000000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 0804e000-0804f000 rw-p 00005000 03:06 340015 > /usr/lib/j2sdk1.4.1/bin/java > 40000000-40015000 r-xp 00000000 03:06 9435 /lib/ld-2.2.5.so > 40015000-40016000 rw-p 00014000 03:06 9435 /lib/ld-2.2.5.so > 40017000-40020000 r-xp 00000000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40020000-40021000 rw-p 00008000 03:06 339427 > /usr/lib/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 40022000-40025000 r--s 00000000 03:06 339467 > /usr/lib/j2sdk1.4.1/jre/lib/ext/dnsns.jar > 40029000-40037000 r-xp 00000000 03:06 9457 /lib/libpthread.so.0 > 40037000-4003f000 rw-p 0000d000 03:06 9457 /lib/libpthread.so.0 > 4003f000-40041000 r-xp 00000000 03:06 9445 /lib/libdl.so.2 > 40041000-40043000 rw-p 00001000 03:06 9445 /lib/libdl.so.2 > 40043000-40160000 r-xp 00000000 03:06 99849 /lib/libc.so.6 > 40160000-40167000 rw-p 0011c000 03:06 99849 /lib/libc.so.6 > 4016c000-40484000 r-xp 00000000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40484000-40668000 rw-p 00317000 03:06 339436 > /usr/lib/j2sdk1.4.1/jre/lib/i386/client/libjvm.so > 40679000-4068b000 r-xp 00000000 03:06 9448 /lib/libnsl.so.1 > 4068b000-4068d000 rw-p 00011000 03:06 9448 /lib/libnsl.so.1 > 4068f000-406b0000 r-xp 00000000 03:06 9446 /lib/libm.so.6 > 406b0000-406b2000 rw-p 00020000 03:06 9446 /lib/libm.so.6 > 406b2000-406c2000 r-xp 00000000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c2000-406c4000 rw-p 0000f000 03:06 339441 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libverify.so > 406c4000-406e5000 r-xp 00000000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e5000-406e7000 rw-p 00020000 03:06 339442 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libjava.so > 406e7000-406fc000 r-xp 00000000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fc000-406fe000 rw-p 00014000 03:06 339444 > /usr/lib/j2sdk1.4.1/jre/lib/i386/libzip.so > 406fe000-41dcd000 r--s 00000000 03:06 339982 > /usr/lib/j2sdk1.4.1/jre/lib/rt.jar > 41e10000-41e27000 r--s 00000000 03:06 339470 > /usr/lib/j2sdk1.4.1/jre/lib/sunrsasign.jar > 41e27000-41e98000 r--s 00000000 03:06 339478 > /usr/lib/j2sdk1.4.1/jre/lib/jsse.jar > 41e98000-41eab000 r--s 00000000 03:06 339471 > /usr/lib/j2sdk1.4.1/jre/lib/jce.jar > 41eab000-42167000 r--s 00000000 03:06 339941 > /usr/lib/j2sdk1.4.1/jre/lib/charsets.jar > 4c290000-4c2c2000 r--p 00000000 03:06 15970 > /usr/lib/locale/de_DE at euro/LC_CTYPE > 4c2c2000-4c2df000 r--s 00000000 03:06 339466 > /usr/lib/j2sdk1.4.1/jre/lib/ext/sunjce_provider.jar > 4c2df000-4c2ed000 r--s 00000000 03:06 339469 > /usr/lib/j2sdk1.4.1/jre/lib/ext/ldapsec.jar > 4c2ed000-4c38c000 r--s 00000000 03:06 339468 > /usr/lib/j2sdk1.4.1/jre/lib/ext/localedata.jar > 4c38c000-4c39b000 r--s 00000000 03:06 353369 > /usr/lib/j2sdk1.4.1/jre/lib/ext/RXTXcomm.jar > 4c39b000-4c3a5000 r-xp 00000000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > 4c3a5000-4c3a7000 rw-p 00009000 03:06 273788 > /usr/lib/j2sdk1.4.1/jre/lib/i386/librxtxSerial-2.1-7pre16.so > > Local Time = Tue May 27 14:34:20 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) > # > # An error report file has been saved as hs_err_pid26754.log. > # Please refer to the file for further information. > # > Aborted > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com From bernard.perrin at csem.ch Thu May 1 08:03:09 2003 From: bernard.perrin at csem.ch (Bernard PERRIN) Date: Thu, 01 May 2003 16:03:09 +0200 Subject: [Rxtx] Rxtx & OSX Message-ID: Hello, I manually installed rxtx version 2.1-6 on my Mac under OSX, following the MacOSX file guidelines. I did it manually since the installer was hanging. MANUALLY: copy RXTXcomm.jar -> /Library/Java/Extensions copy libSerial.jnilib -> /Library/Java/Extensions I also took into account the ?AFTER INSTALLATION VERY IMPORTANT? note. When I check the uucp members, I get: % niutil -readprop / /groups/uucp users zeboss bpe So everything seems to be fine. However, when I try to test it with a very simple program (see below), I get: % java -cp ".:/Library/Java/Extensions/RXTXcomm.jar" SerialTest java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at SerialTest.main(SerialTest.java:10) Moreover, the environment variable DYLD_LIBRARY_PATH is set to /Library/Java/Extensions (I also tried with LD_LIBRARY_PATH). Thanks in advance to any suggestion, Best regards, Bernard PS: I use a USB to serial adapter, so my device is /dev/tty.usbserial-001. It works well with ZTerm or with a Tcl/Tk program. Now I would like to use it with Java. I also used successfully this serial link with Lejos, a java environment for the lego Mindstorm. I was using pcrcxcomm.jar classes file to communicate. SerialTest.java: import java.util.*; import gnu.io.*; import java.lang.*; import java.io.*; public class SerialTest { public static void main(String args[]) { CommPortIdentifier portId; Enumeration portList; portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()); } } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.qbang.org/pipermail/rxtx/attachments/20030501/085de9ab/attachment-0065.html From taj at parcelfarce.linux.theplanet.co.uk Thu May 1 13:24:39 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Thu, 1 May 2003 20:24:39 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh In-Reply-To: <3EB1506D.9000206@7b5.de> Message-ID: Thanks Joerg I'll put this in contrib and let the mail-list know about it. On Thu, 1 May 2003, Joerg Weule wrote: > Hello Trent, > > your ChangePackage.sh script is moving files around dropping the file > permissions. > Please find my version using the ed for changes inside the files. Since > the files > are written back, no permissions are changed. > > Here are several things changes: > - Use of find ... | ( while read I ; do ... ; done ) > to allow thousands of files. > - Use of grep to keep this script unchanged > - A little help for calls without any parameter. > - Only one process called for each file. > > Since ed and sed are very simular, this script should also run on every > UNX platform: > > ----------------------------------------------------- > #!/bin/sh > # Don't use! :) > > # Use a temp file for ed commands > F=/tmp/ChangeRXTX > > # First a comand file is created. > case $1 in > gnu) > cat <$F > ,s+javax/comm+gnu/io+g > ,s+javax_comm+gnu_io+g > ,s+javax.comm+gnu.io+g > w > q > EOF > ;; > javax) > cat <$F > ,s+gnu/io+javax/comm+g > ,s+gnu_io+javax_comm+g > ,s+gnu.io+javax.comm+g > w > q > EOF > ;; > *) > echo Dont use is for gnu or javax !!! > exit 0 > esac > > ls -l $F > > #Now find a lot of files an change them, this will work for thousends of > files... > find . -type f -a -print | > grep -v $0 | > (while read I ; do echo $I ; ed $I <$F 2>&1 >/dev/null ; done ) > > rm $F > ------------------------------------------------------- > Regards > > J?rg > > J?rg Weule --- weule at 7b5.de --- weule at acm.org --- > > -- Trent Jarvi taj at www.linux.org.uk From tobie at mac.com Thu May 1 14:20:50 2003 From: tobie at mac.com (Tobie Kerridge) Date: Thu, 1 May 2003 21:20:50 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Hi, JavaKit app loads on os x 10.2, but a serial port is not available to use. I get this response in the shell: [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver I installed RXTX successfully (i think!) using the project builder source, and added javacomm as sugested. Like the reccent os x poster, I'm named in the uucp group. Any suggestions would be great bests, Tobie From taj at linuxgrrls.org Thu May 1 14:40:14 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 1 May 2003 21:40:14 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> References: <667452DF-7C12-11D7-B6F3-0003934FB39E@mac.com> Message-ID: SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX 2.0 should be able to work with this jar. The fact that the Solaris native library is trying to be loaded suggests that the javax.comm.properties file was not found by Sun's comm.jar. On Thu, 1 May 2003, Tobie Kerridge wrote: > Hi, > > JavaKit app loads on os x 10.2, but a serial port is not available to > use. I get this response in the shell: > > [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > SolarisSerialParallel in java.library.path > Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading > driver com.sun.comm.SolarisDriver > > I installed RXTX successfully (i think!) using the project builder > source, and added javacomm as sugested. Like the reccent os x poster, > I'm named in the uucp group. > > Any suggestions would be great > > bests, > Tobie > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From tobie at mac.com Fri May 2 05:40:34 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 12:40:34 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: Hi Trent, thanks for the pointers, I'm a little confused with file locations. here's what i have: 1. javax.comm.properties /System/Library/Frameworks/JavaVM.framework/Home/lib (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") 2. comm.jar /System/Library/Frameworks/JavaVM.framework/Home/lib/ext 3. jcl.jar and librxtxSerial.jnilib /Library/Java/Extensions I got all theses locations from "README.MACOSX", which I followed pretty carefully. Do I have another properties file somewhere? comm.jar seems to be looking for "libSolarisSerialParallel.so" instead of the RXTX libraries. Am I misunderstanding something? On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > 2.0 should be able to work with this jar. The fact that the Solaris > native library is trying to be loaded suggests that the > javax.comm.properties file was not found by Sun's comm.jar. > > On Thu, 1 May 2003, Tobie Kerridge wrote: > >> Hi, >> >> JavaKit app loads on os x 10.2, but a serial port is not available to >> use. I get this response in the shell: >> >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >> SolarisSerialParallel in java.library.path >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >> loading >> driver com.sun.comm.SolarisDriver >> >> I installed RXTX successfully (i think!) using the project builder >> source, and added javacomm as sugested. Like the reccent os x poster, >> I'm named in the uucp group. >> >> Any suggestions would be great >> >> bests, >> Tobie >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1997 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/bc347415/attachment-0065.bin From taj at linuxgrrls.org Fri May 2 10:11:16 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 2 May 2003 17:11:16 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: References: Message-ID: Hi Tobie I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X generally likes to use rxtx 2.1 if I'm not mistaken. But all I can say with some confidence having never had a chance to run Mac OS X is that some assumption in #1 is wrong. I assume the location is just wrong but I'll just step back now and wait for more qualified people to speak there. On Fri, 2 May 2003, Tobie Kerridge wrote: > Hi Trent, thanks for the pointers, I'm a little confused with file > locations. here's what i have: > > 1. javax.comm.properties > /System/Library/Frameworks/JavaVM.framework/Home/lib > (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") > 2. comm.jar > /System/Library/Frameworks/JavaVM.framework/Home/lib/ext > 3. jcl.jar and librxtxSerial.jnilib > /Library/Java/Extensions > > I got all theses locations from "README.MACOSX", which I followed > pretty carefully. Do I have another properties file somewhere? comm.jar > seems to be looking for "libSolarisSerialParallel.so" instead of the > RXTX libraries. Am I misunderstanding something? > > > On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: > > > > > SolarisSerial is the native library for Sun's Commapi on Solaris. RXTX > > 2.0 should be able to work with this jar. The fact that the Solaris > > native library is trying to be loaded suggests that the > > javax.comm.properties file was not found by Sun's comm.jar. > > > > On Thu, 1 May 2003, Tobie Kerridge wrote: > > > >> Hi, > >> > >> JavaKit app loads on os x 10.2, but a serial port is not available to > >> use. I get this response in the shell: > >> > >> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit > >> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no > >> SolarisSerialParallel in java.library.path > >> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while > >> loading > >> driver com.sun.comm.SolarisDriver > >> > >> I installed RXTX successfully (i think!) using the project builder > >> source, and added javacomm as sugested. Like the reccent os x poster, > >> I'm named in the uucp group. > >> > >> Any suggestions would be great > >> > >> bests, > >> Tobie > >> > >> _______________________________________________ > >> Rxtx mailing list > >> Rxtx at linuxgrrls.org > >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx > >> > > _______________________________________________ > > Rxtx mailing list > > Rxtx at linuxgrrls.org > > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > > From tobie at mac.com Fri May 2 11:48:16 2003 From: tobie at mac.com (Tobie Kerridge) Date: Fri, 2 May 2003 18:48:16 +0100 Subject: [Rxtx] no serial port available in JavaKit... Message-ID: <40BF6D92-7CC6-11D7-9A8B-0003934FB39E@mac.com> The application is JavaKit from the tini1.11 developer kit. I run the application from a shell with this line (there's more details in my original post): >>>> % java -cp tini.jar JavaKit I've installed apple's recent java 1.4.1 developer update, rxtx rxtx-2.0-5 needed this to install. Yup, I'm using keyspans pda adapter, and it is running fine in other serial applications like MacBS2 for basic stamps. I'm quite prepared to go a completely different route if someone has things running on a similar set up, rxtx 2.1 was mentioned by Trent, but I can't find much documentation. bests, Tobie On Friday, May 2, 2003, at 05:52 pm, Dmitry Markman wrote: > How do you run your application: > 2click on jar file, 2clickable application? > what jdk do you use? > did you install keyspan driver you do you have old serial hardware > interfaces? > > Dmitry Markman > > On Friday, May 2, 2003, at 07:40 US/Eastern, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar seems to be looking for "libSolarisSerialParallel.so" >> instead of the RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2808 bytes Desc: not available Url : http://mailman.qbang.org/pipermail/rxtx/attachments/20030502/ed13c87e/attachment-0065.bin From dmarkman at mac.com Fri May 2 10:50:33 2003 From: dmarkman at mac.com (Dmitry Markman) Date: Fri, 2 May 2003 12:50:33 -0400 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <30D61387-7CBE-11D7-921B-000393DC71BC@mac.com> How you run your application: 2click on jar file, 2clickable application? what jdk do you use? Dmitry Markman On Friday, May 2, 2003, at 12:11 US/Eastern, Trent Jarvi wrote: > > Hi Tobie > > I take it Dmitry is on vacation. He is the Mac OS X expert. Mac OS X > generally likes to use rxtx 2.1 if I'm not mistaken. > > But all I can say with some confidence having never had a chance to run > Mac OS X is that some assumption in #1 is wrong. I assume the > location is > just wrong but I'll just step back now and wait for more qualified > people > to speak there. > > On Fri, 2 May 2003, Tobie Kerridge wrote: > >> Hi Trent, thanks for the pointers, I'm a little confused with file >> locations. here's what i have: >> >> 1. javax.comm.properties >> /System/Library/Frameworks/JavaVM.framework/Home/lib >> (file contains 1 line, "Driver=gnu.io.RXTXCommDriver") >> 2. comm.jar >> /System/Library/Frameworks/JavaVM.framework/Home/lib/ext >> 3. jcl.jar and librxtxSerial.jnilib >> /Library/Java/Extensions >> >> I got all theses locations from "README.MACOSX", which I followed >> pretty carefully. Do I have another properties file somewhere? >> comm.jar >> seems to be looking for "libSolarisSerialParallel.so" instead of the >> RXTX libraries. Am I misunderstanding something? >> >> >> On Thursday, May 1, 2003, at 09:40 pm, Trent Jarvi wrote: >> >>> >>> SolarisSerial is the native library for Sun's Commapi on Solaris. >>> RXTX >>> 2.0 should be able to work with this jar. The fact that the Solaris >>> native library is trying to be loaded suggests that the >>> javax.comm.properties file was not found by Sun's comm.jar. >>> >>> On Thu, 1 May 2003, Tobie Kerridge wrote: >>> >>>> Hi, >>>> >>>> JavaKit app loads on os x 10.2, but a serial port is not available >>>> to >>>> use. I get this response in the shell: >>>> >>>> [SW16:tini/tini1.11/bin] tobie% java -cp tini.jar JavaKit >>>> Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no >>>> SolarisSerialParallel in java.library.path >>>> Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while >>>> loading >>>> driver com.sun.comm.SolarisDriver >>>> >>>> I installed RXTX successfully (i think!) using the project builder >>>> source, and added javacomm as sugested. Like the reccent os x >>>> poster, >>>> I'm named in the uucp group. >>>> >>>> Any suggestions would be great >>>> >>>> bests, >>>> Tobie >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > From tobie at mac.com Sat May 3 06:30:40 2003 From: tobie at mac.com (Tobie Kerridge) Date: Sat, 3 May 2003 13:30:40 +0100 Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: Message-ID: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Bob, thank you! Works like a dream. After a whole day fiddling I was getting a bit despondent. Still, it was nice getting my hands dirty, now that I've washed them! Did I say thank you? best wishes, Tobie On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > If you just want a working RXTX install, the installer from JMRI might > be what you want: > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > I'd be interested to hear if it works for you. > > Bob From taj at linuxgrrls.org Sat May 3 07:00:23 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Sat, 3 May 2003 14:00:23 +0100 (BST) Subject: [Rxtx] no serial port available in JavaKit... In-Reply-To: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> References: <0D0EE6AA-7D63-11D7-BB03-000393DA715A@mac.com> Message-ID: I had to look and refresh my memory. The JMRI project is a collection of tools for model railroad computer control. It is platform-independent, and aims to be a jumping-off point for hobbyists who want to control their layouts from a computer without having to create an entire system from scratch. Author: Bob Jacobsen http://freshmeat.net/projects/jmri/ A real hobby use :) On Sat, 3 May 2003, Tobie Kerridge wrote: > Bob, > > thank you! Works like a dream. After a whole day fiddling I was > getting a bit despondent. Still, it was nice getting my hands dirty, > now that I've washed them! > > Did I say thank you? > > best wishes, > Tobie > > On Saturday, May 3, 2003, at 09:09 am, Bob Jacobsen wrote: > > > If you just want a working RXTX install, the installer from JMRI might > > be what you want: > > > > > > http://prdownloads.sourceforge.net/jmri/> JavaCommInstaller2.hqx?download > > > > I'd be interested to hear if it works for you. > > > > Bob > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at parcelfarce.linux.theplanet.co.uk Sat May 3 08:58:29 2003 From: taj at parcelfarce.linux.theplanet.co.uk (taj at parcelfarce.linux.theplanet.co.uk) Date: Sat, 3 May 2003 15:58:29 +0100 (BST) Subject: [Rxtx] Re: ChangePackage.sh (fwd) Message-ID: Version 2 fixes some issues J?rg ran into. -- Trent Jarvi taj at www.linux.org.uk ---------- Forwarded message ---------- Date: Sat, 03 May 2003 16:45:08 +0200 From: Joerg Weule To: taj at parcelfarce.linux.theplanet.co.uk Subject: Re: ChangePackage.sh taj at parcelfarce.linux.theplanet.co.uk wrote: > Thanks Joerg > > I'll put this in contrib and let the mail-list know about it. > > On Thu, 1 May 2003, Joerg Weule wrote: > > Here a new version. Is it true, that CLASSTOP and other strings at the Makefiles has also have to be changed? ------------------------------------------------------ #!/bin/sh # Don't use! :) # # Create a ed-cmd for the change of one pattern # case $1 in gnu) X=g/javax_comm/s+javax_comm+gnu_io+g ;; javax) X=g/gnu_io/s+gnu_io+javax_comm+g ;; *) echo gnu or javax ? ; exit 0 ;; esac # # ed will be used to keep the owner and mode of the files unchanged. # We have run the ed-script for the characters '.' '/' as well. # "tr _ $D" do the change. # find . -type f -a -print | grep -v $0 | (while read F ; do ( echo $X; echo $X| tr _ /; echo $X| tr _ .; echo w; echo q ) | ed $F 2>&1 >/dev/null done ) # # Now we do little changes at the Makefiles. Hope that all we need. # find . -name Makefile\* -a -print | (while read F ; do cat < I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro From taj at linuxgrrls.org Fri May 9 09:17:31 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:17:31 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <200305090958.29190.ripley@8d.com> References: <200305090958.29190.ripley@8d.com> Message-ID: UARTs are capable of doing many baud rates. It's usually the kernels that are less capable. The hardware just wants a couple things; the baud base and divisor. When you set a baud rate the kernel sets the baud base and divisor. On w32 you pass the baud rate requested to the kernel and it somehow tries to guess the best way to do it. glinux gives the programmer access to the baud base and divisor. Solaris just lets you use predifined buad rates as far as I can tell. So the answer is maybe it can be done. For the next release we will try to guess baud_base/divisor on glinux, pass the value to w32 kernels and bail on Solaris unless its defined. On Fri, 9 May 2003, Nicolas wrote: > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From jasmine at regolith.co.uk Fri May 9 09:20:50 2003 From: jasmine at regolith.co.uk (Jasmine Strong) Date: Fri, 9 May 2003 16:20:50 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: Trent, have you seen these huge numbers of people being dropped for bouncing messages? I've not noticed anyone who should be on the list getting dropped off but it's as well to be sure. -J. From WCrucius at sandc.com Fri May 9 09:22:21 2003 From: WCrucius at sandc.com (Crucius, Wesley) Date: Fri, 9 May 2003 10:22:21 -0500 Subject: [Rxtx] Adding a new baud rate Message-ID: <2D7102AA9172D311A593009027B0C175558603@ms06> I thought that OBDII was CAN based (not UART based)? Wes -----Original Message----- From: Nicolas [mailto:ripley at 8d.com] Sent: Friday, May 09, 2003 8:58 AM To: rxtx at linuxgrrls.org Subject: [Rxtx] Adding a new baud rate I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's not standard on computer, but it's the baud rate used in OBDII (On Board Diagnostic version 2). It's the car/truc diagnostic system (since 1996). If I knew C I would try to do it, but it's not the case :o) Ripley -- Life is the living you do, Death is the living you don't do. -- Joseph Pintauro _______________________________________________ Rxtx mailing list Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx From taj at linuxgrrls.org Fri May 9 09:31:51 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:31:51 +0100 (BST) Subject: [Rxtx] Lots of drops In-Reply-To: References: <200305090958.29190.ripley@8d.com> Message-ID: I was reading through the drops. The list has been fairly quiet for a while. Some had full email boxes. Some had inactive accounts (create a amil account, send the question types). On Fri, 9 May 2003, Jasmine Strong wrote: > > Trent, have you seen these huge numbers of people being dropped for > bouncing messages? > > I've not noticed anyone who should be on the list getting dropped off but > it's as well to be sure. > > -J. > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From taj at linuxgrrls.org Fri May 9 09:39:01 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Fri, 9 May 2003 16:39:01 +0100 (BST) Subject: [Rxtx] Adding a new baud rate In-Reply-To: <2D7102AA9172D311A593009027B0C175558603@ms06> References: <2D7102AA9172D311A593009027B0C175558603@ms06> Message-ID: I was assuming the OBDII board is connecting to a computer running rxtx not in the computer running rxtx. In the first case, my comments should be OK. I'm not sure about the second case. On Fri, 9 May 2003, Crucius, Wesley wrote: > > I thought that OBDII was CAN based (not UART based)? > > Wes > > -----Original Message----- > From: Nicolas [mailto:ripley at 8d.com] > Sent: Friday, May 09, 2003 8:58 AM > To: rxtx at linuxgrrls.org > Subject: [Rxtx] Adding a new baud rate > > > I'd like to know if it it possible to add a baudrate of 10400 in RXTX? It's > > not standard on computer, but it's the baud rate used in OBDII (On Board > Diagnostic version 2). It's the car/truc diagnostic system (since 1996). > > If I knew C I would try to do it, but it's not the case :o) > > Ripley > -- > Life is the living you do, Death is the living you don't do. > -- Joseph Pintauro > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org http://undine.linuxgrrls.org/mailman/listinfo/rxtx > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From Benjamin.Sommerfeld at gmx.de Tue May 20 05:20:52 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:20:52 +0200 (MEST) Subject: [Rxtx] RXTX lock problem Message-ID: <29453.1053429652@www63.gmx.net> Hi altogether, I'm using the latest stable RXTX version and have one problem: Although my java application exits without any problem, i cannot start the application again (cannot open the serial port again) unless i delete /var/spool/locks/LOCK... am i doing something wrong or is this a bug? i sadly cannot checkout the latest version of rxtx cause in my company we have only http access and the lates preview version is on a ftp server.. thanks in advance, Benjamin -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From laurent.vaills at dms.at Tue May 20 05:27:19 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 20 May 2003 13:27:19 +0200 Subject: [Rxtx] RXTX lock problem In-Reply-To: <29453.1053429652@www63.gmx.net> References: <29453.1053429652@www63.gmx.net> Message-ID: <1053430040.18249.13.camel@neo.sophia.dms.at> Hello Benjamin. On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > Hi altogether, > > I'm using the latest stable RXTX version and have one problem: > Although my java application exits without any problem, i cannot start the > application again (cannot open the serial port again) unless i delete > /var/spool/locks/LOCK... > > am i doing something wrong or is this a bug? Check if did not forget to close your SerialPort object before exiting your application. Regards, Laurent From Benjamin.Sommerfeld at gmx.de Tue May 20 05:51:39 2003 From: Benjamin.Sommerfeld at gmx.de (Benjamin Sommerfeld) Date: Tue, 20 May 2003 13:51:39 +0200 (MEST) Subject: [Rxtx] RXTX lock problem References: <1053430040.18249.13.camel@neo.sophia.dms.at> Message-ID: <4802.1053431499@www63.gmx.net> > Hello Benjamin. > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > Hi altogether, > > > > I'm using the latest stable RXTX version and have one problem: > > Although my java application exits without any problem, i cannot start > the > > application again (cannot open the serial port again) unless i delete > > /var/spool/locks/LOCK... > > > > am i doing something wrong or is this a bug? > > Check if did not forget to close your SerialPort object before exiting > your application. thanks a lot, that was the problem > > Regards, > Laurent > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage! From taj at linuxgrrls.org Tue May 20 06:00:33 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Tue, 20 May 2003 13:00:33 +0100 (BST) Subject: [Rxtx] RXTX lock problem In-Reply-To: <4802.1053431499@www63.gmx.net> References: <1053430040.18249.13.camel@neo.sophia.dms.at> <4802.1053431499@www63.gmx.net> Message-ID: On Tue, 20 May 2003, Benjamin Sommerfeld wrote: > > Hello Benjamin. > > > > On Tue, 2003-05-20 at 13:20, Benjamin Sommerfeld wrote: > > > Hi altogether, > > > > > > I'm using the latest stable RXTX version and have one problem: > > > Although my java application exits without any problem, i cannot start > > the > > > application again (cannot open the serial port again) unless i delete > > > /var/spool/locks/LOCK... > > > > > > am i doing something wrong or is this a bug? > > > > Check if did not forget to close your SerialPort object before exiting > > your application. > > thanks a lot, that was the problem You may want to double check that your Java application is indeed exiting. The lock code will remove stale lock files if there is no PID hanging around thats associated with the lock file. From fredm at alum.mit.edu Wed May 21 06:15:52 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 08:15:52 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? Message-ID: Hey all, Did Apple's latest 10.2.6 update break things? I installed it about a week ago and I'm just noticing that javax.comm doesn't work ... no serial ports found. 10.2.5 was fine. Can anyone confirm or offer solution? Fred From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From moritz.gmelin at gmx.de Wed May 21 06:23:52 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 14:23:52 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <15146072-8B87-11D7-8B27-000393719396@gmx.de> I just used rxtx with 10.2.6 so no problem for me. M. Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Hey all, > > Did Apple's latest 10.2.6 update break things? I installed it about a > week ago and I'm just noticing that javax.comm doesn't work ... no > serial ports found. 10.2.5 was fine. > > Can anyone confirm or offer solution? > > Fred > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 07:40:05 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 09:40:05 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <15146072-8B87-11D7-8B27-000393719396@gmx.de> Message-ID: Ahah, wait I also upgraded to Apple's latest Java! Are you running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) ? urgh... I tried reinstalling rxtx, and now I'm getting errors like the following with code that previously worked: *** malloc[434]: error for object 0xa0240: Object already freed being freed Exception in thread "main" java.lang.UnsatisfiedLinkError: native_psmisc_report_owner at javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native Method) at javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) at Serial.loadPortList(Serial.java:180) at Serial.(Serial.java:55) at HC11Boot.setup(HC11Boot.java:48) at HC11Boot.main(HC11Boot.java:14) Fred On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > I just used rxtx with 10.2.6 so no problem for me. > > M. > > Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Hey all, >> >> Did Apple's latest 10.2.6 update break things? I installed it about >> a week ago and I'm just noticing that javax.comm doesn't work ... no >> serial ports found. 10.2.5 was fine. >> >> Can anyone confirm or offer solution? >> >> Fred >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: HAA291681053519848 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From moritz.gmelin at gmx.de Wed May 21 07:43:11 2003 From: moritz.gmelin at gmx.de (Moritz Gmelin) Date: Wed, 21 May 2003 15:43:11 +0200 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: Message-ID: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> yep. Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred G.Martin: > Ahah, wait I also upgraded to Apple's latest Java! > > Are you running: > > java version "1.4.1_01" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) > Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) > > ? urgh... > > I tried reinstalling rxtx, and now I'm getting errors like the > following with code that previously worked: > > *** malloc[434]: error for object 0xa0240: Object already freed being > freed > Exception in thread "main" java.lang.UnsatisfiedLinkError: > native_psmisc_report_owner > at > javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > Method) > at > javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) > at Serial.loadPortList(Serial.java:180) > at Serial.(Serial.java:55) > at HC11Boot.setup(HC11Boot.java:48) > at HC11Boot.main(HC11Boot.java:14) > > > Fred > > > > On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: > >> I just used rxtx with 10.2.6 so no problem for me. >> >> M. >> >> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >> G.Martin: >> >>> Hey all, >>> >>> Did Apple's latest 10.2.6 update break things? I installed it about >>> a week ago and I'm just noticing that javax.comm doesn't work ... no >>> serial ports found. 10.2.5 was fine. >>> >>> Can anyone confirm or offer solution? >>> >>> Fred >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> >> ---------------------------------------------- >> Filtered by despammed.com. Tracer: HAA291681053519848 >> Remember: you can forward any spam that slips through the filters >> to the abuse desk here at Despammed. >> >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > From fredm at alum.mit.edu Wed May 21 08:43:57 2003 From: fredm at alum.mit.edu (Fred G.Martin) Date: Wed, 21 May 2003 10:43:57 -0400 Subject: [Rxtx] did 10.2.6 break rxtx? In-Reply-To: <29E10C6C-8B92-11D7-8B27-000393719396@gmx.de> Message-ID: Update: After some private exchanges with Moritz, I got things running. I removed all files and ran the RXTX_Jag.pkg installer from the 2.0.5 dist, and then I checked if all files were where they should be. There was no javax.comm.properties file in ../JavaVM.framework/Home/lib/ after the installer had run. So I manually created one, and then all was well. I believe javax.comm.properties file got trashed when I upgraded the Java version. Fred On Wednesday, May 21, 2003, at 09:43 AM, Moritz Gmelin wrote: > yep. > > > Am Mittwoch, 21.05.03, um 15:40 Uhr (Europe/Berlin) schrieb Fred > G.Martin: > >> Ahah, wait I also upgraded to Apple's latest Java! >> >> Are you running: >> >> java version "1.4.1_01" >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39) >> Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode) >> >> ? urgh... >> >> I tried reinstalling rxtx, and now I'm getting errors like the >> following with code that previously worked: >> >> *** malloc[434]: error for object 0xa0240: Object already freed being >> freed >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> native_psmisc_report_owner >> at >> javax.comm.CommPortIdentifier.native_psmisc_report_owner(Native > >> Method) >> at >> javax.comm.CommPortIdentifier.open(CommPortIdentifier.java:344) >> at Serial.loadPortList(Serial.java:180) >> at Serial.(Serial.java:55) >> at HC11Boot.setup(HC11Boot.java:48) >> at HC11Boot.main(HC11Boot.java:14) >> >> >> Fred >> >> >> >> On Wednesday, May 21, 2003, at 08:23 AM, Moritz Gmelin wrote: >> >>> I just used rxtx with 10.2.6 so no problem for me. >>> >>> M. >>> >>> Am Mittwoch, 21.05.03, um 14:15 Uhr (Europe/Berlin) schrieb Fred >>> G.Martin: >>> >>>> Hey all, >>>> >>>> Did Apple's latest 10.2.6 update break things? I installed it >>>> about a week ago and I'm just noticing that javax.comm doesn't work >>>> ... no serial ports found. 10.2.5 was fine. >>>> >>>> Can anyone confirm or offer solution? >>>> >>>> Fred >>>> >>>> _______________________________________________ >>>> Rxtx mailing list >>>> Rxtx at linuxgrrls.org >>>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>>> >>> >>> _______________________________________________ >>> Rxtx mailing list >>> Rxtx at linuxgrrls.org >>> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >>> >>> ---------------------------------------------- >>> Filtered by despammed.com. Tracer: HAA291681053519848 >>> Remember: you can forward any spam that slips through the filters >>> to the abuse desk here at Despammed. >>> >>> >> >> _______________________________________________ >> Rxtx mailing list >> Rxtx at linuxgrrls.org >> http://undine.linuxgrrls.org/mailman/listinfo/rxtx >> > > _______________________________________________ > Rxtx mailing list > Rxtx at linuxgrrls.org > http://undine.linuxgrrls.org/mailman/listinfo/rxtx > > ---------------------------------------------- > Filtered by despammed.com. Tracer: IAA144561053524600 > Remember: you can forward any spam that slips through the filters > to the abuse desk here at Despammed. > > From dmccarthy at fexco.ie Thu May 22 04:44:27 2003 From: dmccarthy at fexco.ie (Denis McCarthy) Date: Thu, 22 May 2003 11:44:27 +0100 Subject: [Rxtx] rxtx & multimodem card Message-ID: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Hi, I've been using rxtx successfully with the serial port on the motherboard for a while now (generic intel architecture, running RH8). I recently received a digi EPCA 8 port multiport card (part id 40001450-R) which was installed successfully by kudzu onto the system, creating ttyD000 - ttyD008 nodes in /dev. I can communicate with modems attached to these ports normally with minicom. However, RXTX cannot see these ports! When I do an 'Enumeration e = gnu.io.CommPortIdentifier.getPortIdentifiers();', the new ports are not recognized, and only the old ttyS0 and the parrel port are returned in the Enumeration. I'm wondering has anyone got RXTX to work with multiport cards on intel linux (doesn't matter what port card, I can get a different one if required) and how did they get RXTX to recognize that new serial ports had been added to the system? - Would reinstalling RXTX or running a different distro make any difference? Thanks and Regards Denis McCarthy ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify your system administrator. This footnote also confirms that this email message has been checked for the presence of computer viruses. www.fexco.com ********************************************************************** From taj at linuxgrrls.org Thu May 22 08:53:06 2003 From: taj at linuxgrrls.org (Trent Jarvi) Date: Thu, 22 May 2003 15:53:06 +0100 (BST) Subject: [Rxtx] rxtx & multimodem card In-Reply-To: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> References: <0BEBF0D84B489643952C3148987916527F9757@koe2k1.fexco.ie> Message-ID: RXTX will not see the ports by default. Those kernel nuts support every card you can imagine and enumerating them all started to become a real issue. Not to worry though. If you look in RXTXCommDriver.java you will see (by searching for ttyS and ttyD) that it is easy to add support for some or all cards. It was not an easy choice to go with just ttyS but it was becomming a problem to enumerate all card types. You can also use sy